Traceback (most recent call last):
File "/home/lz/software/pycharm-community-2023.2.5/plugins/python-ce/helpers/pydev/pydevd.py", line 1500, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/lz/software/pycharm-community-2023.2.5/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/lz/code/yolov5_deepsort_rt_nx-master/yolodeep2rt/deep_sort_pytorch/exportOnnx.py", line 26, in
model = build_tracker(cfg, use_cuda=False)
File "/home/lz/code/yolov5_deepsort_rt_nx-master/yolodeep2rt/deep_sort_pytorch/deep_sort/init.py", line 8, in build_tracker
if cfg.USE_FASTREID:
AttributeError: 'YamlParser' object has no attribute 'USE_FASTREID'
python-BaseException
Traceback (most recent call last): File "/home/lz/software/pycharm-community-2023.2.5/plugins/python-ce/helpers/pydev/pydevd.py", line 1500, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "/home/lz/software/pycharm-community-2023.2.5/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/home/lz/code/yolov5_deepsort_rt_nx-master/yolodeep2rt/deep_sort_pytorch/exportOnnx.py", line 26, in
model = build_tracker(cfg, use_cuda=False)
File "/home/lz/code/yolov5_deepsort_rt_nx-master/yolodeep2rt/deep_sort_pytorch/deep_sort/init.py", line 8, in build_tracker
if cfg.USE_FASTREID:
AttributeError: 'YamlParser' object has no attribute 'USE_FASTREID'
python-BaseException
请问一下这个怎么解决呢?