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

a bug #558

Open
ross-Hr opened this issue Oct 3, 2021 · 2 comments
Open

a bug #558

ross-Hr opened this issue Oct 3, 2021 · 2 comments

Comments

@ross-Hr
Copy link

ross-Hr commented Oct 3, 2021

when i run "from uncertainty_baselines.baselines.cifar import utils" ,
there is an error occured like +1
from uncertainty_baselines.baselines.cifar import utils
ModuleNotFoundError: No module named 'uncertainty_baselines.baselines'

@ross-Hr ross-Hr changed the title an bug a bug Oct 3, 2021
@dusenberrymw
Copy link
Member

Thanks for raising this, @xiaoxiong007! The issue here is that the baselines directory is not part of the uncertainty_baselines library API. Instead, the baselines directory is meant to contain standalone subdirectories of scripts that import and use the uncertainty_baselines library (such as this).

Some of the baselines directories contain other utility files. Those are intended to be used locally. Here's an example of how we import uncertainty_baselines/baselines/cifar/utils.py within uncertainty_baselines/baselines/cifar/deterministic.py.

Please let me know if that helps!

@ross-Hr
Copy link
Author

ross-Hr commented Jan 10, 2022

Thank you very much. It has been solved!

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