search.yaml 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
base_config_file: ppcls/configs/PULC/text_direction/PPLCNet_x1_0.yaml
distill_config_file: ppcls/configs/PULC/text_direction/PPLCNet_x1_0_distillation.yaml

gpus: 0,1,2,3
output_dir: output/search_text
search_times: 1
search_dict:
  - search_key: lrs
    replace_config:
      - Optimizer.lr.learning_rate
    search_values: [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
  - search_key: resolutions
    replace_config:
      - DataLoader.Train.dataset.transform_ops.1.ResizeImage.size
      - DataLoader.Train.dataset.transform_ops.2.TimmAutoAugment.img_size
      - DataLoader.Eval.dataset.transform_ops.1.ResizeImage.size
    search_values: [[192, 48], [180, 60], [160, 80]]
  - search_key: ra_probs
    replace_config:
      - DataLoader.Train.dataset.transform_ops.2.TimmAutoAugment.prob
    search_values: [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
  - search_key: re_probs
    replace_config:
      - DataLoader.Train.dataset.transform_ops.4.RandomErasing.EPSILON
    search_values: [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
  - search_key: lr_mult_list
    replace_config:
      - Arch.lr_mult_list
    search_values:
      - [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
      - [0.0, 0.4, 0.4, 0.8, 0.8, 1.0]
      - [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
teacher:
  rm_keys:
    - Arch.lr_mult_list
  search_values:
    - ResNet101_vd
    - ResNet50_vd
final_replace:
  Arch.lr_mult_list: Arch.models.1.Student.lr_mult_list