ssds.pytorch
ssds.pytorch copied to clipboard
How can I organize my own dataset for 1 class like voc?
I have trained “yolo_v3_mobilenetv2_voc” and “ssd_lite_mobilenetv2_train_voc” successfully. So I want to train my own data, just 1 class: car, I have prepared “Annotations” and “JPEGImages”. I have changed NUM_CLASSES to 2 in yml file and VOC_CLASSES (...) to VOC_CLASSES = ( 'car', 'background') in voc.py. But I have no idea about txt files in ImageSets/Main, now I just have a trainval.txt which just contains the ids of the images. so I have the error: Dimension out of range (expected to be in range of [-1,0), but got 1) What additional txt file do I need?What else do I need to modify? Thank you very much.
I have solved this problem. Just switch VOC_CLASSES = ( 'car', 'background') to VOC_CLASSES = ( 'background','car')
can you give me some help? I load voc2007 in ssds.pytorch/data file . but when I do python train.py --cfg=./experiments/cfgs/fssd_vgg16_train_voc.yml . something is wrong
Traceback (most recent call last):
File "train.py", line 20, in
which python is yours? and how to train ?
I have solved this problem. Just switch VOC_CLASSES = ( 'car', 'background') to VOC_CLASSES = ( 'background','car')
give me some reminds