diff --git a/configs/faster_rcnn/_base_/faster_reader.yml b/configs/faster_rcnn/_base_/faster_reader.yml index 1f6eaa86d3669ce4337f8aa624bf945de14ecb27..d0f44f006d4abe5d9c6ded2ef31cd0fc17dbf93b 100644 --- a/configs/faster_rcnn/_base_/faster_reader.yml +++ b/configs/faster_rcnn/_base_/faster_reader.yml @@ -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 diff --git a/configs/mask_rcnn/_base_/mask_reader.yml b/configs/mask_rcnn/_base_/mask_reader.yml index 7d2d152a6ab665b7076461f96b6382e9ac2da827..9ae6a0182324a85146193ef64d56ba127766ea38 100644 --- a/configs/mask_rcnn/_base_/mask_reader.yml +++ b/configs/mask_rcnn/_base_/mask_reader.yml @@ -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 diff --git a/static/configs/faster_reader.yml b/static/configs/faster_reader.yml index 26835d4c6d2ef6187cd1b5ce23283cf049194ba8..3099bb656d641d99c71e12aa6f61fb625d23d6bd 100644 --- a/static/configs/faster_reader.yml +++ b/static/configs/faster_reader.yml @@ -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 diff --git a/static/configs/mask_reader.yml b/static/configs/mask_reader.yml index 31742f2057f4a86d6a4a6d5f6d5bc6ca7dfa4b54..165a09b82bb448dede9273ae3b7da297e318c131 100644 --- a/static/configs/mask_reader.yml +++ b/static/configs/mask_reader.yml @@ -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 diff --git a/static/configs/mask_reader_cocome.yml b/static/configs/mask_reader_cocome.yml index a7760a16279475d8f10b22bd4b3fcb437ff7c088..1b44491c5c3a7dfbc12138c682ac00b24946ef4a 100644 --- a/static/configs/mask_reader_cocome.yml +++ b/static/configs/mask_reader_cocome.yml @@ -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