From d40bab85fbf58d157ac835511cea4657e7d309e4 Mon Sep 17 00:00:00 2001 From: Hammouda Elbez <hammouda.elbez@univ-lille.fr> Date: Sat, 19 Nov 2022 07:32:21 +0100 Subject: [PATCH] ReadMe & SpiNNaker folder updated --- ...tTheWeights.ipynb => ConvertTheWeights.ipynb} | 15 ++++----------- ...ot_transposed.txt => weights_fc1_baselin.txt} | 0 ...ights_fc1_0_0_25_0.7 => weights_fc1_baseline} | Bin ...hts_fc1_1_1_25_0.7 => weights_fc1_compressed} | Bin ...transposed.txt => weights_fc1_compressed.txt} | 0 ...ights_fc2_0_0_25_0.7 => weights_fc2_baseline} | Bin ...t_transposed.txt => weights_fc2_baseline.txt} | 0 ...hts_fc2_1_1_25_0.7 => weights_fc2_compressed} | Bin ...transposed.txt => weights_fc2_compressed.txt} | 0 9 files changed, 4 insertions(+), 11 deletions(-) rename SpiNNaker/{ExractTheWeights.ipynb => ConvertTheWeights.ipynb} (98%) rename SpiNNaker/{weights_fc1_0_0_25_0.7_not_transposed.txt => weights_fc1_baselin.txt} (100%) rename SpiNNaker/{weights_fc1_0_0_25_0.7 => weights_fc1_baseline} (100%) rename SpiNNaker/{weights_fc1_1_1_25_0.7 => weights_fc1_compressed} (100%) rename SpiNNaker/{weights_fc1_1_1_25_0.7_not_transposed.txt => weights_fc1_compressed.txt} (100%) rename SpiNNaker/{weights_fc2_0_0_25_0.7 => weights_fc2_baseline} (100%) rename SpiNNaker/{weights_fc2_0_0_25_0.7_not_transposed.txt => weights_fc2_baseline.txt} (100%) rename SpiNNaker/{weights_fc2_1_1_25_0.7 => weights_fc2_compressed} (100%) rename SpiNNaker/{weights_fc2_1_1_25_0.7_not_transposed.txt => weights_fc2_compressed.txt} (100%) diff --git a/SpiNNaker/ExractTheWeights.ipynb b/SpiNNaker/ConvertTheWeights.ipynb similarity index 98% rename from SpiNNaker/ExractTheWeights.ipynb rename to SpiNNaker/ConvertTheWeights.ipynb index ab774de..53c37c2 100644 --- a/SpiNNaker/ExractTheWeights.ipynb +++ b/SpiNNaker/ConvertTheWeights.ipynb @@ -43,8 +43,8 @@ "source": [ "import SpiNNakerHelpers as mySpiNNaker\n", "\n", - "input_files_name=['weights_fc1_0_0_25_0.7', 'weights_fc1_1_1_25_0.7']\n", - "output_files_name=['weights_fc1_0_0_25_0.7_not_transposed.txt', 'weights_fc1_1_1_25_0.7_not_transposed.txt']\n", + "input_files_name=['weights_fc1_baseline', 'weights_fc1_compressed']\n", + "output_files_name=['weights_fc1_baseline.txt', 'weights_fc1_compressed.txt']\n", "a=mySpiNNaker.Extract_ConnectionFiles(input_files_name, output_files_name, Input_size=784, Output_size=400, n_samples_to_plot=4, Transpoed=True, Inpute_shape={'x':28, 'y':28} )\n" ] }, @@ -89,17 +89,10 @@ "source": [ "\n", "\n", - "input_files_name=[ 'weights_fc2_0_0_25_0.7', 'weights_fc2_1_1_25_0.7']\n", - "output_files_name=['weights_fc2_0_0_25_0.7_not_transposed.txt', 'weights_fc2_1_1_25_0.7_not_transposed.txt']\n", + "input_files_name=[ 'weights_fc2_baseline', 'weights_fc2_compressed']\n", + "output_files_name=['weights_fc2_baseline.txt', 'weights_fc2_compressed.txt']\n", "a=mySpiNNaker.Extract_ConnectionFiles(input_files_name, output_files_name, Input_size=400, Output_size=1600, n_samples_to_plot=9, Transpoed=False, Inpute_shape={'x':20, 'y':20} )\n" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/SpiNNaker/weights_fc1_0_0_25_0.7_not_transposed.txt b/SpiNNaker/weights_fc1_baselin.txt similarity index 100% rename from SpiNNaker/weights_fc1_0_0_25_0.7_not_transposed.txt rename to SpiNNaker/weights_fc1_baselin.txt diff --git a/SpiNNaker/weights_fc1_0_0_25_0.7 b/SpiNNaker/weights_fc1_baseline similarity index 100% rename from SpiNNaker/weights_fc1_0_0_25_0.7 rename to SpiNNaker/weights_fc1_baseline diff --git a/SpiNNaker/weights_fc1_1_1_25_0.7 b/SpiNNaker/weights_fc1_compressed similarity index 100% rename from SpiNNaker/weights_fc1_1_1_25_0.7 rename to SpiNNaker/weights_fc1_compressed diff --git a/SpiNNaker/weights_fc1_1_1_25_0.7_not_transposed.txt b/SpiNNaker/weights_fc1_compressed.txt similarity index 100% rename from SpiNNaker/weights_fc1_1_1_25_0.7_not_transposed.txt rename to SpiNNaker/weights_fc1_compressed.txt diff --git a/SpiNNaker/weights_fc2_0_0_25_0.7 b/SpiNNaker/weights_fc2_baseline similarity index 100% rename from SpiNNaker/weights_fc2_0_0_25_0.7 rename to SpiNNaker/weights_fc2_baseline diff --git a/SpiNNaker/weights_fc2_0_0_25_0.7_not_transposed.txt b/SpiNNaker/weights_fc2_baseline.txt similarity index 100% rename from SpiNNaker/weights_fc2_0_0_25_0.7_not_transposed.txt rename to SpiNNaker/weights_fc2_baseline.txt diff --git a/SpiNNaker/weights_fc2_1_1_25_0.7 b/SpiNNaker/weights_fc2_compressed similarity index 100% rename from SpiNNaker/weights_fc2_1_1_25_0.7 rename to SpiNNaker/weights_fc2_compressed diff --git a/SpiNNaker/weights_fc2_1_1_25_0.7_not_transposed.txt b/SpiNNaker/weights_fc2_compressed.txt similarity index 100% rename from SpiNNaker/weights_fc2_1_1_25_0.7_not_transposed.txt rename to SpiNNaker/weights_fc2_compressed.txt -- GitLab