diff --git a/configs/datasets/coco_detection.yml b/configs/datasets/coco_detection.yml index 291c24874b72bbb92fb2510e754c791a3f06c146..ea09245144997cd1fd5254a258b51f2b93f334cd 100644 --- a/configs/datasets/coco_detection.yml +++ b/configs/datasets/coco_detection.yml @@ -13,6 +13,7 @@ EvalDataset: image_dir: val2017 anno_path: annotations/instances_val2017.json dataset_dir: dataset/coco + allow_empty: true TestDataset: !ImageFolder diff --git a/configs/deformable_detr/_base_/deformable_detr_reader.yml b/configs/deformable_detr/_base_/deformable_detr_reader.yml index 3822df4235ef57862e10c31309aab922e5302646..c15a0f3b6390fb7627f46f040fbd5054398b0e6b 100644 --- a/configs/deformable_detr/_base_/deformable_detr_reader.yml +++ b/configs/deformable_detr/_base_/deformable_detr_reader.yml @@ -33,7 +33,6 @@ EvalReader: batch_size: 1 shuffle: false drop_last: false - drop_empty: false TestReader: diff --git a/configs/detr/_base_/detr_reader.yml b/configs/detr/_base_/detr_reader.yml index 5a7199296ae2f148c718e222002674093a29511f..997ef724afcebc3ba648ea3f09858b9950dd0550 100644 --- a/configs/detr/_base_/detr_reader.yml +++ b/configs/detr/_base_/detr_reader.yml @@ -33,7 +33,6 @@ EvalReader: batch_size: 1 shuffle: false drop_last: false - drop_empty: false TestReader: diff --git a/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml b/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml index ce38f0d494e7e0d3c7a1613d15573d165b0edf25..e1165cd0a03fd07f41eaea2701526639010cc7e9 100644 --- a/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml +++ b/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml @@ -25,7 +25,6 @@ EvalReader: batch_size: 1 shuffle: false drop_last: false - drop_empty: false TestReader: diff --git a/configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml b/configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml index 8418245ede7fce027d8c1141d15325a03998c7c0..a759c121a1e891e510f802cfbf53962c98a368be 100644 --- a/configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml +++ b/configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml @@ -125,7 +125,6 @@ EvalReader: is_scale: true - Permute: {} batch_size: 16 - drop_empty: false TestReader: inputs_def: diff --git a/configs/keypoint/hrnet/dark_hrnet_w32_384x288.yml b/configs/keypoint/hrnet/dark_hrnet_w32_384x288.yml index f9ba19cf9cdb10831db449f9d65da948feba215f..6eaa0ec0ba17e25cd3787e082963c3c863388eeb 100644 --- a/configs/keypoint/hrnet/dark_hrnet_w32_384x288.yml +++ b/configs/keypoint/hrnet/dark_hrnet_w32_384x288.yml @@ -129,7 +129,6 @@ EvalReader: is_scale: true - Permute: {} batch_size: 16 - drop_empty: false TestReader: inputs_def: diff --git a/configs/keypoint/hrnet/dark_hrnet_w48_256x192.yml b/configs/keypoint/hrnet/dark_hrnet_w48_256x192.yml index d8fc6f62509ce493bcbc9941a66c2ff103fc25ad..1417e03d22e96aea50833eab7d2a522f192ebfee 100644 --- a/configs/keypoint/hrnet/dark_hrnet_w48_256x192.yml +++ b/configs/keypoint/hrnet/dark_hrnet_w48_256x192.yml @@ -125,7 +125,6 @@ EvalReader: is_scale: true - Permute: {} batch_size: 16 - drop_empty: false TestReader: inputs_def: diff --git a/configs/pphuman/dark_hrnet_w32_256x192.yml b/configs/pphuman/dark_hrnet_w32_256x192.yml index 8418245ede7fce027d8c1141d15325a03998c7c0..a759c121a1e891e510f802cfbf53962c98a368be 100644 --- a/configs/pphuman/dark_hrnet_w32_256x192.yml +++ b/configs/pphuman/dark_hrnet_w32_256x192.yml @@ -125,7 +125,6 @@ EvalReader: is_scale: true - Permute: {} batch_size: 16 - drop_empty: false TestReader: inputs_def: diff --git a/configs/vitdet/_base_/faster_rcnn_reader.yml b/configs/vitdet/_base_/faster_rcnn_reader.yml index ce38f0d494e7e0d3c7a1613d15573d165b0edf25..e1165cd0a03fd07f41eaea2701526639010cc7e9 100644 --- a/configs/vitdet/_base_/faster_rcnn_reader.yml +++ b/configs/vitdet/_base_/faster_rcnn_reader.yml @@ -25,7 +25,6 @@ EvalReader: batch_size: 1 shuffle: false drop_last: false - drop_empty: false TestReader: diff --git a/docs/advanced_tutorials/READER.md b/docs/advanced_tutorials/READER.md index 60c9fee67f2718a3de088eb52d899828924f9e34..21b7865dfd7a9bb5af41c9902ce2a89e87b29a69 100644 --- a/docs/advanced_tutorials/READER.md +++ b/docs/advanced_tutorials/READER.md @@ -312,7 +312,6 @@ EvalReader: - Decode: {} ... batch_size: 1 - drop_empty: false TestReader: inputs_def: diff --git a/docs/advanced_tutorials/READER_en.md b/docs/advanced_tutorials/READER_en.md index 07940a965dd4e48499a96def925679f9ff269ad8..449c468d80f8a669d60581dbfffe29864d9ed384 100644 --- a/docs/advanced_tutorials/READER_en.md +++ b/docs/advanced_tutorials/READER_en.md @@ -312,7 +312,6 @@ EvalReader: - Decode: {} ... batch_size: 1 - drop_empty: false TestReader: inputs_def: diff --git a/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation.md b/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation.md index 32b9024bfa025f008ff236214c68ffe8c1d7b5ec..becfaa5862ba9d294fa677de1cd5e84f60f3df50 100644 --- a/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation.md +++ b/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation.md @@ -114,8 +114,6 @@ EvalReader: shuffle: false # 是否丢弃最后不能完整组成batch的数据 drop_last: false - # 是否丢弃没有标注的数据 - drop_empty: false # 测试数据 TestReader: diff --git a/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation_en.md b/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation_en.md index 4c8c925996e9bfd0faf613df2c33f88799d7dda7..15090f842ca771ebe225d5f2876358fa3e60a493 100644 --- a/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation_en.md +++ b/docs/tutorials/config_annotation/faster_rcnn_r50_fpn_1x_coco_annotation_en.md @@ -114,8 +114,6 @@ EvalReader: shuffle: false # Whether to discard data that does not complete the batch drop_last: false - # Whether to discard unlabeled data - drop_empty: false # test data TestReader: diff --git a/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation.md b/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation.md index 2cbc188dc345c84ca619284baaf610d757cc3414..9369053227e248971a996e035fb1cef9745384eb 100644 --- a/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation.md +++ b/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation.md @@ -121,8 +121,6 @@ EvalReader: - Permute: {} # 评估时batch_size batch_size: 8 - # 是否丢弃没有标注的数据 - drop_empty: false # 测试数据 TestReader: diff --git a/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation_en.md b/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation_en.md index dfcdd45fddaf11f1233129b2f2941549c9ce52e7..f6f3452e9100d9352cd58e76b329f605b664ffc1 100644 --- a/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation_en.md +++ b/docs/tutorials/config_annotation/ppyolo_r50vd_dcn_1x_coco_annotation_en.md @@ -121,8 +121,6 @@ EvalReader: - Permute: {} # Batch_size during evaluation batch_size: 8 - # Whether to discard unlabeled data - drop_empty: false # test data TestReader: @@ -215,7 +213,7 @@ YOLOv3Loss: ignore_thresh: 0.7 # downsample downsample: [32, 16, 8] - # whether label_smooth or not + # whether label_smooth or not label_smooth: false # scale_x_y scale_x_y: 1.05