未验证 提交 5e4d3ccc 编写于 作者: S shangliang Xu 提交者: GitHub

[dev] fix legacy param drop_empty, test=document_fix (#7266)

上级 c6c10032
...@@ -13,6 +13,7 @@ EvalDataset: ...@@ -13,6 +13,7 @@ EvalDataset:
image_dir: val2017 image_dir: val2017
anno_path: annotations/instances_val2017.json anno_path: annotations/instances_val2017.json
dataset_dir: dataset/coco dataset_dir: dataset/coco
allow_empty: true
TestDataset: TestDataset:
!ImageFolder !ImageFolder
......
...@@ -33,7 +33,6 @@ EvalReader: ...@@ -33,7 +33,6 @@ EvalReader:
batch_size: 1 batch_size: 1
shuffle: false shuffle: false
drop_last: false drop_last: false
drop_empty: false
TestReader: TestReader:
......
...@@ -33,7 +33,6 @@ EvalReader: ...@@ -33,7 +33,6 @@ EvalReader:
batch_size: 1 batch_size: 1
shuffle: false shuffle: false
drop_last: false drop_last: false
drop_empty: false
TestReader: TestReader:
......
...@@ -25,7 +25,6 @@ EvalReader: ...@@ -25,7 +25,6 @@ EvalReader:
batch_size: 1 batch_size: 1
shuffle: false shuffle: false
drop_last: false drop_last: false
drop_empty: false
TestReader: TestReader:
......
...@@ -125,7 +125,6 @@ EvalReader: ...@@ -125,7 +125,6 @@ EvalReader:
is_scale: true is_scale: true
- Permute: {} - Permute: {}
batch_size: 16 batch_size: 16
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -129,7 +129,6 @@ EvalReader: ...@@ -129,7 +129,6 @@ EvalReader:
is_scale: true is_scale: true
- Permute: {} - Permute: {}
batch_size: 16 batch_size: 16
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -125,7 +125,6 @@ EvalReader: ...@@ -125,7 +125,6 @@ EvalReader:
is_scale: true is_scale: true
- Permute: {} - Permute: {}
batch_size: 16 batch_size: 16
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -125,7 +125,6 @@ EvalReader: ...@@ -125,7 +125,6 @@ EvalReader:
is_scale: true is_scale: true
- Permute: {} - Permute: {}
batch_size: 16 batch_size: 16
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -25,7 +25,6 @@ EvalReader: ...@@ -25,7 +25,6 @@ EvalReader:
batch_size: 1 batch_size: 1
shuffle: false shuffle: false
drop_last: false drop_last: false
drop_empty: false
TestReader: TestReader:
......
...@@ -312,7 +312,6 @@ EvalReader: ...@@ -312,7 +312,6 @@ EvalReader:
- Decode: {} - Decode: {}
... ...
batch_size: 1 batch_size: 1
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -312,7 +312,6 @@ EvalReader: ...@@ -312,7 +312,6 @@ EvalReader:
- Decode: {} - Decode: {}
... ...
batch_size: 1 batch_size: 1
drop_empty: false
TestReader: TestReader:
inputs_def: inputs_def:
......
...@@ -114,8 +114,6 @@ EvalReader: ...@@ -114,8 +114,6 @@ EvalReader:
shuffle: false shuffle: false
# 是否丢弃最后不能完整组成batch的数据 # 是否丢弃最后不能完整组成batch的数据
drop_last: false drop_last: false
# 是否丢弃没有标注的数据
drop_empty: false
# 测试数据 # 测试数据
TestReader: TestReader:
......
...@@ -114,8 +114,6 @@ EvalReader: ...@@ -114,8 +114,6 @@ EvalReader:
shuffle: false shuffle: false
# Whether to discard data that does not complete the batch # Whether to discard data that does not complete the batch
drop_last: false drop_last: false
# Whether to discard unlabeled data
drop_empty: false
# test data # test data
TestReader: TestReader:
......
...@@ -121,8 +121,6 @@ EvalReader: ...@@ -121,8 +121,6 @@ EvalReader:
- Permute: {} - Permute: {}
# 评估时batch_size # 评估时batch_size
batch_size: 8 batch_size: 8
# 是否丢弃没有标注的数据
drop_empty: false
# 测试数据 # 测试数据
TestReader: TestReader:
......
...@@ -121,8 +121,6 @@ EvalReader: ...@@ -121,8 +121,6 @@ EvalReader:
- Permute: {} - Permute: {}
# Batch_size during evaluation # Batch_size during evaluation
batch_size: 8 batch_size: 8
# Whether to discard unlabeled data
drop_empty: false
# test data # test data
TestReader: TestReader:
...@@ -215,7 +213,7 @@ YOLOv3Loss: ...@@ -215,7 +213,7 @@ YOLOv3Loss:
ignore_thresh: 0.7 ignore_thresh: 0.7
# downsample # downsample
downsample: [32, 16, 8] downsample: [32, 16, 8]
# whether label_smooth or not # whether label_smooth or not
label_smooth: false label_smooth: false
# scale_x_y # scale_x_y
scale_x_y: 1.05 scale_x_y: 1.05
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册