Error when freezing a model #270
Unanswered
Xi-yuanWang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used command "dp freeze -o graph.pb" to freeze my model, but an error raised.
Traceback (most recent call last):
File "/nfs-share/home/1800011848/miniconda3/bin/dp", line 10, in
sys.exit(main())
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/main.py", line 68, in main
freeze(args)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/freeze.py", line 89, in freeze
freeze_graph(args.folder, args.output, args.nodes)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/freeze.py", line 65, in freeze_graph
saver.restore(sess, input_checkpoint)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/tensorflow/python/training/saver.py", line 1290, in restore
raise ValueError("The passed save_path is not a valid checkpoint: " +
ValueError: The passed save_path is not a valid checkpoint: /nfs-share/home/1800011848/dp_bayes/axis=8/fitting=[30-30-30]/embedding=[12-25-50]/model.ckpt
Beta Was this translation helpful? Give feedback.
All reactions