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

AttributeError #47

Open
lezhang0912 opened this issue May 8, 2019 · 1 comment
Open

AttributeError #47

lezhang0912 opened this issue May 8, 2019 · 1 comment

Comments

@lezhang0912
Copy link

  • picasso version:0.2.0
  • Python version:3.6.5
  • Operating System:ubuntu16.04
    AttributeError
    AttributeError: module 'keras.applications.imagenet_utils' has no attribute 'CLASS_INDEX'

Traceback (most recent call last):
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/picasso/picasso.py", line 336, in select_files
settings=session['settings'])
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/picasso/visualizations/class_probabilities.py", line 20, in make_visualization
filtered_predictions = self.model.decode_prob(predictions)
File "/home/zhangle/virtual_python_env/venv/lib/python3.6/site-packages/picasso/examples/keras-vgg16/model.py", line 39, in decode_prob
classes = imagenet_utils.CLASS_INDEX
AttributeError: module 'keras.applications.imagenet_utils' has no attribute 'CLASS_INDEX'

@lezhang0912
Copy link
Author

who meet this error?Could you give me some advices?Thanks

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