File size: 1,026 Bytes
6fb6c07
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
{
  "paths": {
    "config_data_path": "config/config_data.json",
    "config_model_path": "config/config_model.json",
    "output_dir": "runs/soilformer_hetero"
  },
  "seed": {
    "seed": 42,
    "deterministic": true
  },
  "runtime": {
    "device": "cuda",
    "num_epochs": 500,
    "init_weight_std": 0.02
  },
  "optimization": {
    "lr": 1e-4,
    "beta1": 0.9,
    "beta2": 0.999,
    "eps": 1e-8,
    "weight_decay": 0.02,
    "max_grad_norm": 1.0,
    "scheduler": {
      "type": "cosine",
      "total_epochs": 500,
      "eta_min": 2e-5,
      "warmup_epochs": 5,
      "warmup_start_factor": 0.1
    }
  },
  "loss": {
    "cat_s_bound": 2,
    "num_s_bound": 4
  },
  "checkpoint": {
    "resume_checkpoint_path": null,
    "epochs_per_save": 100,
    "max_saved_checkpoints": 5
  },
  "logging": {
    "tqdm": true,
    "wandb": {
      "enabled": true,
      "project": "soilformer",
      "entity": "kuangdai-leng",
      "run_name": "train-hetero",
      "mode": "online",
      "dir": null
    }
  }
}