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
{{ message }}
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
This is a pretty-much out-of-the-box install of bidaf-keras. I manually put bidaf_10.h5 and bidaf_50.h5 inside a manually created bidaf-keras/bidaf/saved_items directory.
When I run python3 -m bidaf --model_name=bidaf_50.h5 --do_lowercase predict --passage "This is tree." --question "What is this?" --return_char_loc --return_confidence_score
I get the expected results.
When I run bidaf-keras --model_name=bidaf_50.h5 --do_lowercase predict --passage "This is tree." --question "What is this?" --return_char_loc --return_confidence_score
The program makes it to "Predict", but then I get this error message: OSError: Unable to open file (unable to open file: name = '/home/parallels/anaconda3/envs/myproject/lib/python3.6/site-packages/bidaf/saved_items/bidaf_50.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Any advice on why/how this is happening would be much appreciated.
Thanks for your cool project!
The text was updated successfully, but these errors were encountered:
I might be late. But as you can see, you have place the downloaded model in the wrong folder. It must be site-packages/bidaf/saved_items/bidaf_50.h5 (if installed via pip) and you have saved it in site-packages/bidaf-keras/bidaf/saved_items.
Also, sorry as I am not maintaining this project as of now. Out of time and resources. Though the code is available freely and is easy to understand, it will help people a lot.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm getting error messages when I try to predict with using your bidaf-keras example method.
Ubuntu 18.4
python 3.6
tensorflow 1.13.1
bidaf-keras 1.1.0
Keras 2.2.4
h5py 2.10.0
This is a pretty-much out-of-the-box install of bidaf-keras. I manually put
bidaf_10.h5
andbidaf_50.h5
inside a manually createdbidaf-keras/bidaf/saved_items
directory.When I run
python3 -m bidaf --model_name=bidaf_50.h5 --do_lowercase predict --passage "This is tree." --question "What is this?" --return_char_loc --return_confidence_score
I get the expected results.
When I run
bidaf-keras --model_name=bidaf_50.h5 --do_lowercase predict --passage "This is tree." --question "What is this?" --return_char_loc --return_confidence_score
The program makes it to "Predict", but then I get this error message:
OSError: Unable to open file (unable to open file: name = '/home/parallels/anaconda3/envs/myproject/lib/python3.6/site-packages/bidaf/saved_items/bidaf_50.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Any advice on why/how this is happening would be much appreciated.
Thanks for your cool project!
The text was updated successfully, but these errors were encountered: