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

Error when importing MobileNetV2. #21

Open
Pasandil opened this issue Apr 20, 2021 · 1 comment
Open

Error when importing MobileNetV2. #21

Pasandil opened this issue Apr 20, 2021 · 1 comment

Comments

@Pasandil
Copy link


ImportError Traceback (most recent call last)
in
4
5 from keras.preprocessing.image import ImageDataGenerator
----> 6 from keras.applications import MobileNetV2
7 from keras.layers import AveragePooling2D
8 from keras.layers import Dropout

ImportError: cannot import name 'MobileNetV2' from 'keras.applications' (C:\Users\IMAKA\AppData\Roaming\Python\Python39\site-packages\keras\applications_init_.py)

I HAVE ALL THE PRE REQUSISTS INSTALLED LOCALLY.

@PereiraTaina
Copy link

Hi , you can use this code in row 6 from tensorflow.keras.applications.mobilenet_v2 import MobileNetV2

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