diff options
-rwxr-xr-x | part2.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,12 +74,12 @@ def test_model(gallery_data, probe_data, gallery_label, probe_label, gallery_cam if args.rerank: distances = re_ranking(probe_data, gallery_data, - args.reranka ,args.rerankb , 0.3, + args.reranka, args.rerankb, args.rerankl, MemorySave = False, Minibatch = 2000) else: if args.mahalanobis: # metric = 'jaccard' is also valid - distances = cdist(probe_data, gallery_data, 'sqeuclidean') + distances = cdist(probe_data, gallery_data, 'jaccard') else: distances = cdist(probe_data, gallery_data, 'euclidean') |