search.yaml 1.2 KB
Newer Older
G
mv  
gaotingquan 已提交
1 2 3 4 5 6 7 8 9 10
base_config_file: ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_search.yaml
distill_config_file: ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_distillation.yaml

gpus: 0,1,2,3
output_dir: output/search_safety_helmet
search_times: 1
search_dict:
  - search_key: lrs
    replace_config:
      - Optimizer.lr.learning_rate
G
fix  
gaotingquan 已提交
11
    search_values: [0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.11, 0.11, 0.12]
G
mv  
gaotingquan 已提交
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
  - search_key: resolutions
    replace_config:
      - DataLoader.Train.dataset.transform_ops.1.RandCropImage.size
      - DataLoader.Train.dataset.transform_ops.3.TimmAutoAugment.img_size
    search_values: [176, 192, 224]
  - search_key: ra_probs
    replace_config:
      - DataLoader.Train.dataset.transform_ops.3.TimmAutoAugment.prob
    search_values: [0.0, 0.1, 0.5]
  - search_key: re_probs
    replace_config:
      - DataLoader.Train.dataset.transform_ops.5.RandomErasing.EPSILON
    search_values: [0.0, 0.1, 0.5]
  - 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:
G
gaotingquan 已提交
33
  algorithm: "udml"
G
mv  
gaotingquan 已提交
34 35 36
final_replace:
  Arch.lr_mult_list: Arch.models.1.Student.lr_mult_list