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

NotFoundError: Failed to create a directory: outputs/tensorboard/TrafficSign/c1s_5_c2n_64_lr_0.0001_c1vl_16_rs_1_c2vl_32_c1nf_16_c1s_9_c1n_256_c2d_0.7_c2s_6-train--TrafficSign--1537421960.3313408; No such file or directory #2

Closed
Sajjadmanal opened this issue Sep 20, 2018 · 1 comment

Comments

@Sajjadmanal
Copy link

Sajjadmanal commented Sep 20, 2018

Hi,

I am trying to implement this ( https://github.com/dineshresearch/Novel-Deep-Learning-Model-for-Traffic-Sign-Detection-Using-Capsule-Networks/blob/master/Traffic_Sign_Classifier-test.ipynb ) but getting the below error when I initialize this model:
`---------------------------------------------------------------------------

NotFoundError Traceback (most recent call last)
in ()
1 # Init model
2 model = ModelTrafficSign("TrafficSign", output_folder="outputs")
----> 3 model.init()

in init(self)
143 self.tf_test = tf.random_uniform([2], minval=0, maxval=None, dtype=tf.float32, seed=None, name="tf_test")
144
--> 145 self.init_session()
146
147

~\Desktop\Novel-Deep-Learning-Model-for-Traffic-Sign-Detection-Using-Capsule-Networks-master\model_base.py in init_session(self)
142 test_log_name = os.path.join(
143 os.path.join(self.output_folder, "tensorboard"), self.name, self.sub_test_log_name)
--> 144 self.train_writer = tf.summary.FileWriter(train_log_name, self.sess.graph)
145 self.test_writer = tf.summary.FileWriter(test_log_name)
146 self.train_writer_it = 0

~\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\summary\writer\writer.py in init(self, logdir, graph, max_queue, flush_secs, graph_def, filename_suffix, session)
364 else:
365 event_writer = EventFileWriter(logdir, max_queue, flush_secs,
--> 366 filename_suffix)
367 super(FileWriter, self).init(event_writer, graph, graph_def)
368

~\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\summary\writer\event_file_writer.py in init(self, logdir, max_queue, flush_secs, filename_suffix)
65 self._logdir = logdir
66 if not gfile.IsDirectory(self._logdir):
---> 67 gfile.MakeDirs(self._logdir)
68 self._event_queue = six.moves.queue.Queue(max_queue)
69 self._ev_writer = pywrap_tensorflow.EventsWriter(

~\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\lib\io\file_io.py in recursive_create_dir(dirname)
377 """
378 with errors.raise_exception_on_not_ok_status() as status:
--> 379 pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)
380
381

~\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\errors_impl.py in exit(self, type_arg, value_arg, traceback_arg)
517 None, None,
518 compat.as_text(c_api.TF_Message(self.status.status)),
--> 519 c_api.TF_GetCode(self.status.status))
520 # Delete the underlying status object from memory otherwise it stays alive
521 # as there is a reference to status from this from the traceback due to

NotFoundError: Failed to create a directory: outputs/tensorboard/TrafficSign/c1s_5_c2n_64_lr_0.0001_c1vl_16_rs_1_c2vl_32_c1nf_16_c1s_9_c1n_256_c2d_0.7_c2s_6-train--TrafficSign--1537421960.3313408; No such file or directory

`

Could you please help?

@Sajjadmanal
Copy link
Author

Closing the issue as it occurred due to large length of the folder name.

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