2023-07-19 14:32:00 +02:00
|
|
|
{
|
2023-07-22 14:53:31 +02:00
|
|
|
"model_continue": false, // true, (false)
|
2023-07-23 14:07:20 +02:00
|
|
|
"max_epochs": 5000,
|
2023-07-19 14:32:00 +02:00
|
|
|
"batch_size_train": 250,
|
|
|
|
"batch_size_test": 500,
|
2023-07-23 14:07:20 +02:00
|
|
|
|
|
|
|
// data source ->
|
|
|
|
"data_path": "/home/kk/Documents/Semester4/code/RenderStimuli/Output/",
|
2023-07-19 14:32:00 +02:00
|
|
|
"stimuli_per_pfinkel": 30000,
|
|
|
|
"num_pfinkel_start": 0,
|
|
|
|
"num_pfinkel_stop": 10,
|
|
|
|
"num_pfinkel_step": 10,
|
2023-07-23 14:07:20 +02:00
|
|
|
"condition": "Coignless",
|
|
|
|
"scale_data": 255.0, // (255.0)
|
|
|
|
// <- data source
|
|
|
|
|
|
|
|
// optimizer ->
|
|
|
|
"use_adam": true, // (true) => adam, false => SGD
|
|
|
|
// <- optimizer
|
|
|
|
|
2023-07-19 14:32:00 +02:00
|
|
|
// LR Scheduler ->
|
|
|
|
"use_scheduler": true, // (true), false
|
|
|
|
"scheduler_verbose": true,
|
2023-07-22 14:53:31 +02:00
|
|
|
"scheduler_factor": 0.025, //(0.1)
|
2023-07-23 14:07:20 +02:00
|
|
|
"scheduler_patience": 10, // (10)
|
|
|
|
"scheduler_threshold": 1e-5, // (1e-5)
|
2023-07-22 14:53:31 +02:00
|
|
|
"minimum_learning_rate": 1e-10,
|
2023-07-23 01:45:59 +02:00
|
|
|
"learning_rate": 1e-4,
|
2023-07-19 14:32:00 +02:00
|
|
|
// <- LR Scheduler
|
2023-07-23 14:07:20 +02:00
|
|
|
|
|
|
|
// pooling layer ->
|
2023-07-19 14:32:00 +02:00
|
|
|
"pooling_type": "max", // (max), average, none
|
2023-07-23 14:07:20 +02:00
|
|
|
// <- pooling layer
|
|
|
|
|
|
|
|
// activation function ->
|
|
|
|
"activation_function": "leaky relu", // tanh, relu, (leaky relu), none
|
|
|
|
"leak_relu_negative_slope": 0.1, // (0.1)
|
|
|
|
// <- activation function
|
|
|
|
|
2023-07-23 02:02:41 +02:00
|
|
|
// convolution layer 0 softmax parameters ->
|
2023-07-23 14:07:20 +02:00
|
|
|
"conv_0_enable_softmax": false, // true, (false)
|
|
|
|
"conv_0_power_softmax": 4.0, // (0.0) = Exp
|
|
|
|
"conv_0_meanmode_softmax": true, // true, false
|
2023-07-23 02:02:41 +02:00
|
|
|
"conv_0_no_input_mode_softmax": false, // true, (false)
|
|
|
|
// <- convolution layer 0 softmax parameters
|
2023-07-23 14:07:20 +02:00
|
|
|
|
|
|
|
// network definion ->
|
|
|
|
"train_first_layer": true, // true, (false)
|
|
|
|
"mp_1_kernel_size": 3,
|
|
|
|
"mp_1_stride": 2,
|
|
|
|
"conv_0_kernel_size": 11,
|
2023-07-19 14:32:00 +02:00
|
|
|
"conv_out_channels_list": [
|
|
|
|
[
|
2023-07-23 14:07:20 +02:00
|
|
|
8,
|
2023-07-19 14:32:00 +02:00
|
|
|
8,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"conv_kernel_sizes": [
|
|
|
|
[
|
|
|
|
7,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"conv_stride_sizes": [
|
|
|
|
1
|
2023-07-22 14:53:31 +02:00
|
|
|
],
|
2023-07-23 14:07:20 +02:00
|
|
|
// <- network definion
|
|
|
|
|
|
|
|
// logging ->
|
|
|
|
"save_logging_messages": true, // (true), false
|
|
|
|
"display_logging_messages": true, // (true), false
|
|
|
|
// <- logging
|
|
|
|
|
|
|
|
// saving the model and co ->
|
|
|
|
"save_model": true,
|
|
|
|
"use_plot_intermediate": false, // true, (false)
|
|
|
|
"precision_100_percent": 4, // (4)
|
|
|
|
"save_ever_x_epochs": 10, // (10)
|
|
|
|
// <- saving the model and co
|
|
|
|
|
|
|
|
// path definitions ->
|
2023-07-22 14:53:31 +02:00
|
|
|
"initial_model_path": "initial_models",
|
|
|
|
"tb_runs_path": "tb_runs",
|
|
|
|
"trained_models_path": "trained_models",
|
|
|
|
"performance_data_path": "performance_data"
|
2023-07-23 14:07:20 +02:00
|
|
|
// <- path definitions
|
2023-07-19 14:32:00 +02:00
|
|
|
}
|