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

checkpoints/graph.pbtxt.tmp42daeacf7f0940dda01ecbfa596c1215; Read-only file system #82

Open
chinmayabhatb opened this issue May 3, 2018 · 0 comments

Comments

@chinmayabhatb
Copy link

2018-05-03 11:50:18.112490: E tensorflow/core/util/events_writer.cc:104] Write failed because file could not be opened.
Traceback (most recent call last):
File "train.py", line 46, in
tf.app.run()
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "train.py", line 43, in main
sfm.train(FLAGS)
File "/media/chinmaya/large volume/tried codes/SfMLearner-master/SfMLearner.py", line 221, in train
with sv.managed_session(config=config) as sess:
File "/home/chinmaya/anaconda3/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/supervisor.py", line 1000, in managed_session
self.stop(close_summary_writer=close_summary_writer)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/supervisor.py", line 828, in stop
ignore_live_threads=ignore_live_threads)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "/home/chinmaya/.local/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/supervisor.py", line 989, in managed_session
start_standard_services=start_standard_services)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/supervisor.py", line 727, in prepare_or_wait_for_session
self._write_graph()
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/training/supervisor.py", line 630, in _write_graph
self._logdir, "graph.pbtxt")
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/framework/graph_io.py", line 71, in write_graph
text_format.MessageToString(graph_def))
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 429, in atomic_write_string_to_file
write_string_to_file(temp_pathname, contents)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 309, in write_string_to_file
f.write(file_content)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 103, in write
self._prewrite_check()
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 89, in _prewrite_check
compat.as_bytes(self.__name), compat.as_bytes(self.__mode), status)
File "/home/chinmaya/.local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 519, in exit
c_api.TF_GetCode(self.status.status))
m getting this error after running the train.py code ..pls help me to resolve

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