Skip to content

Instantly share code, notes, and snippets.

@ebattenberg
Created January 23, 2015 23:52
Show Gist options
  • Save ebattenberg/6ea175765c61ffeb7952 to your computer and use it in GitHub Desktop.
Save ebattenberg/6ea175765c61ffeb7952 to your computer and use it in GitHub Desktop.
Example JSON config
{
"val_size": 10000,
"data_path": "/home/ebattenberg/data",
"plot_curves": true,
"batch_size": 128,
"learning_rate_schedule": {
"init": 0.1,
"final": 0.0001
},
"momentum_schedule": {
"0": 0.0,
"1": 0.5,
"2": 0.9
},
"output_path": "/home/ebattenberg/output",
"num_epochs": 200,
"train_chunk_size": 40000,
"layer_config": {
"0": {
"layer_type": "InputLayer",
"input_shape": [ 128, 1, 91, 64 ]
},
"1": {
"layer_type": "Conv2DLayer",
"filter_size": [ 8, 59 ],
"n_filters": 64,
"nonlinearity": "rectifier",
"init_bias_value": 0.01
},
"2": {
"layer_type": "MaxPooling2DLayer",
"ignore_border": false,
"pool_size": [ 6, 3 ]
},
"3": {
"layer_type": "DenseLayer",
"n_outputs": 500,
"dropout": 0.5,
"nonlinearity": "rectifier",
"init_bias_value": 0.1
},
"4": {
"layer_type": "DenseLayer",
"n_outputs": 2,
"dropout": 0.0,
"nonlinearity": "sigmoid",
"init_bias_value": 0.1
},
"5": {
"layer_type": "OutputLayer"
}
},
"weight_decay": 0.0005,
"validation_every": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment