Skip to content

Support .NET 6 #62

Closed
Closed
@jimn-purecars

Description

@jimn-purecars

The FullyConnectedKeras example in the TensorFlowNET.Examples project runs properly with a target framework of net5.0, with an accuracy around 95%. But if you change the target framework to net6.0, the accuracy plummets to <10%. It isn't clear what the root cause is.

I discovered this when I tried to transplant this code to my .NET 6 project. It appears there is some sort of regression or bug that is tanking the accuracy in .NET 6 only.

Steps to Reproduce:

  • Change the TargetFramework of the TensorFlowNET.Examples project from net5.0 to net6.0.
  • Clean, rebuild, and run the Fully Connected Neural Network (Keras) example.
  • Observe accuracy has dropped to ~0.098.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions