Zhongdao / Towards-Realtime-MOT

Joint Detection and Embedding for fast multi-object tracking
MIT License
2.37k stars 539 forks source link

'LoadImages' object has no attribute 'files' #167

Closed tamamjerbi closed 4 years ago

tamamjerbi commented 4 years ago

Hello, @Zhongdao first of all, huge thanks for sharing your work here with us. I was trying to run track..py as you mentioned in the readme file, and I downloaded the dataset you provided MOT16 but I have this weird error, I'm not sure what is the problem! I try to run the following: python track.py --weights weights/jde.1088x608.uncertainty.pt --cfg cfg/yolov3_1088x608.cfg

and I get this error msg: 2020-06-27 00:21:22 [INFO]: start seq: MOT17-02-SDP Traceback (most recent call last): File "track.py", line 215, in save_videos=opt.save_videos) File "track.py", line 135, in main dataloader = datasets.LoadImages(osp.join(data_root, seq, 'img1'), opt.img_size) File "E:\prj\utils\datasets.py", line 26, in init self.nF = len(self.files) # number of image files AttributeError: 'LoadImages' object has no attribute 'files' error_msg_2

thanks in advance :)

SanumNisar commented 3 years ago

how did you resolve this one?

Curry-Christopher commented 3 years ago

Excuse me, have you solved this problem? @tamamjerbi

fanshu4869 commented 3 years ago

how did you resolve this?I meet a same problem