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 'ofa.imagenet_classification' #15

Open
bellgrylls opened this issue Sep 7, 2022 · 5 comments
Open

Comments

@bellgrylls
Copy link

Successfully installed ofa-0.0.4.post2006292247,but this problem shows.Which version should I install

@vinh-cao
Copy link

vinh-cao commented Sep 20, 2022

I had the same error and found out, that the error is caused by having the file ofa.py in the search_space directory like the lib name. Removing the search_space as source code directory (removing from PYTHONPATH) solves the issue in this ticket.

@nish-sv
Copy link

nish-sv commented Nov 8, 2022

Hi @vinh-cao , I am not able to run the msunas.py file. It shows pymoo module not found. I tried the pymoo documentation but not able to access the pymoo.model function. Did you face any issue like this ?

@vinh-cao
Copy link

vinh-cao commented Nov 8, 2022

Hi @vinh-cao , I am not able to run the msunas.py file. It shows pymoo module not found. I tried the pymoo documentation but not able to access the pymoo.model function. Did you face any issue like this ?

Hi, I just install the latest version of pymoo using pip. If I remember correctly, I also need to change the code a bit because of interface changes. But the modification is not a big deal.

@666vegetable
Copy link

666vegetable commented May 26, 2023

I had the same error and found out, that the error is caused by having the file ofa.py in the search_space directory like the lib name. Removing the search_space as source code directory (removing from PYTHONPATH) solves the issue in this ticket.

你好,您说的是什么意思呢?是ofa.py的名字重复了还是search_space文件夹的名字有问题呢?我应该怎么做? @vinh-cao

@Junaid199f
Copy link

Install this version of ofa ofa 0.1.0.post202307202001

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

5 participants