Closed ashley-mv closed 4 years ago
datasets/pascal.py
(or datasets/coco.py
):
VOC_NAMES
(or COCO_NAMES
) to your class namesVOC_MEAN
, VOC_STD
(or COCO_NAMES
, COCO_STD
) to your dataset mean and stdself.num_classes
to your num of classesself.valid_ids
to np.arange(1, num_classes+1, dtype=np.int32)
self.data_dir
to your dataset locationIf your dataset can not be converted to pascal or coco format, you will need to write your own dataset class.
Thank you.
How can we use a pretrained model for training on our own dataset?
Hi, Could you please add what are the steps required to train this network for a new dataset and classes?