Update autoaug and randaug configs
parent
05e4c13343
commit
6563f5f448
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/auto_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -19,7 +17,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='AutoAugment',
|
type='AutoAugment',
|
||||||
policies={{_base_.auto_increasing_policies}},
|
policies='imagenet',
|
||||||
hparams=dict(pad_val=[round(x) for x in bgr_mean])),
|
hparams=dict(pad_val=[round(x) for x in bgr_mean])),
|
||||||
dict(
|
dict(
|
||||||
type='RandomErasing',
|
type='RandomErasing',
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=7,
|
magnitude_level=7,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=6,
|
magnitude_level=6,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/auto_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -19,7 +17,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='AutoAugment',
|
type='AutoAugment',
|
||||||
policies={{_base_.auto_increasing_policies}},
|
policies='imagenet',
|
||||||
hparams=dict(
|
hparams=dict(
|
||||||
pad_val=[round(x) for x in bgr_mean], interpolation='bicubic')),
|
pad_val=[round(x) for x in bgr_mean], interpolation='bicubic')),
|
||||||
dict(type='PackClsInputs'),
|
dict(type='PackClsInputs'),
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['pipelines/auto_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='AutoAugment',
|
type='AutoAugment',
|
||||||
policies={{_base_.policy_imagenet}},
|
policies='imagenet',
|
||||||
hparams=dict(
|
hparams=dict(
|
||||||
pad_val=[round(x) for x in bgr_mean], interpolation='bicubic')),
|
pad_val=[round(x) for x in bgr_mean], interpolation='bicubic')),
|
||||||
dict(type='PackClsInputs'),
|
dict(type='PackClsInputs'),
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_base_ = ['./pipelines/rand_aug.py']
|
|
||||||
|
|
||||||
# dataset settings
|
# dataset settings
|
||||||
dataset_type = 'ImageNet'
|
dataset_type = 'ImageNet'
|
||||||
preprocess_cfg = dict(
|
preprocess_cfg = dict(
|
||||||
|
@ -23,7 +21,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -26,7 +26,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -26,7 +26,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -26,7 +26,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
|
@ -26,7 +26,7 @@ train_pipeline = [
|
||||||
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
dict(type='RandomFlip', prob=0.5, direction='horizontal'),
|
||||||
dict(
|
dict(
|
||||||
type='RandAugment',
|
type='RandAugment',
|
||||||
policies={{_base_.rand_increasing_policies}},
|
policies='timm_increasing',
|
||||||
num_policies=2,
|
num_policies=2,
|
||||||
total_level=10,
|
total_level=10,
|
||||||
magnitude_level=9,
|
magnitude_level=9,
|
||||||
|
|
Loading…
Reference in New Issue