when I trained the model, I met the following problem. How can I solve it?
Traceback (most recent call last):
File "D:/py-program/pytracking/ltr/run_training.py", line 55, in
main()
File "D:/py-program/pytracking/ltr/run_training.py", line 50, in main
run_training(args.train_module, args.train_name, args.cudnn_benchmark)
File "D:/py-program/pytracking/ltr/run_training.py", line 39, in run_training
expr_func(settings)
File "D:\py-program\pytracking\ltr\train_settings\tamos\tamos_resnet50.py", line 67, in run
imagenetvid_train = ImagenetVIDMOT(settings.env.imagenet_vid_gmot_dir, split='train')
File "D:\py-program\pytracking\ltr\dataset\imagenetvid_mot.py", line 31, in init
self.sequence_list, self.num_tracks_per_seq = data['seq_list'], data['num_tracks']
TypeError: list indices must be integers or slices, not str
when I trained the model, I met the following problem. How can I solve it?
Traceback (most recent call last): File "D:/py-program/pytracking/ltr/run_training.py", line 55, in
main()
File "D:/py-program/pytracking/ltr/run_training.py", line 50, in main
run_training(args.train_module, args.train_name, args.cudnn_benchmark)
File "D:/py-program/pytracking/ltr/run_training.py", line 39, in run_training
expr_func(settings)
File "D:\py-program\pytracking\ltr\train_settings\tamos\tamos_resnet50.py", line 67, in run
imagenetvid_train = ImagenetVIDMOT(settings.env.imagenet_vid_gmot_dir, split='train')
File "D:\py-program\pytracking\ltr\dataset\imagenetvid_mot.py", line 31, in init
self.sequence_list, self.num_tracks_per_seq = data['seq_list'], data['num_tracks']
TypeError: list indices must be integers or slices, not str