summaryrefslogtreecommitdiff
path: root/src/notebooks/03a-line-prediction.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'src/notebooks/03a-line-prediction.ipynb')
-rw-r--r--src/notebooks/03a-line-prediction.ipynb31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/notebooks/03a-line-prediction.ipynb b/src/notebooks/03a-line-prediction.ipynb
index 65c6dd6..336614f 100644
--- a/src/notebooks/03a-line-prediction.ipynb
+++ b/src/notebooks/03a-line-prediction.ipynb
@@ -49,7 +49,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "2020-09-01 23:37:29.664 | DEBUG | text_recognizer.datasets.emnist_lines_dataset:_load_data:164 - EmnistLinesDataset loading data from HDF5...\n"
+ "2020-09-09 20:38:27.854 | DEBUG | text_recognizer.datasets.emnist_lines_dataset:_load_data:164 - EmnistLinesDataset loading data from HDF5...\n"
]
}
],
@@ -71,6 +71,35 @@
"cell_type": "code",
"execution_count": 6,
"metadata": {},
+ "outputs": [],
+ "source": [
+ "data, target = emnist_lines[0]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "torch.Size([34])"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "target.shape"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
"outputs": [
{
"name": "stderr",