Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
argraur committed Mar 20, 2024
1 parent 9d17e2a commit 4464511
Show file tree
Hide file tree
Showing 9 changed files with 268 additions and 344 deletions.
208 changes: 56 additions & 152 deletions predict-letter-32x32rgb.ipynb

Large diffs are not rendered by default.

337 changes: 151 additions & 186 deletions russian-cursive-32x32rgb.ipynb

Large diffs are not rendered by default.

Binary file added testdata/БУКВАБ.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/БУКВАИ.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/БУКВАП.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/и.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/о.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions tflite.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -17,21 +17,21 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 17,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"INFO:tensorflow:Assets written to: C:\\Users\\argraur\\AppData\\Local\\Temp\\tmp0f51h_09\\assets\n"
"INFO:tensorflow:Assets written to: C:\\Users\\argraur\\AppData\\Local\\Temp\\tmp2igbpi39\\assets\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:tensorflow:Assets written to: C:\\Users\\argraur\\AppData\\Local\\Temp\\tmp0f51h_09\\assets\n"
"INFO:tensorflow:Assets written to: C:\\Users\\argraur\\AppData\\Local\\Temp\\tmp2igbpi39\\assets\n"
]
}
],
Expand All @@ -49,7 +49,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand All @@ -70,7 +70,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
Expand Down
55 changes: 55 additions & 0 deletions tflite_with_metadata-ok/russian-cursive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "Russian Cursive Letter Classifier V1",
"description": "Identify the most prominent object in the image from a set of 66 categories.",
"version": "v1",
"subgraph_metadata": [
{
"input_tensor_metadata": [
{
"name": "image",
"description": "Input image to be classified. The expected image is 32 x 32, with three channels (red, blue, and green) per pixel. Each value in the tensor is a single byte between 0 and 255.",
"content": {
"content_properties_type": "ImageProperties",
"content_properties": {
"color_space": "RGB"
}
},
"stats": {
"max": [
255.0
],
"min": [
0.0
]
}
}
],
"output_tensor_metadata": [
{
"name": "probability",
"description": "Probabilities of the 66 labels respectively.",
"content": {
"content_properties_type": "FeatureProperties"
},
"stats": {
"max": [
1.0
],
"min": [
0.0
]
},
"associated_files": [
{
"name": "class_names-dataset.txt",
"description": "Labels for objects that the model can recognize.",
"type": "TENSOR_AXIS_LABELS"
}
]
}
]
}
],
"author": "[email protected]",
"license": "Apache License. Version 2.0 http://www.apache.org/licenses/LICENSE-2.0."
}

0 comments on commit 4464511

Please sign in to comment.