Skip to content

Commit

Permalink
Cleanup 008-plate-ocr.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
a4tunado committed Jun 24, 2020
1 parent f4e5cab commit fcd8b6c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions 008/008-plate-ocr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -400,15 +400,6 @@
" steps_per_epoch=data.steps_per_epoch)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"model.save_weights('data/plate/plate-ocr.hdf5')"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -465,7 +456,7 @@
" fig.add_subplot(ax2)\n",
" print('Predicted: %s\\nExpected: %s' % (labels_pred[i], labels[i]))\n",
" ax1.set_title('Input img')\n",
" ax1.imshow(np.squeeze(imgages[i]), cmap='gray')\n",
" ax1.imshow(np.squeeze(batch_img[i]), cmap='gray')\n",
" ax1.set_xticks([])\n",
" ax1.set_yticks([])\n",
" ax2.set_title('Acrtivations')\n",
Expand Down

0 comments on commit fcd8b6c

Please sign in to comment.