AttributeError: module ‘keras.applications’ has no attribute ‘VGG16’

We Are Going To Discuss About AttributeError: module ‘keras.applications’ has no attribute ‘VGG16’. So lets Start this Python Article.

AttributeError: module ‘keras.applications’ has no attribute ‘VGG16’

  1. How to solve AttributeError: module 'keras.applications' has no attribute 'VGG16'

    It should be applications.vgg16.VGG16(...).

  2. AttributeError: module 'keras.applications' has no attribute 'VGG16'

    It should be applications.vgg16.VGG16(...).

Solution 1

It should be applications.vgg16.VGG16(...).

Original Author user1635327 Of This Content

Solution 2

I solved same issue with from tensorflow.keras import applications instead of from keras import applications

Original Author ant0nk Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment