FairMOT icon indicating copy to clipboard operation
FairMOT copied to clipboard

Prepare dataset?

Open lilingdu opened this issue 4 years ago • 2 comments

Hi,

I create the file structure according to instruction, also added test datasets to it , on the other hand, changed the json file,after that, when run the traking.py file , I got error. like that"File "/home/zbp/lsh/FairMOT/src/lib/datesets/dateset/jde.py",line 32, in__ init__ self.nf = len(self.files) #number of image files" AttribureError:'LoadImages' object has no attribure 'files'

is there has someone can help here?

lilingdu avatar Nov 09 '21 11:11 lilingdu

Hi,

I create the file structure according to instruction, also added test datasets to it , on the other hand, changed the json file,after that, when run the traking.py file , I got error. like that"File "/home/zbp/lsh/FairMOT/src/lib/datesets/dateset/jde.py",line 32, in__ init__ self.nf = len(self.files) #number of image files" AttribureError:'LoadImages' object has no attribure 'files'

is there has someone can help here?

On MOT16 dataset i too face same problem. for other datasets it works fine

ssbilakeri avatar Dec 14 '21 09:12 ssbilakeri

Hi, I create the file structure according to instruction, also added test datasets to it , on the other hand, changed the json file,after that, when run the traking.py file , I got error. like that"File "/home/zbp/lsh/FairMOT/src/lib/datesets/dateset/jde.py",line 32, in__ init__ self.nf = len(self.files) #number of image files" AttribureError:'LoadImages' object has no attribure 'files' is there has someone can help here?

On MOT16 dataset i too face same problem. for other datasets it works fine

I solved it. in track.py change data_root = os.path.join(opt.data_dir, 'MOT16/train') to data_root = os.path.join(opt.data_dir, 'MOT16/images/train')

ssbilakeri avatar Dec 14 '21 09:12 ssbilakeri