Replies: 1 comment 1 reply
-
The issue you are encountering (" Here are some steps you can take to resolve the issue and align the configurations with your custom dataset: 1. Root Cause of
|
Beta Was this translation helpful? Give feedback.
-
🔎 Search before asking
🐛 Bug (问题描述)
Hello,
I am training the PP-OCRv4 recognition model using my custom dataset. The average size of the images in my dataset is 144x320 (height x width). To align with this, I modified the
image_shape
,d2s_train_image_shape
,scales
parameter in the configuration file https://github.com/PaddlePaddle/PaddleOCR/blob/0d41ffc91d218d0abd6ed7e27c23983740ca3cb1/configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_hgnet.yml to reflect my target image size.After training, the evaluation phase, as shown as (2). Notably, with the default configuration (image_shape: [3, 48, 320]), the training and evaluation processes ran without any issues.
Could you please help me resolve this issue?
Thank you!
🏃♂️ Environment (运行环境)
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
python ./PaddleOCR/tools/train.py -c ./configs/ch_PP-OCRv4_rec_hgnet.yml
Beta Was this translation helpful? Give feedback.
All reactions