You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your excellent work! I met this problem when I run the file examples/softmax_loss.py.
Traceback (most recent call last):
File "softmax_loss.py", line 217, in
main(parser.parse_args())
File "softmax_loss.py", line 104, in main
metric = DistanceMetric(algorithm=args.dist_metric)
File "/home/open-reid/reid/dist_metric.py", line 13, in init
self.metric = get_metric(algorithm, *args, **kwargs)
File "/home/open-reid/reid/metric_learning/init.py", line 25, in get_metric
return __factory[algorithm](*args, **kwargs)
TypeError: Can't instantiate abstract class Euclidean with abstract methods get_metric, score_pairs
The text was updated successfully, but these errors were encountered:
Thanks for your excellent work! I met this problem when I run the file examples/softmax_loss.py.
Traceback (most recent call last):
File "softmax_loss.py", line 217, in
main(parser.parse_args())
File "softmax_loss.py", line 104, in main
metric = DistanceMetric(algorithm=args.dist_metric)
File "/home/open-reid/reid/dist_metric.py", line 13, in init
self.metric = get_metric(algorithm, *args, **kwargs)
File "/home/open-reid/reid/metric_learning/init.py", line 25, in get_metric
return __factory[algorithm](*args, **kwargs)
TypeError: Can't instantiate abstract class Euclidean with abstract methods get_metric, score_pairs
Thanks for your excellent work! I met this problem when I run the file examples/softmax_loss.py.
Traceback (most recent call last):
File "softmax_loss.py", line 217, in
main(parser.parse_args())
File "softmax_loss.py", line 104, in main
metric = DistanceMetric(algorithm=args.dist_metric)
File "/home/open-reid/reid/dist_metric.py", line 13, in init
self.metric = get_metric(algorithm, *args, **kwargs)
File "/home/open-reid/reid/metric_learning/init.py", line 25, in get_metric
return __factory[algorithm](*args, **kwargs)
TypeError: Can't instantiate abstract class Euclidean with abstract methods get_metric, score_pairs
The text was updated successfully, but these errors were encountered: