|
5 | 5 | seeds.append(random.randint(0, 100)) |
6 | 6 | print(seeds) |
7 | 7 |
|
| 8 | +seeds = [22, 92, 54, 86, 41] |
8 | 9 | config_paths = [ |
9 | 10 | "sample_configs/paper_text_tabular_local_configs.yaml", |
10 | | - "sample_configs/paper_text_local_configs.yaml", |
11 | | - "sample_configs/paper_image_local_configs.yaml", |
| 11 | + # "sample_configs/paper_text_local_configs.yaml", |
| 12 | + # "sample_configs/paper_image_local_configs.yaml", |
12 | 13 | # "sample_configs/multimodal_cloud_text_configs.yaml", |
13 | 14 | # "sample_configs/multimodal_cloud_text_fs_configs.yaml", |
14 | 15 | # "sample_configs/multimodal_cloud_text_tabular_configs.yaml", |
15 | 16 | # "sample_configs/multimodal_cloud_text_tabular_image_configs.yaml", |
16 | 17 | # "sample_configs/multimodal_cloud_text_tabular_image_standard_configs.yaml" |
17 | 18 | ] |
18 | 19 | frameworks = [ |
19 | | - "AutoGluon_best_master", |
20 | | - "ablation_greedy_soup", |
21 | | - "ablation_gradient_clip", |
22 | | - "ablation_warmup_steps", |
23 | | - "ablation_cosine_decay", |
24 | | - "ablation_weight_decay", |
25 | | - "ablation_lr_decay", |
26 | | - # "autokeras_master", |
| 20 | + # "AutoGluon_best_master", |
| 21 | + # "ablation_greedy_soup", |
| 22 | + # "ablation_gradient_clip", |
| 23 | + # "ablation_warmup_steps", |
| 24 | + # "ablation_cosine_decay", |
| 25 | + # "ablation_weight_decay", |
| 26 | + # "ablation_lr_decay", |
| 27 | + "autokeras_master", |
27 | 28 | # "torch_compile_best", |
28 | 29 | # "AutoGluon_best_master", |
29 | 30 | # "AutoGluon_high_master", |
|
46 | 47 | 5, |
47 | 48 | 10 |
48 | 49 | ] |
49 | | -# module = "autokeras" |
50 | | -module = "multimodal" |
| 50 | +module = "autokeras" |
| 51 | +# module = "multimodal" |
51 | 52 |
|
52 | 53 | import yaml |
53 | 54 | import os |
|
56 | 57 | config_root = "./temp_configs" |
57 | 58 | os.makedirs(config_root, exist_ok=True) |
58 | 59 |
|
59 | | -for constraint in constraints: |
60 | | - os.makedirs(f"{config_root}/{constraint}", exist_ok=True) |
61 | | - for framework in frameworks: |
62 | | - # for shot in fs: |
63 | | - config_dir = f"{config_root}/{constraint}/{framework}" |
64 | | - os.makedirs(config_dir, exist_ok=True) |
| 60 | +for seed in seeds: |
| 61 | + for constraint in constraints: |
| 62 | + os.makedirs(f"{config_root}/{constraint}", exist_ok=True) |
| 63 | + for framework in frameworks: |
| 64 | + # for shot in fs: |
| 65 | + config_dir = f"{config_root}/{constraint}/{framework}" |
| 66 | + os.makedirs(config_dir, exist_ok=True) |
65 | 67 |
|
66 | | - for config_path in config_paths: |
67 | | - for seed in seeds: |
| 68 | + for config_path in config_paths: |
68 | 69 | with open(config_path, "r") as f: |
69 | 70 | configs = yaml.safe_load(f) |
70 | 71 | if constraint == "g4_12x": |
|
0 commit comments