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

Import Error #118

Open
Ashneo07 opened this issue Jun 14, 2020 · 1 comment
Open

Import Error #118

Ashneo07 opened this issue Jun 14, 2020 · 1 comment

Comments

@Ashneo07
Copy link


ImportError Traceback (most recent call last)
in
6 from kaggle_datasets import KaggleDatasets
7 import matplotlib.pyplot as plt
----> 8 import efficientnet.tfkeras as efn

/opt/conda/lib/python3.7/site-packages/efficientnet/tfkeras.py in
----> 1 from . import inject_tfkeras_modules, init_tfkeras_custom_objects
2 from . import model
3
4 from .preprocessing import center_crop_and_resize
5

ImportError: cannot import name 'inject_tfkeras_modules' from 'efficientnet' (/opt/conda/lib/python3.7/site-packages/efficientnet/init.py)

@mohammedessamtga
Copy link

try !pip install tensorflow==2.1.0 before import efficient net

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