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

keras_resnet has no attribute custom_objects #73

Closed
alexhtn opened this issue Nov 19, 2017 · 1 comment
Closed

keras_resnet has no attribute custom_objects #73

alexhtn opened this issue Nov 19, 2017 · 1 comment

Comments

@alexhtn
Copy link

alexhtn commented Nov 19, 2017

Traceback (most recent call last):
File "examples/train_coco.py", line 27, in
from keras_retinanet.models.resnet import ResNet50RetinaNet
File "/home/akh/.local/lib/python3.5/site-packages/keras_retinanet/models/resnet.py", line 25, in
custom_objects.update(keras_resnet.custom_objects)
AttributeError: module 'keras_resnet' has no attribute 'custom_objects'

I'm using keras version 2.0.9 and keras-resnet version 0.0.8.

@de-vri-es
Copy link
Contributor

de-vri-es commented Nov 19, 2017

As the installation instructions note, you need the latest master branch from keras-resnet. custom_objects is a recent addition.

As of writing, this repository requires the master branch of keras-resnet (run pip install --user --upgrade git+https://github.com/broadinstitute/keras-resnet).

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