Tanisha Banik
Feb 26, 2021

--

Hi Sriram,

I tried by this method but I am getting this error File "final.py", line 398, in <module>

train(model)

File "final.py", line 219, in train

dataset_train.load_custom(args.dataset, "train")

File "final.py", line 142, in load_custom

annotations = [a for a in annotations if a['annotations']]

File "final.py", line 142, in <listcomp>

annotations = [a for a in annotations if a['annotations']]

TypeError: list indices must be integers or slices, not str

And also my format is not same as VGG, as VGG doesn't support auto-annotate feature, can you kindly guide me for my format.

--

--

Tanisha Banik
Tanisha Banik

Written by Tanisha Banik

0 Followers

Data Science Enthusiast

Responses (1)