FairMOT icon indicating copy to clipboard operation
FairMOT copied to clipboard

ModuleNotFoundError while trying to run demo.py

Open fraserprice opened this issue 4 years ago • 2 comments

I am getting a ModuleNotFoundError while trying to run demo.py. I followed the installation steps, so am not sure why this is happening. Full trace:

Traceback (most recent call last):
  File "demo.py", line 14, in <module>
    from track import eval_seq
  File "/home/object-tracking/src/track.py", line 15, in <module>
    from tracker.multitracker import JDETracker
  File "/home/object-tracking/src/lib/tracker/multitracker.py", line 7, in <module>
    from models.decode import mot_decode
ModuleNotFoundError: No module named 'models.decode'

fraserprice avatar Jul 15 '20 13:07 fraserprice

Hello @fraserprice did you find the solution?

ashwath1295 avatar Jul 01 '21 12:07 ashwath1295

I find it useful to add init.py in models such that models can be import.

lihuining avatar Jun 24 '23 02:06 lihuining