Cysu / open-reid

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

TypeError: Can't instantiate abstract class Euclidean with abstract methods get_metric, score_pairs #95

Open Alexloveanna opened 4 years ago

Alexloveanna commented 4 years ago

I follow your steps ,but I don't know how to deal with this problem,

HenryZhangJianhe commented 4 years ago

this link show me that I should uses metric_learn==0.3.0. https://github.com/LcDog/DomainAdaptiveReID/issues/6

but I used 0.3.0, or 0.4.0 to run and got another error :ImportError: cannot import name 'graph_lasso'

And if I use 0.5.0, 0.6.0, I still got error same as title.

HenryZhangJianhe commented 4 years ago

I fixd it as follow step scikit-learn 0.20.0 metric-learn 0.4.0