Closed
Description
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 theTensorFlowNET.Examples
project fromnet5.0
tonet6.0
. - Clean, rebuild, and run the
Fully Connected Neural Network (Keras)
example. - Observe accuracy has dropped to ~
0.098
.