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

Adapt sys paths #2

Closed
LMZimmer opened this issue Nov 5, 2020 · 4 comments
Closed

Adapt sys paths #2

LMZimmer opened this issue Nov 5, 2020 · 4 comments

Comments

@LMZimmer
Copy link
Contributor

LMZimmer commented Nov 5, 2020

import nasbench301 yields

Exception has occurred: ModuleNotFoundError
No module named 'surrogate_models'

due to /surrogate_models not being added via sys.path

@crwhite14
Copy link
Contributor

It looks like the surrogate models folder is not currently in the pypi release.

@LMZimmer
Copy link
Contributor Author

This should be resolved now :)

@DanielHesslow
Copy link

DanielHesslow commented Dec 14, 2020

I had the same issue, from the github repo, seems like there are a few places where the imports only have

from surrogate_models import [...]

instead of

from nasbench301.surrogate_models  import [...]"

No biggie but you might want to fix it.

@crwhite14
Copy link
Contributor

I created a pull request for this:
#4

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