|
|
|
|
|
|
|
|
self.train_dir = '/media/external_10TB/10TB/vision/ByteTrackData/MOT17/annotations' |
|
|
self.train_dir = '/media/external_10TB/10TB/vision/ByteTrackData/MOT17/annotations' |
|
|
onlyfiles = [f for f in listdir(self.train_dir) if isfile(join(self.train_dir, f))] |
|
|
onlyfiles = [f for f in listdir(self.train_dir) if isfile(join(self.train_dir, f))] |
|
|
self.train_anns = [file for file in onlyfiles if file.__contains__('train') and file.__contains__('FRCNN')] |
|
|
self.train_anns = [file for file in onlyfiles if file.__contains__('train') and file.__contains__('FRCNN')] |
|
|
|
|
|
# # TODO: remove |
|
|
|
|
|
# self.train_anns = self.train_anns[:1] |
|
|
|
|
|
|
|
|
self.val_dir = '/media/external_10TB/10TB/vision/ByteTrackData/MOT20/annotations' |
|
|
self.val_dir = '/media/external_10TB/10TB/vision/ByteTrackData/MOT20/annotations' |
|
|
onlyfiles = [f for f in listdir(self.val_dir) if isfile(join(self.val_dir, f))] |
|
|
onlyfiles = [f for f in listdir(self.val_dir) if isfile(join(self.val_dir, f))] |
|
|
self.val_anns = [file for file in onlyfiles if file.__contains__('train') and file.__contains__( |
|
|
self.val_anns = [file for file in onlyfiles if file.__contains__('train') and file.__contains__( |