worker_num: 0 use_prefetch: false TrainReader: inputs_def: fields: ['image', 'im_info', 'im_id', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly'] dataset: name: COCODataset dataset_dir: dataset/coco image_dir: train2017 anno_path: annotations/instances_train2017.json with_background: true sample_transforms: - DecodeImage: {to_rgb: true} - RandomFlipImage: {prob: 0.5, is_mask_flip: true} - NormalizeImage: {is_channel_first: false, is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]} - ResizeImage: {target_size: 800, max_size: 1333, interp: 1, use_cv2: true} - Permute: {to_bgr: false, channel_first: true} batch_transforms: - PadBatch: {pad_to_stride: 32, use_padded_im_info: false, pad_gt: true} batch_size: 1 shuffle: true drop_last: false EvalReader: inputs_def: fields: ['image', 'im_info', 'im_id'] dataset: name: COCODataset dataset_dir: dataset/coco image_dir: val2017 anno_path: annotations/instances_val2017.json with_background: true sample_transforms: - DecodeImage: {to_rgb: true} - NormalizeImage: {is_channel_first: false, is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]} - ResizeImage: {interp: 1, max_size: 1333, target_size: 800, use_cv2: true} - Permute: {channel_first: true, to_bgr: false} batch_transforms: - PadBatch: {pad_to_stride: 32, use_padded_im_info: false, pad_gt: false} batch_size: 1 shuffle: false drop_last: false drop_empty: false TestReader: inputs_def: fields: ['image', 'im_info', 'im_id'] dataset: name: ImageFolder anno_path: annotations/instances_val2017.json sample_transforms: - DecodeImage: {to_rgb: true, with_mixup: false} - NormalizeImage: {is_channel_first: false, is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]} - ResizeImage: {interp: 1, max_size: 1333, target_size: 800, use_cv2: true} - Permute: {channel_first: true, to_bgr: false} batch_size: 1 shuffle: false drop_last: false