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

ModuleNotFoundError: No module named 'classification_models.keras' #70

Open
dillfromdahill opened this issue Sep 13, 2021 · 2 comments
Open

Comments

@dillfromdahill
Copy link

dillfromdahill commented Sep 13, 2021

any idea how i can get over this error in colab?

i am trying:

!pip install git+https://github.com/qubvel/classification_models.git
from classification_models.keras import Classifiers

same error happens with

!pip install git+https://github.com/qubvel/classification_models.git
from classification_models.tfkeras import Classifiers

as well

@DuHongqin
Copy link

you can change
from classification_models.keras import Classifiers
to
from classification_models import Classifiers
That works for me.

@anirban-ivan
Copy link

Hi @DuHongqin, I followed what you said but I ran into this error. Can you please help?

ImportError: cannot import name 'Classifiers' from 'classification_models' (/usr/local/lib/python3.10/dist-packages/classification_models/init.py)

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

3 participants