From 7e52686cc43cdeacccee28c5c66de685ab680dfd Mon Sep 17 00:00:00 2001 From: jm12138 <2286040843@qq.com> Date: Fri, 11 Jun 2021 00:24:29 +0800 Subject: [PATCH] update config of models --- ppcls/configs/ImageNet/DLA/DLA102.yaml | 6 ++++++ ppcls/configs/ImageNet/DLA/DLA102x.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA102x2.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA169.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA34.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA46_c.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA46x_c.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA60.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA60x.yaml | 8 +++++++- ppcls/configs/ImageNet/DLA/DLA60x_c.yaml | 8 +++++++- ppcls/configs/ImageNet/HarDNet/HarDNet39_ds.yaml | 6 ++++++ ppcls/configs/ImageNet/HarDNet/HarDNet68.yaml | 6 ++++++ ppcls/configs/ImageNet/HarDNet/HarDNet68_ds.yaml | 6 ++++++ ppcls/configs/ImageNet/HarDNet/HarDNet85.yaml | 6 ++++++ ppcls/configs/ImageNet/RedNet/RedNet101.yaml | 6 ++++++ ppcls/configs/ImageNet/RedNet/RedNet152.yaml | 6 ++++++ ppcls/configs/ImageNet/RedNet/RedNet26.yaml | 6 ++++++ ppcls/configs/ImageNet/RedNet/RedNet38.yaml | 6 ++++++ ppcls/configs/ImageNet/RedNet/RedNet50.yaml | 6 ++++++ ppcls/configs/ImageNet/TNT/TNT_small.yaml | 6 ++++++ 20 files changed, 129 insertions(+), 9 deletions(-) diff --git a/ppcls/configs/ImageNet/DLA/DLA102.yaml b/ppcls/configs/ImageNet/DLA/DLA102.yaml index 3d9cdd73..0eb96517 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 3d37ab0a..8f31a528 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 cd2246d0..1140e4de 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 10b211de..482efecf 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 70b03086..85d80e28 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 1783461b..e0c2c84b 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 43c8ffe8..b38acf74 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 91f3ca33..ebdac4e3 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 bd3325b6..261d3522 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 a141a1ad..1c507cb6 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 644fc92a..90f24b35 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 ff089de2..140a3d77 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 e9cca8fa..9accc229 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 cf78a057..f60ba467 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 daed2288..29bf2503 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 92a338a8..08972e8e 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 fa787bf2..f61d20c7 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 2376e54c..f35d949e 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 b3a82824..f85a0791 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 f97f50c9..f30347fe 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: -- GitLab