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, can you help me please, seems like there is something went wrong while running generation:
python generate.py
Using Theano backend.
Loading training data
Finished loading training data
Starting generation!
Traceback (most recent call last):
File "generate.py", line 59, in <module>
sequence_length=max_seq_len, data_variance=X_var, data_mean=X_mean)
File "/home/p0123n/projects/GRUV/gen_utils/sequence_generator.py", line 14, in generate_from_seed
seedSeqNew = model._predict(seedSeq) #Step 1. Generate X_n + 1
File "/usr/local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 383, in __call__
assert type(inputs) in {list, tuple}
AssertionError
theano_backend.py wants to get one of "list" or "tuple" type, but gets "numpy.ndarray".
Running generate.py on current master (rev 2dc0895) after convert_directory.py and then train.py with custom mp3 sample.
Software versions:
Theano 0.7.0
Keras 0.3.2
NumPy 1.10.4
SciPy 0.17.0
Python 2.7.11
Do you have any ideas how to fix it?
The text was updated successfully, but these errors were encountered:
I have the same error. I just go to line 13 of GRUV_master/gen_utils/sequence_generator.py and delete "_" in "seedSeqNew = model._predict(seedSeq) ". I don't know the reason why this problem occurs, but it works for me now.
Hi, can you help me please, seems like there is something went wrong while running generation:
theano_backend.py wants to get one of "list" or "tuple" type, but gets "numpy.ndarray".
Running generate.py on current master (rev 2dc0895) after convert_directory.py and then train.py with custom mp3 sample.
Software versions:
Do you have any ideas how to fix it?
The text was updated successfully, but these errors were encountered: