Saver not working
See original GitHub issueI believe the file train.py and line#151 : os.rename(path, trained_dir + 'best_model.ckpt') needs to be updated for 1.2. The path variable is missing the extension of the file ? not sure. Is the any other way to fix it ?
AND
predict.py line 109,110, and 111 needs to be updated as well.
checkpoint_file = trained_dir + ‘best_model.ckpt’ saver = tf.train.Saver(tf.all_variables()) saver = tf.train.import_meta_graph(“{}.meta”.format(checkpoint_file[:-5]))`
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11
Top Results From Across the Web
Battery Saver not working on Windows Laptop
Battery Saver not working on Windows Laptop ; Use Settings to turn on Battery Saver; Run Power Troubleshooter; Restore default Power Settings.
Read more >How To Fix Battery Saver Mode Not Working In Windows 10 ...
Fix Battery Saver Mode In Settings Click on Battery. Step-4: When the battery settings open up, an on/off toggle switch underneath the battery...
Read more >Battery saver button not working - Microsoft Community
Hi there,. After the latest update in May 2020, i cant turned on the battery saver mode from the battery icon as shown...
Read more >Screensaver not working in Windows 11/10 - YouTube
Screensavers are moving visuals that appear on your system's screen after the system has been idle for a while. However, at times the ......
Read more >2022 Guide to Fix Screen Saver not working in Windows 10 ...
Check article with full guide : http://windowsreport.com/screen- saver - not-working -windows-10/▻ Try out Restoro to Repair your PC in no ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I got it to work. You need to do two things: Step 1. Update the files to newer version using these instructions: https://www.tensorflow.org/install/migration
Step 2: I used the “last_checkpoints” restore method as described here: https://www.tensorflow.org/api_docs/python/tf/train/Saver
That seem to have done the trick for me.
Thanks, it was still very picky about the training sample size I used, but I got it working with your code. Helped a ton!