-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to train model on SynthText #96
Comments
SSDLoss Copyright (C) 2017 Pierluigi Ferrari This program is free software: you can redistribute it and/or modify This program is distributed in the hope that it will be useful, You should have received a copy of the GNU General Public License import tensorflow as tf class SSDLoss:
` |
Box encoder `# -- coding: utf-8 -- @author: deepakc import numpy as np def convert_coordinates(tensor, start_index, conversion):
def iou(boxes1, boxes2):
def _greedy_nms2(predictions, iou_threshold=0.45):
def decode_y2(y_pred, img_height, img_width, confidence_thresh = 0.5, iou_threshold = 0.7):
class SSDEncoder:
|
Model Copyright (C) 2017 Pierluigi Ferrari This program is free software: you can redistribute it and/or modify This program is distributed in the hope that it will be useful, You should have received a copy of the GNU General Public License import numpy as np from keras.applications.vgg16 import VGG16 def build_model(image_size,
` |
I implemented Textboxes in keras and trained on SynthText on about 1,50,000 images( I am using this figure and not epoch because I am not giving it complete data altogether). I stopped training and verified its results, it is predicting background class in most of the cases. Text class is predicted with accuracy 2.7%. Should I run my model for longer time or is there something wrong I am doing?
The text was updated successfully, but these errors were encountered: