Skip to content
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

Hello, I'm getting an error when I run the code InitialisingTarget. #7

Open
guest-oo opened this issue Mar 25, 2024 · 0 comments
Open

Comments

@guest-oo
Copy link

save_path = saver.save(sess, checkpointFile)

File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\training\saver.py", line 1326, in save
self.export_meta_graph(
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\training\saver.py", line 1373, in export_meta_graph
return export_meta_graph(
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\training\saver.py", line 1713, in export_meta_graph
meta_graph_def, _ = meta_graph.export_scoped_meta_graph(
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 1031, in export_scoped_meta_graph
graph_io.write_graph(
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\framework\graph_io.py", line 75, in write_graph
file_io.recursive_create_dir(logdir)
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 498, in recursive_create_dir
recursive_create_dir_v2(dirname)
File "D:\anconda\envs\pytorch\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 513, in recursive_create_dir_v2
_pywrap_file_io.RecursivelyCreateDir(compat.path_to_bytes(path))
tensorflow.python.framework.errors_impl.FailedPreconditionError: NewCheckpoints is not a directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant