uncertainty-baselines
uncertainty-baselines copied to clipboard
a bug
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'
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!
Thank you very much. It has been solved!