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

"Image not found" error #68

Closed
mhkeller opened this issue Jul 9, 2019 · 2 comments
Closed

"Image not found" error #68

mhkeller opened this issue Jul 9, 2019 · 2 comments

Comments

@mhkeller
Copy link

mhkeller commented Jul 9, 2019

Hi, I am trying to get this running but I'm getting a Reason: Image not found error.

  1. I created a virtualenv running python 3.6.6
  2. I ran pip install -r requirements.txt --upgrade
  3. I downloaded the weights and put them in the weights/keras dir
  4. I ran python pspnet.py -m pspnet101_voc2012 -i example_images/pascal_voc.jpg -o example_results/pascal_voc.jpg

The image pascal_voc.jpg is in that that directory so I'm not sure why it can't find that image.

The console output I get is Using TensorFlow backend. and then it seems to fail when it imports keras

  File "pspnet.py", line 8, in <module>
    from keras import backend as K

It also says

Reason: image not found


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

Do i need to do other installation steps other than pip installing the dependencies?

@jmtatsch
Copy link
Contributor

Tensorflow is not working properly. Possibly something with your library path.

@mhkeller
Copy link
Author

Thanks. Yep I didn't understand how to hook up that dependency.

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

2 participants