File "generate.py", line 133, in
model, indices_word, word_indices, seed, sequence_length, diversity, quantity
File "generate.py", line 68, in generate_text
next_index = sample(preds, diversity)
File "generate.py", line 35, in sample
preds = np.log(preds) / temperature
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'
I get this error when using generate.py.
File "generate.py", line 133, in
model, indices_word, word_indices, seed, sequence_length, diversity, quantity
File "generate.py", line 68, in generate_text
next_index = sample(preds, diversity)
File "generate.py", line 35, in sample
preds = np.log(preds) / temperature
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'