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

Unable to open file: /model/deepmoji_weights.hdf5' #11

Closed
xiao666 opened this issue Oct 5, 2017 · 4 comments
Closed

Unable to open file: /model/deepmoji_weights.hdf5' #11

xiao666 opened this issue Oct 5, 2017 · 4 comments

Comments

@xiao666
Copy link

xiao666 commented Oct 5, 2017

HI,
I tried the "score_texts_emojis.py" in example directory.
But seems it lack the hdf5 file in model directory?

@edvoinea
Copy link

edvoinea commented Oct 5, 2017

hdf5 is a module if I remember correctly. you could try to install it with pip

@xiao666
Copy link
Author

xiao666 commented Oct 5, 2017

Hi, thank you for the reply! I installed the hdf5, and the lack file is "deepmoji_weights.hdf5"
Here is the error output:
OSError: Unable to open file (Unable to open file: name = 'd:\clone_github\deepmoji36/model/deepmoji_weights.hdf5', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0)

@devarsh13
Copy link

devarsh13 commented Oct 5, 2017

Try running download_weights.py from scrips directory.

@xiao666
Copy link
Author

xiao666 commented Oct 5, 2017

thank you @devarsh13, it works now!

@xiao666 xiao666 closed this as completed Oct 5, 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

3 participants