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
I tried to train it, with using command you mentioned
python train.py new -af par/arch.basic.json -tf par/train.basic.json -nb 4 -si 1000 -vqn 1000 $run_dir/model%.ckpt $run_dir/librispeech.dev-clean.dat $run_dir/data_slices.dat
However, It causes train.py new: error: unrecognized arguments: data_slices.dat error.
there is no data_slices.dat file in here.
I just deleted that file and tried to execute it. but I found out another error mentioned in 2
I found out that in vq_bn.py StopGrad, ReplaceGrad is not imported in your code. so I used from vqema_bn import StopGrad, ReplaceGrad on top of the code. However, I can't find any sources that import L2Error. How can I import it? I want to resolve NameError: name 'L2Error' is not defined error
The text was updated successfully, but these errors were encountered:
dizwe
changed the title
L2Error is not defined error
train command and L2Error is not defined error
Nov 30, 2019
Hi @dizwe , apologies for not noting in the README more clearly, but this project is still under construction and unfortunately there is too much that is changing at the moment. I'm actively working on it though, at the moment trying to port it to run on TPU, which is likely necessary to get the speed needed to train to completion.
I'll update the README again when I get it working on TPU.
I tried to train it, with using command you mentioned
python train.py new -af par/arch.basic.json -tf par/train.basic.json -nb 4 -si 1000 -vqn 1000 $run_dir/model%.ckpt $run_dir/librispeech.dev-clean.dat $run_dir/data_slices.dat
However, It causes
train.py new: error: unrecognized arguments: data_slices.dat
error.there is no data_slices.dat file in here.
I just deleted that file and tried to execute it. but I found out another error mentioned in 2
ae-wavenet/vq_bn.py
Line 70 in 77d1a90
I found out that in vq_bn.py StopGrad, ReplaceGrad is not imported in your code. so I used
from vqema_bn import StopGrad, ReplaceGrad
on top of the code. However, I can't find any sources that import L2Error. How can I import it? I want to resolve NameError: name 'L2Error' is not defined errorThe text was updated successfully, but these errors were encountered: