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,
I receive two issues when I ran the main file - whilst I was able to get some txt files in the new folder (result_word_256_128_units), I received the following error under the last piece of training code:
Traceback (most recent call last):
File "main_lstM_etallica.py", line 210, in
run(is_character=False, maxlen=maxlen, num_units=num_units)
File "main_lstM_etallica.py", line 175, in run
next_index = sample(preds, diversity)
File "main_lstM_etallica.py", line 37, in sample
return np.argmax(np.random.multinomial(1, a, 1))
File "mtrand.pyx", line 4593, in mtrand.RandomState.multinomial (numpy/random/mtrand/mtrand.c:37541)
ValueError: sum(pvals[:-1]) > 1.0
THEN
When I ran '$ python main_post_process.py', I received thie following error:
Traceback (most recent call last):
File "main_post_process.py", line 116, in
result_dir = sys.argv[1]
IndexError: list index out of range
Any suggestions on what is going wrong?
Cheers
The text was updated successfully, but these errors were encountered:
Hi,
I receive two issues when I ran the main file - whilst I was able to get some txt files in the new folder (result_word_256_128_units), I received the following error under the last piece of training code:
Traceback (most recent call last):
File "main_lstM_etallica.py", line 210, in
run(is_character=False, maxlen=maxlen, num_units=num_units)
File "main_lstM_etallica.py", line 175, in run
next_index = sample(preds, diversity)
File "main_lstM_etallica.py", line 37, in sample
return np.argmax(np.random.multinomial(1, a, 1))
File "mtrand.pyx", line 4593, in mtrand.RandomState.multinomial (numpy/random/mtrand/mtrand.c:37541)
ValueError: sum(pvals[:-1]) > 1.0
THEN
When I ran '$ python main_post_process.py', I received thie following error:
Traceback (most recent call last):
File "main_post_process.py", line 116, in
result_dir = sys.argv[1]
IndexError: list index out of range
Any suggestions on what is going wrong?
Cheers
The text was updated successfully, but these errors were encountered: