Skip to content

Commit 48d8172

Browse files
committed
Update README.md
1 parent b1a582b commit 48d8172

1 file changed

Lines changed: 46 additions & 42 deletions

File tree

config/DBN/README.md

Lines changed: 46 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,47 @@
1-
==Model Config==
2-
nnetType: (Mandatory) specify Type of Network (CNN,RBM)
3-
train_data : (Mandatory) specify the working directory containing data configuration and output
4-
wdir : wdir
5-
data_spec:(Mandatory) specify the path of the validation data relative to the working directory
6-
nnet_spec: (Mandatory) specify the path of RBM/CNN/DNN/SDA network configuration specification relative to working directory
7-
output_file : (Mandatory) specify the path of RBM network output file relative to working directory
8-
input_file : specify the path of RBM network inpu file relative to working directory
9-
batch_size : specify the mini batch size while training, default 128
10-
n_ins:784
11-
n_outs:10
12-
13-
gbrbm_learning_rate: pretraining
14-
pretraining_learning_rate: pretraining
15-
pretraining_epochs:
16-
17-
initial_pretrain_momentum:Specify the momentum factor while training default 0.5
18-
final_pretrain_momentum:Specify the momentum factor while training default 0.9
19-
initial_pretrain_momentum_epoch : Specify the momentum factor while training default 5
20-
21-
22-
finetune_method: Two methods are supported C: Constant learning rate and E : Exponential decay"
23-
24-
finetune_rate : learning rate configuration"
25-
>learning_rate: 0.08
26-
>epoch_num: 10
27-
28-
>start_rate: 0.08
29-
>scale_by: 0.5
30-
>min_derror_decay_start: 0.05
31-
>min_derror_stop: 0.05
32-
>min_epoch_decay_start: 15
33-
>init_error:100
34-
35-
finetune_momentum : Specify the momentum factor while finetuning"
36-
finetune_momentum : 0.5
37-
38-
processes:
39-
>pretraining":true
40-
>finetuning":true
41-
>testing":true
42-
>export_data":false
1+
Model Config
2+
------------
3+
* `nnetType` : (Mandatory) specify Type of Network (CNN/RBM/SDA/DNN)
4+
* `train_data` : (Mandatory) specify the working directory containing data configuration and output
5+
* `wdir` : (Mandatory) Working Directory.
6+
* `data_spec` : (Mandatory) specify the path of the data sepification relative to `model_config.json`
7+
* `nnet_spec` : (Mandatory) specify the path of network configuration specification relative to `model_config.json`
8+
9+
* `output_file` : (Mandatory) specify the path of RBM network output file relative to working directory
10+
* `input_file` : specify the path of RBM network inpu file relative to working directory
11+
12+
* `batch_size` : specify the mini batch size while training, default 128
13+
14+
* `n_ins` :784
15+
* `n_outs` :10
16+
17+
* `gbrbm_learning_rate` : pretraining
18+
* `pretraining_learning_rate` : pretraining
19+
* `pretraining_epochs` :
20+
21+
* `initial_pretrain_momentum` :Specify the momentum factor while training default 0.5
22+
* `final_pretrain_momentum` :Specify the momentum factor while training default 0.9
23+
* `initial_pretrain_momentum_epoch` : Specify the momentum factor while training default 5
24+
25+
* `finetune_method` : Two methods are supported C: Constant learning rate and E: Exponential decay
26+
* `finetune_rate` : learning rate configuration
27+
28+
>> * `learning_rate` : For Constant learning rate.default value-0.08
29+
>> * `epoch_num` : For Constant learning rate.default value-10
30+
>> * `start_rate` : For Exponential decay.default value-0.08
31+
>> * `scale_by` : For Exponential decay.default value-0.5
32+
>> * `min_derror_decay_start` : For Exponential decay.default value-0.05
33+
>> * `min_derror_stop` : For Exponential decay.default value-0.05
34+
>> * `min_epoch_decay_start` : For Exponential decay.default value-15
35+
>> * `init_error` : For Exponential decay.default value-100
36+
37+
* `finetune_momentum` : Specify the momentum factor while finetuning
38+
39+
* `processes` :
40+
41+
>> * `pretraining` : default:false
42+
>> * `finetuning` : default:false
43+
>> * `testing` : default:false
44+
>> * `export_data` : default:false
45+
46+
* `export_path` : path (realative to wdir) for writting (bottleneck) features.
4347

0 commit comments

Comments
 (0)