Skip to content

Training Detection model on custom data #6102

Answered by LDOUBLEV
gibotsgithub asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, which model do you wish to finetune?
There are three models for you to choose from, namely PPOCR, PPOCRv2, PPOCRV3. model_list

Take the training of the PPOCRv3 model as an example.
The PP-OCRv3 model trained on chinese data are follows.

The model for english.
https://github.com/PaddlePaddle/PaddleOCR/blob/release%2F2.5/doc/doc_en/models_list_en.md#12-english-detection-model

And corresponding config files.

First, verify that the prediction can get the result after loading the pretrained weight.

wget https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_det_distill_train.tar
tar xf ch_PP-OCRv3_det_distill_train.tar 
# inference 
python3 tools/infer_det.py -c configs/det/ch_PP-O…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Evezerest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants