show_attend_and_tell.tensorflow
show_attend_and_tell.tensorflow copied to clipboard
TypeError: int() argument must be a string, a bytes-like object or a number, not 'map'
ERROR LOG:
C:\Python35\python.exe C:/MainProject/show_attend_and_tell/model_tensorflow.py
Using TensorFlow backend.
preprocessing word counts and creating vocab based on word count threshold 30
filtered words from 20326 to 2942
Traceback (most recent call last):
File "C:/MainProject/show_attend_and_tell/model_tensorflow.py", line 334, in <module>
train()
File "C:/MainProject/show_attend_and_tell/model_tensorflow.py", line 255, in train
n_lstm_steps=int(maxlen)+1, # w1~wN까지 예측한 뒤 마지막에 '.'예측해야하니까 +1
TypeError: int() argument must be a string, a bytes-like object or a number, not 'map'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at [email protected]
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
Process finished with exit code 1
Can anyone please tell me how to continue from here ?