-
Notifications
You must be signed in to change notification settings - Fork 353
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
Can not test the data #53
Comments
I met with the same problem. I set np.load(save_path, allow_pickle = True).item() in base_model.py. Then it runs successfully. However, I can‘t get test results. Have you fix the problem yet? |
I have met this problem too and successfully fixed it just now. |
when i train the model, i meet the same problem, i have set the code as your advise, but it doesn't work |
is there a way to check the data? i download the val2014 from baidu netdisk, but dont know it is corrupted or not |
I afraid not. Just try to re-download it or download it from microsoft coco |
Loading the model from ./models/289999.npy...
Traceback (most recent call last):
File "main.py", line 69, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "main.py", line 64, in main
model.load(sess, FLAGS.model_file)
File "/content/lstm_gru/image_captioning/base_model.py", line 262, in load
data_dict = np.load(save_path).item()
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 421, in load
pickle_kwargs=pickle_kwargs)
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/format.py", line 650, in read_array
array = pickle.load(fp, **pickle_kwargs)
EOFError
The text was updated successfully, but these errors were encountered: