-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_requirements.json
56 lines (56 loc) · 1.33 KB
/
config_requirements.json
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
53
54
55
56
{
"_comment" : "This file specifies required parameters in the config file. If a value is given, it is used as a default when the parameter is absent.",
"run_config": {
"exp_name": "unnamed_experiment",
"imports": ["src.engineering.LitPSD"],
"run_class": "LitPSD"
},
"system_config":{
"model_name": "unnamed_model",
"type_names": [""],
"n_samples": 0
},
"net_config":{
"criterion_class": "CrossEntropyLoss",
"criterion_params": [],
"imports": ["torch.nn","sparseconvnet","SCNet"],
"net_class": "SCNet.SCNet",
"sequence_class": "sparseconvnet.Sequential",
"net_type": "2DConvolution"
},
"optimize_config": {
"imports": [
"torch.optim",
"torch.optim.lr_scheduler"
],
"total_epoch": 30,
"lr": 1e-3,
"validation_freq": 1,
"optimizer_class": "optim.SGD",
"optimizer_params": {
"momentum": 0.9,
"weight_decay": 0,
"dampening": 0,
"nesterov": true
},
"scheduler_class": "lr_scheduler.ExponentialLR",
"scheduler_params": {
"gamma": 0.9
}
},
"dataset_config": {
"mode": "path",
"base_path": "",
"paths": [
"Positron",
"OrthoPositronium"
],
"imports": [
"PulseDataset"
],
"dataset_class": "PulseDataset2D",
"dataset_params": {},
"n_train": 0,
"n_validate": 0
}
}