Replies: 1 comment
-
To fine-tune a detection model to specifically detect only the card number part of bank cards, you need to focus on both the dataset preparation and the model configuration. Here are some steps and recommendations based on your experiments and the provided documents: 1. Dataset Preparation
2. Model Configuration and Fine-Tuning
3. Model Selection
4. Training from Scratch
5. Improving Precision
Summary
By following these steps, you should be able to fine-tune the detection model to focus specifically on the card number part of the bank cards. Response generated by 🤖 feifei-bot | deepseek-chat |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi,
I have some photos of bank cards and I want the detection model to detect only the card number part, the detection model of paddleocr detects all data on the card(card number , expiration date, cardholder name, bank name, ...) . I decided to fine tune the model with 13,500 photos.
In first experiments i used "configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml" config with "en_PP-OCRv3_det_distii_train" mode as pretrained model. Initially, the precision was 13%, but after more than 1,000 epochs, the precision is still very low ( precision =18% and recall =97% ). It seems that the model still detects a lot of boxes that I don't need.
in the second experiment i used "configs/det/det_mv3_db.yml" as config file and set global.pretrained = "" , in order to train from scratch. in this scenario i achieved precision of 58% and recall of 89 %. however the precision deos not increase more.
1-How should I fine-tune the detection model in order to only detects the card number?
2- which config file and pretrained model is best for this task?
Beta Was this translation helpful? Give feedback.
All reactions