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
I ran python mnist_cnn_train.py in terminal and the terminal returned
Optimization` Finished!
test accuracy for the stored model: 0.9932
Training logs are saved in "logs/train" , however, there is no trained model saved as "model/model01_99.61/model.ckpt" or in other directories. When I run python mnist_cnn_test.py --model-dir model/model01_99.61 --batch-size 5000 --use-ensemble False and it returns an error message:
If you use Windows, you should run "python mnist_cnn_test.py --model-dir /model/model01_99.61 --batch-size 5000 --use-ensemble True"
All you have to do is add a '/' before "model"
Then your code can run.
I ran
python mnist_cnn_train.py
in terminal and the terminal returnedTraining logs are saved in "logs/train" , however, there is no trained model saved as "model/model01_99.61/model.ckpt" or in other directories. When I run
python mnist_cnn_test.py --model-dir model/model01_99.61 --batch-size 5000 --use-ensemble False
and it returns an error message:Where is the problem?
The text was updated successfully, but these errors were encountered: