You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use my own dataset to train and test a DER model,how should i do?
I use the DEC python file in\torch-uncertainty-main\auto_tutorials_source\tutorial_evidential_classification.py
How to solve this problem?
here's the problem:
Traceback (most recent call last):
File "D:\wxh\torch-uncertainty-main\torch-uncertainty-main\auto_tutorials_source\tutorial_evidential_classification.py", line 33, in <module>
from torch_uncertainty import TUTrainer
File "D:\wxh\torch-uncertainty-main\torch-uncertainty-main\torch_uncertainty\__init__.py", line 2, in <module>
from .utils import TULightningCLI, TUTrainer
File "D:\wxh\torch-uncertainty-main\torch-uncertainty-main\torch_uncertainty\utils\__init__.py", line 4, in <module>
from .hub import load_hf
File "D:\wxh\torch-uncertainty-main\torch-uncertainty-main\torch_uncertainty\utils\hub.py", line 6, in <module>
from huggingface_hub.errors import EntryNotFoundError
ModuleNotFoundError: No module named 'huggingface_hub.errors'
We do the pip list in virtual environment, the version of huggingface_hub is 0.20.1
The text was updated successfully, but these errors were encountered:
Updating the huggingface_hub library (the current version is 0.26.2) should solve the problem. This dependency is in pre-release, and they just changed the location of the error in their library, hence the bug.
Let us know if you have problems with DER and have a great day!
o-laurent
changed the title
ModuleNotFoundError: No module named 'huggingface_hub.errors'
🐛 ModuleNotFoundError: No module named 'huggingface_hub.errors'
Nov 7, 2024
\torch-uncertainty-main\auto_tutorials_source\tutorial_evidential_classification.py
How to solve this problem?
here's the problem:
We do the pip list in virtual environment, the version of
huggingface_hub
is 0.20.1The text was updated successfully, but these errors were encountered: