Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named metric_learn #23

Closed
ghost opened this issue Sep 18, 2017 · 3 comments
Closed

No module named metric_learn #23

ghost opened this issue Sep 18, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2017

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
Copy link
Contributor

zydou commented Sep 18, 2017

You should install metric-learn first.

pip install metric-learn

@ghost
Copy link
Author

ghost commented Sep 18, 2017

thx

@Cysu
Copy link
Owner

Cysu commented Sep 18, 2017

@zydou Thank you very much!

@Cysu Cysu closed this as completed Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants