diff options
Diffstat (limited to 'src/notebooks/02b-emnist-lines-dataset.ipynb')
-rw-r--r-- | src/notebooks/02b-emnist-lines-dataset.ipynb | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/src/notebooks/02b-emnist-lines-dataset.ipynb b/src/notebooks/02b-emnist-lines-dataset.ipynb index fb856c5..0f2626f 100644 --- a/src/notebooks/02b-emnist-lines-dataset.ipynb +++ b/src/notebooks/02b-emnist-lines-dataset.ipynb @@ -2,18 +2,9 @@ "cells": [ { "cell_type": "code", - "execution_count": 7, + "execution_count": 1, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "The autoreload extension is already loaded. To reload it, use:\n", - " %reload_ext autoreload\n" - ] - } - ], + "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2\n", @@ -31,7 +22,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -40,27 +31,28 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "emnist_lines = EmnistLinesDataset(train=False,\n", - " max_length = 97,\n", + " max_length = 34,\n", " min_overlap = 0.0,\n", " max_overlap = 0.33,\n", - " num_samples = 10_000,)" + " num_samples = 5_000,)" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 9, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2020-10-25 18:35:53.133 | DEBUG | text_recognizer.datasets.emnist_lines_dataset:_load_data:147 - EmnistLinesDataset loading data from HDF5...\n" + "2020-11-12 08:12:02.064 | DEBUG | text_recognizer.datasets.emnist_lines_dataset:_generate_data:154 - Generating data...\n", + "2020-11-12 08:12:05.917 | DEBUG | text_recognizer.datasets.emnist_lines_dataset:_load_data:147 - EmnistLinesDataset loading data from HDF5...\n" ] } ], @@ -70,7 +62,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -80,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 8, "metadata": { "scrolled": false }, @@ -209,7 +201,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -222,8 +214,8 @@ "Max overlap: 0.33\n", "Num classes: 80\n", "Input shape: (28, 952)\n", - "Data: (1000, 28, 952)\n", - "Tagets: (1000, 34)\n", + "Data: (5000, 28, 952)\n", + "Tagets: (5000, 34)\n", "\n" ] } |