Hi, im try to train yolact to detect cars with images from COCO.
I take all of the images with cars in it and make dataset from them.
My config look like this:
`
only_cars_coco2017_dataset = dataset_base.copy({
'name': 'cars COCO 2017',
# Training images and annotations
'train_info': '/home/ws/data/COCO/only_cars_train.json',
'train_images': '/home/ws/data/COCO/train/train2017/',
# Validation images and annotations.
'valid_info': '/home/ws/data/COCO/only_cars_val.json',
'valid_images': '/home/ws/data/COCO/val/val2017/',
'class_names': ('car'),
'label_map': {1: 1}
})
yolact_im200_coco_cars_config = yolact_base_config.copy({
'name': 'yolact_im200_coco_cars',
# Dataset stuff
'dataset': only_cars_coco2017_dataset,
'num_classes': len(only_cars_coco2017_dataset.class_names) + 1,
'masks_to_train': 20,
'max_num_detections': 20,
'max_size': 200,
'backbone': yolact_base_config.backbone.copy({
'pred_scales': [[int(x[0] / yolact_base_config.max_size * 200)] for x in yolact_base_config.backbone.pred_scales],
}),
})
`
After a few iterations, my loss going very high...
Can somwone help me with this?
Update:
Also if im train with full COCO dataset i get the same error...
Hi, im try to train yolact to detect cars with images from COCO.
I take all of the images with cars in it and make dataset from them.
My config look like this:
`
only_cars_coco2017_dataset = dataset_base.copy({
'name': 'cars COCO 2017',
})
yolact_im200_coco_cars_config = yolact_base_config.copy({
'name': 'yolact_im200_coco_cars',
})
`
After a few iterations, my loss going very high...
Can somwone help me with this?
Update:
Also if im train with full COCO dataset i get the same error...