-
Notifications
You must be signed in to change notification settings - Fork 134
training accuracy #56
Comments
How large is your dataset and how long are you training for? Depending on the size of the dataset, it can take a long time for the model to start converging and accuracy to improve, so ensure you training for a sufficient number of epochs. Or if the number of images for each character is too small, training performance may also be negatively impacted. |
Is the image you posted showing the training run for the white background images? Based on that image, it looks like you've reached a decent accuracy, but it seems like you've reached a training saturation point where additional training does not help as shown by the constant fluctuations. The training can probably be stopped around where the training accuracy is consistently mid-90%. You can definitely reduce the number of epochs for training in that case. What I don't have here in this project is mechanism for early stopping by checking the accuracy on a validation set of images every 1000 steps or so and stopping the training when validation accuracy begins to decline. In any case, I'm sure there are better models out there as this is a fairly simple model which was extended from the MNIST TensorFlow model. Its focus is on showcasing the end the end process of data generation to app deployment and not so much creating a state of the art Hangul recognition model. I think the accuracy you've gotten is reasonable, but if it is not sufficient, then for this project's model, you can always tweak the architecture of the model to add more nodes/layers. This will increase the learning capacity of the model. There are other hyperparameter tunings you could do such as changing the batch size, dropout rate, etc, but finding the optimal settings is likely to be time consuming and tough. |
@pvaneck my train code is here Can you advise me to get higher performance? I will try. Thanks in advance |
hi author
I have changed datasets, including blur, rotate, scale.
black fond and white background images create (contrary to this project )
but training accuracy does not improve..
Can you tell me what problem is
The text was updated successfully, but these errors were encountered: