ENSTA-U2IS-AI / torch-uncertainty

Open-source framework for uncertainty and deep learning models in PyTorch :seedling:
https://torch-uncertainty.github.io
Apache License 2.0
305 stars 20 forks source link

:bug: About configuration #120

Open SydCS opened 2 weeks ago

SydCS commented 2 weeks ago

Hello. Thank you for this amazing work. I tried to run tutorial_scaler.py, but it says "NameError: name 'GLEstimatorBase' is not defined". My environment is Python3.10 and Torch2.1.0, and I have installed the torch-uncertainty package. Can you tell me why it occurs?

o-laurent commented 2 weeks ago

Hello @SydCS, and thanks for your message.

This is an optional dependency problem that seems to be badly handled. I've issued a fix on the dev branch, but I don't know when it will be available on main or in a release. In the meantime, just download glest with pip install glest to solve the error.

I hope this helps!

SydCS commented 2 weeks ago

That fixes the problem. Thanks!