-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathhparams.json
More file actions
executable file
·97 lines (83 loc) · 5.72 KB
/
hparams.json
File metadata and controls
executable file
·97 lines (83 loc) · 5.72 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"default": {
"name": {"data":"training_name_10", "type": "str", "description": "Name of the experiment"},
"hypothesis": {"data": "random initialization", "type":"str", "description": "What should you figure out running this experiment"},
"identity_init" :{"data": false, "type": "bool", "description":"Initialize as Identity"},
"resize": {"data": 4, "type": "int", "description": "Resize images"},
"dilation_rate": {"data": 1, "type": "int", "description": "Global Dilation rate"},
"aligned": {"data": 0, "type": "int", "description": "Define the data type" },
"linear": {"data": false, "type": "bool", "description": "Decide if the convolution is linear or not" },
"output_layer": {"data": 1, "type": "int", "description": "Decide output channel" },
"radius": {"data": 5, "type": "int", "description": "Maximum radius for finding second" },
"mean_over_batch": {"data": true, "type": "bool", "description": "Take the mean over the batch otherwise min" },
"lambd": {"data": -0.5, "type": "float", "description": "Lambda for mixed loss" },
"eps": {"data": 0.0001, "type": "float", "description": "small number" },
"loss_type": {"data": "dist", "type": "str", "description": "Define the loss format either 'dist' or 'ratio' " },
"loss_form": {"data": "minus", "type": "str", "description": "Define the loss formulae to minimize over {'minus', 'inverse', 'log'}" },
"softmax": {"data": false, "type": "bool", "description": "Use Softmax"},
"train_file": {"data":["data/tf/train.tfrecords"], "type": "str", "description": "Training dataset"},
"test_file": {"data":["data/tf/bad_trainset_24000_612_324.tfrecords"], "type": "str", "description": "Testing dataset"},
"learning_rate": {"data": 0.00001, "type": "float", "description": "Learning rate"},
"momentum": {"data": 0.9, "type": "float", "description": "Learning momentum"},
"decay": {"data": 0.75, "type": "float", "description": "Learning momentum"},
"decay_steps": {"data": 1000, "type": "int", "description": "Learning momentum"},
"steps": {"data": 200000, "type": "int", "description": "Number of steps to complete the training"},
"batch_size": {"data": 4, "type": "int", "description": "Batch size during training"},
"epoch_size": {"data": 16, "type": "int", "description": "Epoch size during training"},
"eval_batch_size": {"data": 2, "type": "int", "description": "Batch size during evaluation"},
"optimizer": {"data": "Adam", "type": "str", "description": "Optimizer Name (Adam, Adagrad, etc)"},
"loglevel": {"data": 50, "type": "int", "description": "Tensorflow log level"},
"output_layer": {"data": 8, "type": "int", "description": "output layer of UNET"},
"log_iterations": {"data": 100, "type": "int", "description": "Tensorflow log level"},
"eval_iterations": {"data": 20000, "type": "int", "description": "Tensorflow log level"},
"resize_conv": {"data": true, "type":"int","description": "use resize convolutions otherwise deconvolutions"},
"kernels_shape": {
"data": [[3,3,1,32],
[3,3,32,64],
[3,3,64,128],
[3,3,128,256]],
"type": "array of int", "description": "Kernel description"},
"testing_steps": {"data": 100, "type": "int", "description": "testing_steps"},
"features": {
"data": {
"search_raw": {"in_width": 512, "width": 384, "depth": 1},
"template_raw": {"in_width": 512, "width": 128, "depth": 1}
}, "type": "dict", "description": "Structure of input features"},
"augmentation":{
"data": {
"flipping": true,
"random_brightness": false,
"random_elastic_transform": false
}, "type": "dict", "description": "augmetation"}
},
"preprocessing": {
"tfrecord_train_dest": {"data":"data/tf/train.tfrecords", "type": "str", "description": "Destination of training set"},
"cloud_src": {"data":"gs://neuroglancer/pinky100_v0/image_single_slices/", "type": "str", "description": "Cloud directory"},
"cloud_mip": {"data": 2, "type": "str", "description": "MIP level for neuroglancer"},
"threads": {"data":1, "type": "str", "description": "Number of threads for data collection"},
"width": {"data":256, "type": "str", "description": "width of the image"},
"scale": {"data":1, "type": "str", "description": "scaling factor"},
"features": {
"data": {
"search_raw": {"in_width": 512, "width": 384, "depth":1},
"template_raw": {"in_width": 256, "width": 128, "depth":1}
}, "type": "dict", "description": "Structure of input features"},
"samples":{"data":10000, "description": "Number of training data samples"},
"r_delta":{"data": 0.2, "description": "R_delta filter for collecting data"}
},
"evaluation":{
"batch_size": {"data": 1, "type": "int", "description": "Batch size during training"},
"train_file": {"data":["data/tf/imagenet_hard_mined.tfrecords"], "type": "str", "description": "Testing dataset"},
"features": {
"data": {
"search_raw": {"in_width": 512, "width": 384, "depth": 1},
"template_raw": {"in_width": 256, "width": 384, "depth": 1}
}, "type": "dict", "description": "Structure of input features"},
"augmentation":{
"data": {
"flipping": false,
"random_brightness": false,
"random_elastic_transform": false
}, "type": "dict", "description": "augmentation"}
}
}