forked from eliteservice1002/mlmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
torchhub_cnn.json
executable file
·45 lines (39 loc) · 1.25 KB
/
torchhub_cnn.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
{
"test": {
"hypermodel_pars": {
"learning_rate": {"type": "log_uniform", "init": 0.01, "range" : [0.001, 0.1] }
},
"model_pars": {
"repo_uri": "pytorch/vision",
"model": "resnet18",
"num_classes": 1000,
"pretrained": 0, "_comment": "0: False, 1: True",
"num_layers": 1,
"size": 6,
"size_layer": 128,
"output_size": 6,
"timestep": 4,
"epoch": 2
},
"data_pars" :{
"dataset": "MNIST",
"data_path": "dataset/vision/",
"train_batch_size": 4,
"test_batch_size": 1
},
"compute_pars": {
"distributed": "mpi",
"max_batch_sample": 5,
"epochs": 2,
"learning_rate": 0.001
},
"out_pars": {
"checkpointdir": "ztest/model_tch/torchhub/restnet18/checkpoints/",
"path": "ztest/model_tch/torchhub/restnet18/"
}
},
"prod": {
"model_pars": {},
"data_pars": {}
}
}