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

Error when running train.py #5

Open
graham-eisele opened this issue Feb 2, 2020 · 0 comments
Open

Error when running train.py #5

graham-eisele opened this issue Feb 2, 2020 · 0 comments

Comments

@graham-eisele
Copy link

Command: train.py --train_A_dir data/A --train_B_dir data/B --model_dir output --model_name model01 --validation_A_dir none --validation_B_dir none

OS: Windows 10

Error: Traceback (most recent call last):
File "C:\Users\Graham\Documents\Voice_Converter_CycleGAN-master\train.py", line 196, in
train(train_A_dir = train_A_dir, train_B_dir = train_B_dir, model_dir = model_dir, model_name = model_name, random_seed = random_seed, validation_A_dir = validation_A_dir, validation_B_dir = validation_B_dir, output_dir = output_dir, tensorboard_log_dir = tensorboard_log_dir)
File "C:\Users\Graham\Documents\Voice_Converter_CycleGAN-master\train.py", line 76, in train
model = CycleGAN(num_features = num_mcep)
File "C:\Users\Graham\Documents\Voice_Converter_CycleGAN-master\model.py", line 29, in init
self.writer = tf.summary.FileWriter(self.log_dir, tf.get_default_graph())
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\summary\writer\writer.py", line 367, in init
filename_suffix)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\summary\writer\event_file_writer.py", line 67, in init
gfile.MakeDirs(self._logdir)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 438, in recursive_create_dir
recursive_create_dir_v2(dirname)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 453, in recursive_create_dir_v2
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(path))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./log\20200202-113340; No such file or 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