automl / nasbench301

Apache License 2.0
75 stars 22 forks source link

Adapt sys paths #2

Closed LMZimmer closed 4 years ago

LMZimmer commented 4 years ago

import nasbench301 yields

Exception has occurred: ModuleNotFoundError
No module named 'surrogate_models'

due to /surrogate_models not being added via sys.path

crwhite14 commented 4 years ago

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

LMZimmer commented 4 years ago

This should be resolved now :)

DanielHesslow commented 3 years ago

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 commented 3 years ago

I created a pull request for this: https://github.com/automl/nasbench301/pull/4