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
Using cuDNN version 5110 on context None
Mapped name None to device cuda: GeForce GTX 1050 (0000:01:00.0)
Start
Done loading data, using 0:00:00.252650.
Start initializing RNN...
Done constructing the recurrent nueral network.
Start training RNN...
Traceback (most recent call last):
File "run_RNN.py", line 228, in <module>
main()
File "run_RNN.py", line 224, in main
batchsize=1, epoch=100, save_prob=True)
File "run_RNN.py", line 202, in run_RNN_model
int_str_map, dropout_rate, batchsize, epoch, valid_ratio)
File "run_RNN.py", line 137, in train_RNN
valid_speakers = rand_speakers[:valid_n]
TypeError: slice indices must be integers or None or have an __index__ method
Did the following fix(line 134):
valid_n = int(round(len(speakers) * valid_ratio))
Now network seems to train, not sure about the results:
BTW, Also, could not start with numpy 1.11.1 from requirements.txt, needed to upgrade to 1.13 and Theano 0.9. (Ubuntu 16.04). Had the following error message and fail to import numpy:
RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
(however, looks like virtualenv on my system tries to access global packages, i.e. Theano 0.9, as it immediately used GPU after installation. So do not report that as a separate issue).
The text was updated successfully, but these errors were encountered:
Did the following fix(line 134):
Now network seems to train, not sure about the results:
BTW, Also, could not start with numpy 1.11.1 from requirements.txt, needed to upgrade to 1.13 and Theano 0.9. (Ubuntu 16.04). Had the following error message and fail to import numpy:
(however, looks like virtualenv on my system tries to access global packages, i.e. Theano 0.9, as it immediately used GPU after installation. So do not report that as a separate issue).
The text was updated successfully, but these errors were encountered: