diff --git a/ppcls/configs/ImageNet/DLA/DLA102.yaml b/ppcls/configs/ImageNet/DLA/DLA102.yaml index 3d9cdd732ba7a77f23e57450385b0faa2cffb5d7..0eb965173bd8ace3059f37f57b7d2eac23585ac9 100644 --- a/ppcls/configs/ImageNet/DLA/DLA102.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA102.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA102x.yaml b/ppcls/configs/ImageNet/DLA/DLA102x.yaml index 3d37ab0a4344ca616c8b3fd72f7afb7fb558f1ea..8f31a528f9981fa15c98d9a2beb2578d5d0b661c 100644 --- a/ppcls/configs/ImageNet/DLA/DLA102x.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA102x.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA102x - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA102x2.yaml b/ppcls/configs/ImageNet/DLA/DLA102x2.yaml index cd2246d0b9ce0c0fe73adb15b76a8a1e8188cbdb..1140e4de4b0d70f6651a3c1c31072c4e5ebc2124 100644 --- a/ppcls/configs/ImageNet/DLA/DLA102x2.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA102x2.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA102x2 - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA169.yaml b/ppcls/configs/ImageNet/DLA/DLA169.yaml index 10b211de1112f917ee7445183d8bbd695108011f..482efecf623350f708b31279c753621cc59bb3be 100644 --- a/ppcls/configs/ImageNet/DLA/DLA169.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA169.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA169 - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA34.yaml b/ppcls/configs/ImageNet/DLA/DLA34.yaml index 70b0308659100a3f8e1713519cdcd9efd3ddc070..85d80e285b601cb6b573e4a5d5857e9ad8535017 100644 --- a/ppcls/configs/ImageNet/DLA/DLA34.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA34.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA34 - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA46_c.yaml b/ppcls/configs/ImageNet/DLA/DLA46_c.yaml index 1783461b54cd633968dd07dea30edd5dffde7e91..e0c2c84bf3f73be622cdc9633b9f3f49d249b336 100644 --- a/ppcls/configs/ImageNet/DLA/DLA46_c.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA46_c.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA46_c - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA46x_c.yaml b/ppcls/configs/ImageNet/DLA/DLA46x_c.yaml index 43c8ffe83ff9303ff4e7d44e85714cbd09b57447..b38acf746bbaaf64350346ac77c1cc496f2b5fe2 100644 --- a/ppcls/configs/ImageNet/DLA/DLA46x_c.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA46x_c.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA46x_c - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA60.yaml b/ppcls/configs/ImageNet/DLA/DLA60.yaml index 91f3ca33dad6056ec8c4b2ec1fcd6b902eace7cc..ebdac4e32b8d55550769fff189faf2b42e64e880 100644 --- a/ppcls/configs/ImageNet/DLA/DLA60.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA60.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA60 - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA60x.yaml b/ppcls/configs/ImageNet/DLA/DLA60x.yaml index bd3325b6feac74051904ccb4d5c5fab80ed52658..261d3522e32aa19cbcb45e99fb44491a888f49ed 100644 --- a/ppcls/configs/ImageNet/DLA/DLA60x.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA60x.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA60x - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/DLA/DLA60x_c.yaml b/ppcls/configs/ImageNet/DLA/DLA60x_c.yaml index a141a1ad90627b97ded956a6f44307367b7add5a..1c507cb6179615cb6debf3ab491833c3ce064bde 100644 --- a/ppcls/configs/ImageNet/DLA/DLA60x_c.yaml +++ b/ppcls/configs/ImageNet/DLA/DLA60x_c.yaml @@ -18,7 +18,7 @@ Global: # model architecture Arch: name: DLA60x_c - + # loss function config for traing/eval process Loss: Train: @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/HarDNet/HarDNet39_ds.yaml b/ppcls/configs/ImageNet/HarDNet/HarDNet39_ds.yaml index 644fc92a4be7d1dec3bb482eb7b3d04ec0a64c1f..90f24b35ada95126905381f22b2d005a1a47c0ea 100644 --- a/ppcls/configs/ImageNet/HarDNet/HarDNet39_ds.yaml +++ b/ppcls/configs/ImageNet/HarDNet/HarDNet39_ds.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/HarDNet/HarDNet68.yaml b/ppcls/configs/ImageNet/HarDNet/HarDNet68.yaml index ff089de243a9a14fdce48828a557334ca652d57d..140a3d7709c79f7339c2ebcc7c922934d69632d8 100644 --- a/ppcls/configs/ImageNet/HarDNet/HarDNet68.yaml +++ b/ppcls/configs/ImageNet/HarDNet/HarDNet68.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/HarDNet/HarDNet68_ds.yaml b/ppcls/configs/ImageNet/HarDNet/HarDNet68_ds.yaml index e9cca8fac4defc0e48fb67fe24a4fee97a6018fe..9accc22932599cda0bedb1a79ca52c2be6f726d8 100644 --- a/ppcls/configs/ImageNet/HarDNet/HarDNet68_ds.yaml +++ b/ppcls/configs/ImageNet/HarDNet/HarDNet68_ds.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/HarDNet/HarDNet85.yaml b/ppcls/configs/ImageNet/HarDNet/HarDNet85.yaml index cf78a057df3d4a962d6cb9842401661b29e61daa..f60ba467a4f5d5e677432f9df66f7f28748845a1 100644 --- a/ppcls/configs/ImageNet/HarDNet/HarDNet85.yaml +++ b/ppcls/configs/ImageNet/HarDNet/HarDNet85.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/RedNet/RedNet101.yaml b/ppcls/configs/ImageNet/RedNet/RedNet101.yaml index daed22883a914a48a9f969f5ee7f444b490b01ca..29bf25037632f9da3a3a4e6dafe6e4e5037626fe 100644 --- a/ppcls/configs/ImageNet/RedNet/RedNet101.yaml +++ b/ppcls/configs/ImageNet/RedNet/RedNet101.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/RedNet/RedNet152.yaml b/ppcls/configs/ImageNet/RedNet/RedNet152.yaml index 92a338a861a820a7581f9a52e44705ee62bb7927..08972e8e357fcbdc56b9e4b7c554b39568c53d6c 100644 --- a/ppcls/configs/ImageNet/RedNet/RedNet152.yaml +++ b/ppcls/configs/ImageNet/RedNet/RedNet152.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/RedNet/RedNet26.yaml b/ppcls/configs/ImageNet/RedNet/RedNet26.yaml index fa787bf21b4acf4bbef583b7489aa1194405b193..f61d20c7f849a77a2be507780220d68bb789d532 100644 --- a/ppcls/configs/ImageNet/RedNet/RedNet26.yaml +++ b/ppcls/configs/ImageNet/RedNet/RedNet26.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/RedNet/RedNet38.yaml b/ppcls/configs/ImageNet/RedNet/RedNet38.yaml index 2376e54c0f76713cea1de29fc2004604367b32bf..f35d949e0761c70cbe90aafb4874a3053e30ae1d 100644 --- a/ppcls/configs/ImageNet/RedNet/RedNet38.yaml +++ b/ppcls/configs/ImageNet/RedNet/RedNet38.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/RedNet/RedNet50.yaml b/ppcls/configs/ImageNet/RedNet/RedNet50.yaml index b3a828246127fa4c0eec26631ccab4e69d39c449..f85a079166ce0fe23ceba0c4da27c1ef30abb30c 100644 --- a/ppcls/configs/ImageNet/RedNet/RedNet50.yaml +++ b/ppcls/configs/ImageNet/RedNet/RedNet50.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 256 - CropImage: diff --git a/ppcls/configs/ImageNet/TNT/TNT_small.yaml b/ppcls/configs/ImageNet/TNT/TNT_small.yaml index f97f50c92e74223323578614af3759efd3d74aa0..f30347fec437cdb12719cfb7b2e5994a2767bc34 100644 --- a/ppcls/configs/ImageNet/TNT/TNT_small.yaml +++ b/ppcls/configs/ImageNet/TNT/TNT_small.yaml @@ -50,6 +50,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/train_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - RandCropImage: size: 224 - RandFlipImage: @@ -76,6 +79,9 @@ DataLoader: image_root: ./dataset/ILSVRC2012/ cls_label_path: ./dataset/ILSVRC2012/val_list.txt transform_ops: + - DecodeImage: + to_rgb: True + channel_first: False - ResizeImage: resize_short: 248 - CropImage: