Skip to content

Commit

Permalink
Fix quantizise (#26)
Browse files Browse the repository at this point in the history
* Compare new model 1300

* fix quantization
  • Loading branch information
haverland authored Apr 11, 2024
1 parent 9357b16 commit 51c8d83
Show file tree
Hide file tree
Showing 4 changed files with 1,856 additions and 2,228 deletions.
236 changes: 38 additions & 198 deletions Compare_all_tflite.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Train_CNN_Ana-Class100_S1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@
"FileName = TFliteNamingAndVersion + \"_q\" + \".tflite\"\n",
"\n",
"def representative_dataset():\n",
" for n in range(x_data[0].size):\n",
" for n in range(np.size(x_data,0)):\n",
" data = np.expand_dims(x_data[n], axis=0)\n",
" yield [data.astype(np.float32)]\n",
" \n",
Expand Down
1,646 changes: 456 additions & 1,190 deletions Train_CNN_Ana-Class100_S2.ipynb

Large diffs are not rendered by default.

2,200 changes: 1,361 additions & 839 deletions Train_CNN_Ana-Cont-S2.ipynb

Large diffs are not rendered by default.

0 comments on commit 51c8d83

Please sign in to comment.