Cysu / open-reid

Open source person re-identification library in python
https://cysu.github.io/open-reid/
MIT License
1.34k stars 349 forks source link

No module named metric_learn #23

Closed ghost closed 7 years ago

ghost commented 7 years ago

thanks for your work, when I use softmax example, I find this error"Traceback (most recent call last): File "softmax_loss.py", line 12, in from reid import datasets File "/home/yuepan/code/pytorch_open_reid/reid/init.py", line 7, in from . import metric_learning File "/home/yuepan/code/pytorch_open_reid/reid/metric_learning/init.py", line 3, in from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, ImportError: No module named metric_learn" and I find no metric_learn.py in folder

zydou commented 7 years ago

You should install metric-learn first.

pip install metric-learn
ghost commented 7 years ago

thx

Cysu commented 7 years ago

@zydou Thank you very much!