You'll modify the --dataset_name, --json_annotation_train, --image_path_train, --json_annotation_val, --image_path_val, and --config-file args appropriately.
If you have a dataset with segmentation masks, you can try to train with the mask_rcnn model; otherwise you might want to start with the fast_rcnn model
If you see error AttributeError: Cannot find field 'gt_masks' in the given Instances! during training, this means you should not use