Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: int() argument must be a string, a bytes-like object or a number, not 'map' #20

Open
AkritiRao opened this issue Jun 29, 2017 · 0 comments

Comments

@AkritiRao
Copy link

AkritiRao commented Jun 29, 2017

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 ?

@AkritiRao AkritiRao changed the title FileNotFoundError: [Errno 2] No such file or directory: './data/annotations.pickle' TypeError: int() argument must be a string, a bytes-like object or a number, not 'map' Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant