未验证 提交 5aafa1b6 编写于 作者: C cnn 提交者: GitHub

fix stride data type (#2644)

上级 6c79e88c
......@@ -7,7 +7,7 @@ TrainReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: true
drop_last: true
......@@ -21,7 +21,7 @@ EvalReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: false
drop_last: false
......@@ -35,7 +35,7 @@ TestReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: false
drop_last: false
......@@ -7,7 +7,7 @@ TrainReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: true
drop_last: true
......@@ -22,7 +22,7 @@ EvalReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: false
drop_last: false
......@@ -36,7 +36,7 @@ TestReader:
- NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- Permute: {}
batch_transforms:
- PadBatch: {pad_to_stride: -1.}
- PadBatch: {pad_to_stride: -1}
batch_size: 1
shuffle: false
drop_last: false
......
......@@ -26,7 +26,7 @@ TrainReader:
channel_first: true
batch_transforms:
- !PadBatch
pad_to_stride: -1.
pad_to_stride: -1
use_padded_im_info: false
batch_size: 1
shuffle: true
......
......@@ -27,7 +27,7 @@ TrainReader:
channel_first: true
batch_transforms:
- !PadBatch
pad_to_stride: -1.
pad_to_stride: -1
use_padded_im_info: false
batch_size: 1
shuffle: true
......
......@@ -27,7 +27,7 @@ TrainReader:
channel_first: true
batch_transforms:
- !PadBatch
pad_to_stride: -1.
pad_to_stride: -1
use_padded_im_info: false
batch_size: 1
shuffle: true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册