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

Run the code #9

Open
rustik-9704 opened this issue May 4, 2020 · 1 comment
Open

Run the code #9

rustik-9704 opened this issue May 4, 2020 · 1 comment

Comments

@rustik-9704
Copy link

Hello!
Can anyone explain to a newbie how to run this code? I'm using pycharm. Sepcifically, they say: to run the code, we have to run this
python train_audio.py --data_path PATH_TO_TRAINING_DATA --experiment_name EXPERIMENT_NAME --save_freq SAVE_FREQ --test_path_A PATH_TO_TEST_AUDIO --test_path_B PATH_TO_TEST_AUDIO --batch_size BATCH_SIZE --save_dir PATH_TO_SAVE_MODEL

What should I do to run it on my computer. What is each piece responsible for?

@rustik-9704
Copy link
Author

Hello! Could you please help me figure out. When I run the code, I get the following error
C:\Users\student\PycharmProjects\Audiovisual-Synthesis>python train_audio.py --data_path C:\Users\student\Homework\project\p225_003.wav --experiment_name VC_e
xample_run --save_freq 2000 --test_path_A C:\Users\student\Homework\project\p226_005.wav --test_path_B C:\Users\student\Homework\project\p227_011.wav --batch_size 4
--save_dir C:\Users\student\Homework\project\save_models
2020-05-22 23:35:19.793865: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
File "train_audio.py", line 6, in
from data.Sample_dataset import MultiAudio
File "C:\Users\student\PycharmProjects\Audiovisual-Synthesis\data_init_.py", line 4, in
from audioUtils.hparams import hparams
File "C:\Users\student\PycharmProjects\Audiovisual-Synthesis\audioUtils\hparams.py", line 1, in
from tensorflow.contrib.training import HParams
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib_init_.py", line 37, in
from tensorflow.contrib import cudnn_rnn
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn_init_.py", line 38, in
from tensorflow.contrib.cudnn_rnn.python.layers import *
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn\python\layers_init_.py", line 23, in
from tensorflow.contrib.cudnn_rnn.python.layers.cudnn_rnn import *
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn\python\layers\cudnn_rnn.py", line 20, in
from tensorflow.contrib.cudnn_rnn.python.ops import cudnn_rnn_ops
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn\python\ops\cudnn_rnn_ops.py", line 22, in
from tensorflow.contrib.rnn.python.ops import lstm_ops
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\rnn_init_.py", line 90, in
from tensorflow.contrib.rnn.python.ops.gru_ops import *
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\rnn\python\ops\gru_ops.py", line 20, in
from tensorflow.contrib.rnn.ops import gen_gru_ops
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\contrib\rnn\ops\gen_gru_ops.py", line 174, in
_ops.RegisterShape("GRUBlockCell")(None)
AttributeError: module 'tensorflow.python.framework.ops' has no attribute 'RegisterShape'

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