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

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

上级 c6c10032
......@@ -13,6 +13,7 @@ EvalDataset:
image_dir: val2017
anno_path: annotations/instances_val2017.json
dataset_dir: dataset/coco
allow_empty: true
TestDataset:
!ImageFolder
......
......@@ -33,7 +33,6 @@ EvalReader:
batch_size: 1
shuffle: false
drop_last: false
drop_empty: false
TestReader:
......
......@@ -33,7 +33,6 @@ EvalReader:
batch_size: 1
shuffle: false
drop_last: false
drop_empty: false
TestReader:
......
......@@ -25,7 +25,6 @@ EvalReader:
batch_size: 1
shuffle: false
drop_last: false
drop_empty: false
TestReader:
......
......@@ -125,7 +125,6 @@ EvalReader:
is_scale: true
- Permute: {}
batch_size: 16
drop_empty: false
TestReader:
inputs_def:
......
......@@ -129,7 +129,6 @@ EvalReader:
is_scale: true
- Permute: {}
batch_size: 16
drop_empty: false
TestReader:
inputs_def:
......
......@@ -125,7 +125,6 @@ EvalReader:
is_scale: true
- Permute: {}
batch_size: 16
drop_empty: false
TestReader:
inputs_def:
......
......@@ -125,7 +125,6 @@ EvalReader:
is_scale: true
- Permute: {}
batch_size: 16
drop_empty: false
TestReader:
inputs_def:
......
......@@ -25,7 +25,6 @@ EvalReader:
batch_size: 1
shuffle: false
drop_last: false
drop_empty: false
TestReader:
......
......@@ -312,7 +312,6 @@ EvalReader:
- Decode: {}
...
batch_size: 1
drop_empty: false
TestReader:
inputs_def:
......
......@@ -312,7 +312,6 @@ EvalReader:
- Decode: {}
...
batch_size: 1
drop_empty: false
TestReader:
inputs_def:
......
......@@ -114,8 +114,6 @@ EvalReader:
shuffle: false
# 是否丢弃最后不能完整组成batch的数据
drop_last: false
# 是否丢弃没有标注的数据
drop_empty: false
# 测试数据
TestReader:
......
......@@ -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:
......
......@@ -121,8 +121,6 @@ EvalReader:
- Permute: {}
# 评估时batch_size
batch_size: 8
# 是否丢弃没有标注的数据
drop_empty: false
# 测试数据
TestReader:
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册