未验证 提交 7bd1ef4a 编写于 作者: W Wenyu 提交者: GitHub

repleace letterbox to resize_pad (#6934)

上级 c8fac2a9
......@@ -33,7 +33,8 @@ TestReader:
image_shape: [-1, 3, 640, 640]
sample_transforms:
- Decode: {}
- LetterBoxResize: {target_size: 640}
- Resize: {interp: 2, target_size: 640, keep_ratio: True}
- Pad: {size: 640}
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_size: 1
......
......@@ -33,7 +33,8 @@ TestReader:
image_shape: [-1, 3, 640, 640]
sample_transforms:
- Decode: {}
- LetterBoxResize: {target_size: 640}
- Resize: {interp: 2, target_size: 640, keep_ratio: True}
- Pad: {size: 640}
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_size: 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册