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

mnist_lenet5_backward:tensorflow.python.framework.errors_impl.UnknownError: Failed to rename #3

Open
yuangezhizao opened this issue Mar 24, 2019 · 0 comments

Comments

@yuangezhizao
Copy link

大佬们谁知道这个如何解决?

After 47001 training step(s), loss on training batch is 0.654984.
Traceback (most recent call last):
  File "D:/yuangezhizao/Documents/PycharmProjects/Tensorflow-Study/7_2/mnist_lenet5_backward.py", line 82, in <module>
    main()
  File "D:/yuangezhizao/Documents/PycharmProjects/Tensorflow-Study/7_2/mnist_lenet5_backward.py", line 78, in main
    backward(mnist)
  File "D:/yuangezhizao/Documents/PycharmProjects/Tensorflow-Study/7_2/mnist_lenet5_backward.py", line 73, in backward
    saver.save(sess, os.path.join(MODEL_SAVE_PATH, MODEL_NAME), global_step=global_step)
  File "C:\Python37\lib\site-packages\tensorflow\python\training\saver.py", line 1181, in save
    save_relative_paths=self._save_relative_paths)
  File "C:\Python37\lib\site-packages\tensorflow\python\training\checkpoint_management.py", line 242, in update_checkpoint_state_internal
    text_format.MessageToString(ckpt))
  File "C:\Python37\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 547, in atomic_write_string_to_file
    rename(temp_pathname, filename, overwrite)
  File "C:\Python37\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 508, in rename
    rename_v2(oldname, newname, overwrite)
  File "C:\Python37\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 526, in rename_v2
    compat.as_bytes(src), compat.as_bytes(dst), overwrite, status)
  File "C:\Python37\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.UnknownError: Failed to rename: ./model\checkpoint.tmpec679952c87543f1adbd45d8f61ca058 to: ./model\checkpoint : \udcbeܾ\udcf8\udcb7\udcc3\udcceʡ\udca3
; Input/output error

Process finished with exit code 1
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