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

Error when run `bash run_mcmt.sh` #37

Closed loading2022 closed 1 year ago

loading2022 commented 1 year ago

Error message: Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(__former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr Traceback (most recent call last): raise AttributeError(former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fair_app.py", line 15, in from fm_tracker.multitracker import JDETracker File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/multitracker.py", line 16, in from . import matching File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/fm_tracker/matching.py", line 7, in from cython_bbox import bbox_overlaps as bbox_ious File "src/cython_bbox.pyx", line 12, in init cython_bbox File "/home/ping/.local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(__former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations sys args ars: ['main.py', 'c044', 'pp'] Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range sys args ars: ['main.py', 'c043', 'pp'] sys args ars: ['main.py', 'c046', 'pp'] sys args ars: ['main.py', 'c042', 'pp'] Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range sys args ars: ['main.py', 'c041', 'pp'] Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range sys args ars: ['main.py', 'c045', 'pp'] Traceback (most recent call last): File "/home/ping/AIC21-MTMC/tracker/MOTBaseline/src/post_processing/main.py", line 108, in cfg.merge_from_file(f'../../../../config/{sys.argv[3]}') IndexError: list index out of range processing c041... /home/ping/AIC21-MTMC/datasets/detect_provided/c041/c041_mot_feat_break.pkl Traceback (most recent call last): File "/home/ping/AIC21-MTMC/reid/reid-matching/tools/trajectory_fusion.py", line 71, in mot_list = zones.break_mot(mot_list, cid) File "/home/ping/AIC21-MTMC/reid/reid-matching/tools/utils/zone_intra.py", line 178, in break_mot new_num_tracklets = max(mot_list)+1 ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/home/ping/AIC21-MTMC/reid/reid-matching/tools/sub_cluster.py", line 146, in lines = pickle.load(f) EOFError: Ran out of input Traceback (most recent call last): File "/home/ping/AIC21-MTMC/reid/reid-matching/tools/gen_res.py", line 40, in map_tid = pickle.load(open('test_cluster.pkl', 'rb'))['cluster'] FileNotFoundError: [Errno 2] No such file or directory: 'test_cluster.pkl'

Command: bash run_mcmt.sh

I met this question when I run this command, please help me about this.