Replies: 2 comments 2 replies
-
Answers to Your Questions:1. The loss and learning rates are decreasing, but the accuracy is constant at 0. Could this be due to the extremely small dataset or something else?Yes, the extremely small dataset (just 10 images) is a significant factor here. Models, especially deep learning models, require a sufficient amount of diverse data to generalize and improve accuracy. Here are a few possible reasons for the constant accuracy:
Suggestions:
2. Are the models saved in
|
Beta Was this translation helpful? Give feedback.
-
@l03126 thanks for the tag. @GreatV as expert many points have been covered. Let me give my piece regarding it. |
Beta Was this translation helpful? Give feedback.
-
I have a few pretty beginner questions on finetuning a model. For my use case most characters are recognized well except for few characters in my font that do not look like traditional characters (OCR-A Font). Hence, I plan on finetuning the model.
To test out the training, I experimented with a very small dataset of just 10 images. YML file below:
The results of the finetuning are as follows (first 2 epoch and last 2 epochs):
Questions:
The loss and learning rates are decreasing, however the accuracy doesn't seem to increase (constant 0). I assume it's because of the extremely small dataset, or could it be something else?
At the end of the finetuning, is the result models
/kaggle/working/finetuned_model/best_accuracy.states
,/kaggle/working/finetuned_model/best_accuracy.pdopt
and/kaggle/working/finetuned_model/best_accuracy.pdparams
the same model as/kaggle/working/finetuned_model/best_model/model.pdopt
and/kaggle/working/finetuned_model/best_model/model.pdparams
?Is there any other suggested way to finetune the model just for a specific font? I have already restricted the char_dict to only include the characters for my use case.
Is there an existing way of testing the finetuned model? Or must it be done manually? I plan to split my larger dataset later for Train, Test and Eval. (I have labelled the Eval set as Test in this scenario-please ignore)
Hey @VishyAnand28, hope you could provide your input for these questions. Really appreciate it
Beta Was this translation helpful? Give feedback.
All reactions