diff --git a/settings/FASHION_MNIST/CNN/Weights/Bias_L0_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Bias_L0_S199.npy new file mode 100644 index 0000000..37b0bc0 Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Bias_L0_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Bias_L3_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Bias_L3_S199.npy new file mode 100644 index 0000000..6fab449 Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Bias_L3_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Bias_L6_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Bias_L6_S199.npy new file mode 100644 index 0000000..af8778e Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Bias_L6_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Bias_L8_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Bias_L8_S199.npy new file mode 100644 index 0000000..fae215d Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Bias_L8_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Weight_L0_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Weight_L0_S199.npy new file mode 100644 index 0000000..7174028 Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Weight_L0_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Weight_L3_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Weight_L3_S199.npy new file mode 100644 index 0000000..08f133c Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Weight_L3_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Weight_L6_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Weight_L6_S199.npy new file mode 100644 index 0000000..d471fa2 Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Weight_L6_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/Weights/Weight_L8_S199.npy b/settings/FASHION_MNIST/CNN/Weights/Weight_L8_S199.npy new file mode 100644 index 0000000..ca069fb Binary files /dev/null and b/settings/FASHION_MNIST/CNN/Weights/Weight_L8_S199.npy differ diff --git a/settings/FASHION_MNIST/CNN/dataset.json b/settings/FASHION_MNIST/CNN/dataset.json new file mode 100644 index 0000000..76d5c06 --- /dev/null +++ b/settings/FASHION_MNIST/CNN/dataset.json @@ -0,0 +1,4 @@ +{ + "data_path": "./DATA_FASHION_MNIST/", + "data_mode": "MNIST_FASHION" +} diff --git a/settings/FASHION_MNIST/CNN/def.json b/settings/FASHION_MNIST/CNN/def.json new file mode 100644 index 0000000..f9f0f30 --- /dev/null +++ b/settings/FASHION_MNIST/CNN/def.json @@ -0,0 +1,19 @@ +{ + "epoch_id_max": 200, + "batch_size": 24, + "stage_id": 0, + "simulation_id": 0, + "learning_parameters": { + "loss_mode": 1, // X-Entropy + "number_of_batches_for_one_update": 20, + "learning_rate_gamma_w": 0.001, + "lr_scheduler_patience_w": -1, + "adapt_learning_rate_after_minibatch": false, + "w_trainable": [ + true + ] + }, + "augmentation": {}, + "image_statistics": {}, + "approximation_setting": {} +} \ No newline at end of file diff --git a/settings/FASHION_MNIST/CNN/log_2023_01_14_22_04_04.txt.gz b/settings/FASHION_MNIST/CNN/log_2023_01_14_22_04_04.txt.gz new file mode 100644 index 0000000..b99a30c Binary files /dev/null and b/settings/FASHION_MNIST/CNN/log_2023_01_14_22_04_04.txt.gz differ diff --git a/settings/FASHION_MNIST/CNN/network.json b/settings/FASHION_MNIST/CNN/network.json new file mode 100644 index 0000000..25870ac --- /dev/null +++ b/settings/FASHION_MNIST/CNN/network.json @@ -0,0 +1,97 @@ +{ + "network_structure": { + "number_of_output_neurons": 10, + "layer_type": [ + "CONV2D", + "RELU", + "MAX POOLING", + "CONV2D", + "RELU", + "MAX POOLING", + "CONV2D", + "RELU", + "CONV2D" + ], + "strides": [ + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 1, + 1 + ] // "CONV2D" + ], + "forward_neuron_numbers": [ + [ + 1, + 32 + ], // "CONV2D", + [], // "RELU", + [], // "MAX POOLING", + [ + 32, + 64 + ], // "CONV2D", + [], // "RELU", + [], // "MAX POOLING", + [ + 64, + 96 + ], // "CONV2D", + [], // "RELU", + [ + 96, + 10 + ] // "CONV2D", + ], + "forward_kernel_size": [ + [ + 5, + 5 + ], // "CONV2D", + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 5, + 5 + ], // "CONV2D", + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 3, + 3 + ], // "CONV2D", + [], // "RELU", + [ + 1, + 1 + ] // "CONV2D", + ] + } +} \ No newline at end of file diff --git a/settings/FASHION_MNIST/CNN/test_error.npy b/settings/FASHION_MNIST/CNN/test_error.npy new file mode 100644 index 0000000..4c1c0df Binary files /dev/null and b/settings/FASHION_MNIST/CNN/test_error.npy differ diff --git a/settings/MNIST/CNN/Weights/Bias_L0_S199.npy b/settings/MNIST/CNN/Weights/Bias_L0_S199.npy new file mode 100644 index 0000000..11aec41 Binary files /dev/null and b/settings/MNIST/CNN/Weights/Bias_L0_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Bias_L3_S199.npy b/settings/MNIST/CNN/Weights/Bias_L3_S199.npy new file mode 100644 index 0000000..d5251f0 Binary files /dev/null and b/settings/MNIST/CNN/Weights/Bias_L3_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Bias_L6_S199.npy b/settings/MNIST/CNN/Weights/Bias_L6_S199.npy new file mode 100644 index 0000000..01b2eab Binary files /dev/null and b/settings/MNIST/CNN/Weights/Bias_L6_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Bias_L8_S199.npy b/settings/MNIST/CNN/Weights/Bias_L8_S199.npy new file mode 100644 index 0000000..48abb1d Binary files /dev/null and b/settings/MNIST/CNN/Weights/Bias_L8_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Weight_L0_S199.npy b/settings/MNIST/CNN/Weights/Weight_L0_S199.npy new file mode 100644 index 0000000..3d4bd2a Binary files /dev/null and b/settings/MNIST/CNN/Weights/Weight_L0_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Weight_L3_S199.npy b/settings/MNIST/CNN/Weights/Weight_L3_S199.npy new file mode 100644 index 0000000..c04f432 Binary files /dev/null and b/settings/MNIST/CNN/Weights/Weight_L3_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Weight_L6_S199.npy b/settings/MNIST/CNN/Weights/Weight_L6_S199.npy new file mode 100644 index 0000000..6a145ee Binary files /dev/null and b/settings/MNIST/CNN/Weights/Weight_L6_S199.npy differ diff --git a/settings/MNIST/CNN/Weights/Weight_L8_S199.npy b/settings/MNIST/CNN/Weights/Weight_L8_S199.npy new file mode 100644 index 0000000..1d7a5fe Binary files /dev/null and b/settings/MNIST/CNN/Weights/Weight_L8_S199.npy differ diff --git a/settings/MNIST/CNN/dataset.json b/settings/MNIST/CNN/dataset.json new file mode 100644 index 0000000..7f74d48 --- /dev/null +++ b/settings/MNIST/CNN/dataset.json @@ -0,0 +1,4 @@ +{ + "data_path": "./DATA_MNIST/", + "data_mode": "MNIST" +} diff --git a/settings/MNIST/CNN/def.json b/settings/MNIST/CNN/def.json new file mode 100644 index 0000000..f9f0f30 --- /dev/null +++ b/settings/MNIST/CNN/def.json @@ -0,0 +1,19 @@ +{ + "epoch_id_max": 200, + "batch_size": 24, + "stage_id": 0, + "simulation_id": 0, + "learning_parameters": { + "loss_mode": 1, // X-Entropy + "number_of_batches_for_one_update": 20, + "learning_rate_gamma_w": 0.001, + "lr_scheduler_patience_w": -1, + "adapt_learning_rate_after_minibatch": false, + "w_trainable": [ + true + ] + }, + "augmentation": {}, + "image_statistics": {}, + "approximation_setting": {} +} \ No newline at end of file diff --git a/settings/MNIST/CNN/log_2023_01_14_19_45_42.txt.gz b/settings/MNIST/CNN/log_2023_01_14_19_45_42.txt.gz new file mode 100644 index 0000000..fed7c85 Binary files /dev/null and b/settings/MNIST/CNN/log_2023_01_14_19_45_42.txt.gz differ diff --git a/settings/MNIST/CNN/network.json b/settings/MNIST/CNN/network.json new file mode 100644 index 0000000..25870ac --- /dev/null +++ b/settings/MNIST/CNN/network.json @@ -0,0 +1,97 @@ +{ + "network_structure": { + "number_of_output_neurons": 10, + "layer_type": [ + "CONV2D", + "RELU", + "MAX POOLING", + "CONV2D", + "RELU", + "MAX POOLING", + "CONV2D", + "RELU", + "CONV2D" + ], + "strides": [ + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 1, + 1 + ], // "CONV2D" + [], // "RELU", + [ + 1, + 1 + ] // "CONV2D" + ], + "forward_neuron_numbers": [ + [ + 1, + 32 + ], // "CONV2D", + [], // "RELU", + [], // "MAX POOLING", + [ + 32, + 64 + ], // "CONV2D", + [], // "RELU", + [], // "MAX POOLING", + [ + 64, + 96 + ], // "CONV2D", + [], // "RELU", + [ + 96, + 10 + ] // "CONV2D", + ], + "forward_kernel_size": [ + [ + 5, + 5 + ], // "CONV2D", + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 5, + 5 + ], // "CONV2D", + [], // "RELU", + [ + 2, + 2 + ], // "MAX POOLING", + [ + 3, + 3 + ], // "CONV2D", + [], // "RELU", + [ + 1, + 1 + ] // "CONV2D", + ] + } +} \ No newline at end of file diff --git a/settings/MNIST/CNN/test_error.npy b/settings/MNIST/CNN/test_error.npy new file mode 100644 index 0000000..46eb72a Binary files /dev/null and b/settings/MNIST/CNN/test_error.npy differ