deep-vision
deep-vision copied to clipboard
Receiving key error
KeyError Traceback (most recent call last)
KeyError: '008664'
how can I solve it?
@DhruvMakwana it looks like the original dataset annotation is off
could you check if you have 008664
when you read the original annotation from this part of the code? I noticed that you put the dataset under ../input/voc2012
, you'll need to do the same the code below too
with open('./VOCdevkit/VOC2012/ImageSets/Main/train.txt') as train_fp:
lines = train_fp.read().splitlines()
for line in lines:
train_val_split[line] = 'train'