AttributeError: 'module' object has no attribute 'imagenet_utils'
See original GitHub issueHi,
I am training using csv files on a custom dataset and when I start training I am getting the following error:
Traceback (most recent call last):
File "keras_retinanet/bin/train.py", line 442, in <module>
main()
File "keras_retinanet/bin/train.py", line 401, in main
weights = backbone.download_imagenet()
File "keras_retinanet/bin/../../keras_retinanet/models/resnet.py", line 50, in download_imagenet
return keras.applications.imagenet_utils.get_file(
AttributeError: 'module' object has no attribute 'imagenet_utils'
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
AttributeError: 'module' object has no attribute - Stack Overflow
E.g. I had a module called commands which is also a Python library module. This proved to be difficult to track down as...
Read more >tf.keras.applications.imagenet_utils | TensorFlow v2.11.0
Utilities for ImageNet data preprocessing & prediction decoding.
Read more >[Solved] AttributeError: 'module' object has no attribute
Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww▻Instagram ...
Read more >'module' object has no attribute in 3minutes - YouTube
" AttributeError : object has no attribute "Understand how to trouble shoot the error message. Examples used in the video:When you append a ......
Read more >AttributeError: 'module' object has no attribute and ImportError
This video covers the AttributeError : ' module ' object has no attribute and ImportError: No module name errors in Python.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you, i have resolved it by adding import keras.applications.imagenet_utils
in resnet.py @Lakshya-Kejriwal
I see, Keras 2.2.0 was released… for now, it’s easiest to stick to Keras 2.1.6 until compatibility is fixed.
On Thu, 7 Jun 2018, 22:45 Lakshya Kejriwal, notifications@github.com wrote: