LCFractal / AIC21-MTMC

🏆The 1st place solution of track3 (City-Scale Multi-Camera Vehicle Tracking) in the NVIDIA AI City Challenge at CVPR 2021 Workshop.
MIT License
128 stars 35 forks source link

RuntimeWarning: invalid value encountered in divide feat = feat/np.linalg.norm(feat,ord=2) #39

Open heluhai opened 1 month ago

heluhai commented 1 month ago

/tmp/pycharm_project_212/reid/reid-matching/tools/utils/ficfac.py:59: RuntimeWarning: invalid value encountered in divide feat = feat/np.linalg.norm(feat,ord=2) feat3:0/39 feat3:0/39 Using totally 0.08s to compute initial_rank starting re_ranking 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 78/78 [00:00<00:00, 6945.39it/s] Using totally 0.15S to compute R 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 78/78 [00:00<00:00, 5518.45it/s] Using totally 0.23S to compute V-1 Using totally 0.29S to compute V-2 Using totally 0.29S to compute invIndex 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 39/39 [00:00<00:00, 6801.57it/s] [[nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] ... [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan]] Using totally 0.36S to compute final_distance [[nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] ... [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan] [nan nan nan ... nan nan nan]] Traceback (most recent call last): File "/tmp/pycharm_project_212/reid/reid-matching/tools/sub_cluster.py", line 154, in clu = get_labels(cfg,cid_tid_dict,cid_tids,score_thr=cfg.SCORE_THR) File "/tmp/pycharm_project_212/reid/reid-matching/tools/sub_cluster.py", line 106, in get_labels linkage='complete').fit_predict(1 - sim_matrix)

Excuse me, where is the problem?