Skip to content

Digits and marks recognition 2#78

Open
dmitry-brazhenko wants to merge 4 commits intomasterfrom
digits_and_marks_recognition_2
Open

Digits and marks recognition 2#78
dmitry-brazhenko wants to merge 4 commits intomasterfrom
digits_and_marks_recognition_2

Conversation

@dmitry-brazhenko
Copy link
Copy Markdown
Collaborator

Собственно говоря, тут обновленная единая модель, которая выдает 12 классов.
0-9 цифры, 10–пустота, 11 –галочка/крестик.

В отличие от базовой модели она чувствительная. Какая-то ахинея (закрашивание/кружочек/стрелочка) не будут опознаны как крестик. Хорошо опознаются нормальные крестики + нормальные галочки (в т.ч. и повернутые).

По-хорошему, надо оставить и обратную совместимость к старой модели.

Качество отдельно на цифрах ~0.998 на тестовой MNIST выборке.

Copy link
Copy Markdown
Member

@ferrine ferrine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • polish LFS, allow datasets only
  • Jupiter notebook -> hackmd.io or other notes in web
  • paint (see comments)

from PIL import Image, ImageDraw
import numpy as np
import matplotlib.pyplot as plt
from keras.models import model_from_json
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to ONNX pls

import numpy as np
import matplotlib.pyplot as plt
from keras.models import model_from_json
model = model_from_json(open("models/mnist_mega_model_4_sep_1_7.json").read())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pass as argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants