valeoai / ConfidNet

Addressing Failure Prediction by Learning Model Confidence
Other
163 stars 35 forks source link

ModuleNotFoundError #9

Closed wusj0723 closed 3 years ago

wusj0723 commented 3 years ago

An error occurred while running the train.py file: "ModuleNotFoundError: No module named 'structured_map_ranking_loss' "

chcorbi commented 3 years ago

Hi @wusj0723,

Did you install the repo via pip install -e ConfidNet? The pip installation is much easier to work on.

Else, if you want to use the repo manually, you should first run python3 setup.py install, which include the compilation of the c++ file.