mmtracking icon indicating copy to clipboard operation
mmtracking copied to clipboard

run demo/demo_mot_vis.py error

Open hushuai1 opened this issue 3 years ago • 3 comments

the environment is OK, but when I try to run python demo/demo_mot_vis.py error comes image but if I copy demo/demo_mot_vis.py to upper level directory an run python demo_mot_vis.py it works, I want to What is the cause of this?

hushuai1 avatar Mar 05 '22 03:03 hushuai1

there are maybe some bugs in this project,after I add import sys import os curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] sys.path.append(rootPath) It work normally

hushuai1 avatar Mar 05 '22 05:03 hushuai1

Please install mmtracking before you use it. https://github.com/open-mmlab/mmtracking/blob/master/docs/en/install.md

JingweiZhang12 avatar Mar 05 '22 06:03 JingweiZhang12

Please install mmtracking before you use it. https://github.com/open-mmlab/mmtracking/blob/master/docs/en/install.md

I am sure I installed it,I solved this problem byusepython -m demo.test

hushuai1 avatar Mar 06 '22 01:03 hushuai1