ifzhang / FairMOT

[IJCV-2021] FairMOT: On the Fairness of Detection and Re-Identification in Multi-Object Tracking
MIT License
4.02k stars 932 forks source link

ffmpeg Error #33

Closed caglarmert closed 4 years ago

caglarmert commented 4 years ago

When I try to run the demo.py using the following command: python demo.py mot --load_model ../models/all_dla34.pth --conf_thres 0.4 I get the following error, when I traced it I found out it is an error related to ffmpeg. Anyone experienced or fixed this error?

[image2 @ 0000024a478eba00] Could find no file with path '../results\frame/%05d.jpg' and index in the range 0-4 ../results\frame/%05d.jpg: No such file or directory

I have installed miniconda, cython-bbox, CUDA and other requirements as suggested by the readme and fixed their relative errors I encountered.

Also thank you for your work 👍

zubairahmed-ai commented 4 years ago

See this issue https://github.com/ifzhang/FairMOT/issues/5

FLyingLSJ commented 4 years ago

You can set para save_videos=False in FairMOT/src/track.py

or install ffmpeg (My system is Ubuntu 16.04)

apt update apt install ffmpeg ffmpeg -version

caglarmert commented 4 years ago

@FLyingLSJ Thank you, I have windows ffmpeg build, I will try your version because the error I get is common for other libraries and repositories so it must be ffmpeg build error on my side. Also the parameters save_videos=False was already set to False for me.

image

@zubairahmed-ai Thank you kind sir, I see you have went through errors I have also encountered I will follow your comments in the issue and your methods as well. Thank you again. Edit I have followed issue#5 and fixed the error by putting .pth file into the root.