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.

--

Data Science Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store