Open byeongcheoljo opened 7 years ago
Which version of Chainer are you using? Since many internal architectures of Chainer had been dramatically changed by the ver. 1.5 update, basically all code in the "1.4" directory cannot be run on 1.5 or later versions. These code are kept by only some historical reasons and I never update them in further commits. If you need to use these code, please refer to the official document to know what you need to fix bugs.
thank you answer my question. I changed version (1.19 --> 1.4) I have another error..
nvcc fatal : Value 'sm_61' is not defined for option 'gpu-architecture'
Traceback (most recent call last):
File "lm_rnn.py", line 219, in
This error probably seems some sort of problems in your environment. Please check the CUDA binaries works correctly.
Hi, I have some problem. I compile the code that lm_rnn.py
a float is required...
File "lm_rnn.py", line 219, in
main()
File "lm_rnn.py", line 213, in main
save_rnnlm_model(args.model + '.%d' % (epoch + 1), args.vocab, args.embed, args.hidden, vocab, model)
File "lm_rnn.py", line 107, in save_rnnlm_model
print(dlm.join(fmt % x for x in row), file=fp)
File "lm_rnn.py", line 107, in
print(dlm.join(fmt % x for x in row), file=fp)
TypeError: a float is required