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 abstrac class Eucildean with abstract methods get_metric, score_pairs #77

Open GRP2019 opened 5 years ago

GRP2019 commented 5 years ago

hello,

  When I test the code with the command you given, it throws out this error. 

image

It confused me these days and I have installed metric-learn yet. I can't understand and fix this error. Could you help me to fix it? Thank you in advance.

emil-ep commented 5 years ago

@GRP2019 Did you fix the issue? If so, please help me, I am stuck here

chen1562 commented 5 years ago

I encountered the same issue here.. anybody has a fix yet?

xixiareone commented 5 years ago

scikit-learn need to >0.20.3 and metric-learn need to be version of 0.4.0.I solve this problem by doing these.

heerduo commented 4 years ago

scikit-learn 0.20.0 metric-learn 0.4.0