You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Training on .Net 6 basically not working, but on .Net 5 all is good.
TensorFlowNet.Examples(MNIST CNN (Eager)):
.Net 5:
step:10,loss:25,200823,accuracy:0,75step:20,loss:17,497072,accuracy:0,8125step:30,loss:4,7848167,accuracy:0,96875step:40,loss:11,228649,accuracy:0,90625step:50,loss:8,46461,accuracy:0,90625step:60,loss:12,897742,accuracy:0,875step:70,loss:5,8186455,accuracy:0,90625step:80,loss:1,6474819,accuracy:1step:90,loss:5,5969973,accuracy:0,90625
Test Accuracy:0,918.11.202100:18:13 Completed MNISTCNN(Eager)Example:MNISTCNN(Eager) in 4,7636146sisOK!
.Net 6:
step:10,loss:73,61097,accuracy:0,125step:20,loss:74,02429,accuracy:0,03125step:30,loss:73,439026,accuracy:0,03125step:40,loss:73,71028,accuracy:0,0625step:50,loss:73,987946,accuracy:0,125step:60,loss:73,33862,accuracy:0,15625step:70,loss:72,83645,accuracy:0,21875step:80,loss:73,17415,accuracy:0,21875step:90,loss:73,84353,accuracy:0,09375
Test Accuracy:0,1118.11.202100:19:28 Completed MNISTCNN(Eager)Example:MNISTCNN(Eager) in 4,4328711sisFailed!
Found some clue, the root cause is from the np.Load_Npz function. It doesn't return correct numbers in .NET 6.0.
I'll continue to do some research on this issue.
Training on .Net 6 basically not working, but on .Net 5 all is good.
TensorFlowNet.Examples(MNIST CNN (Eager)):
.Net 5:
.Net 6:
Custom CNN code:
.Net 5:
.Net 6:
System info
OS: Manjaro linux(arch-based), Windows 10
The text was updated successfully, but these errors were encountered: