-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading CHECKPOINT #263
Comments
Are you sure you're using this API correctly? According to the Saver documentation, the path parameter is not a complete filename but a "path prefix of the newly created checkpoint files". |
More specifically, the relevant files are: The exception occurred when I put these 4 checkpoint files in the folder cnn_trainer_saver. If I remove |
Unless this behaviour is different on Chaquopy than it is on other platforms, I think this is a question about TensorFlow rather than Chaquopy. I'm not an expert on TensorFlow, so you should ask on the TensorFlow GitHub page, or on StackOverflow. |
I saw issue #144 . However, I still get a NotFoundError(/data/user/0/com.arvinzjc.xshielder/files/chaquopy/AssetFinder/app/cnn_trainer_saver; No such file or directory) in my project.
The relevant files are:
src/main/python/code.py
src/main/python/cnn_trainer_saver/cnn_trainer.ckpt
The relevant code is:
tf.train.Saver().restore(session, os.path.join(os.path.dirname(__file__), 'cnn_trainer_saver', 'cnn_trainer.ckpt'))
The text was updated successfully, but these errors were encountered: