How to call MnistDataSet.read_data_sets #1138
-
Hi, I have a sample code which used MNIST dataset, using keras.datasets.mnist.load_data(); I updated drivers, cuda, cudnn, the packages to their latest version, changed OptimizerV2 to IOptimizer where needed. I get this error:
I came to the docs (on readthedocs.io) which mentions the following code instead: mnist = MnistDataSet.read_data_sets("mnist", one_hot: true); But this method (read_data_sets) seems unknown from the current TF.Net source, which looks weird because it was a convenient way of getting it. Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, the following is a minimal example of training using the Mnist dataset , I hope it will help you. TensorFlow.NET/test/TensorFlowNET.Keras.UnitTest/Layers/Rnn.Test.cs Lines 61 to 79 in a95005f BTW, since TensorFlow.NET has relatively few developers, its documentation is not very detailed, so I recommend you to read more test cases. ^_^ |
Beta Was this translation helpful? Give feedback.
-
BTW, I tested |
Beta Was this translation helpful? Give feedback.
Hello, the following is a minimal example of training using the Mnist dataset , I hope it will help you.
TensorFlow.NET/test/TensorFlowNET.Keras.UnitTest/Layers/Rnn.Test.cs
Lines 61 to 79 in a95005f