You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, authors,
Thank you for open sourcing this great repository.
I ran python train.py --config config.yaml, and got this error: FileNotFoundError: [Errno 2] No such file or directory: ''
Traceback (most recent call last):
File "/home/wschoi/PycharmProjects/WSRGlow/train.py", line 345, in <module>
WaveGlowTask4.start()
File "/home/wschoi/PycharmProjects/WSRGlow/train.py", line 274, in start
period=1 if hparams['save_ckpt'] else 100000
File "/home/wschoi/PycharmProjects/WSRGlow/training_utils.py", line 23, in __init__
os.makedirs(filepath, exist_ok=True)
File "/home/wschoi/miniconda3/envs/wsrglow/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''
Process finished with exit code 1
I guess this error was occurred because args_work_dir was set to '' unless args.exp_name is not a default value.
Hi, authors,
Thank you for open sourcing this great repository.
I ran
python train.py --config config.yaml
, and got this error: FileNotFoundError: [Errno 2] No such file or directory: ''I guess this error was occurred because
args_work_dir
was set to '' unlessargs.exp_name
is not a default value.WSRGlow/hparams.py
Lines 39 to 42 in 1b8fc49
and then,
hparams_['work_dir']
is set toargs_work_dir
regardless ofwork_dir
ofconfig.yaml
.WSRGlow/hparams.py
Lines 84 to 86 in 1b8fc49
TLDR;
This error is occurred only when
args.exp_name == ''
.For those who want to quickly reproduce
train.py
I would recommend a script like below.python train.py --config config.yaml --config config.yaml --exp_name WSRGlow
The text was updated successfully, but these errors were encountered: