Replies: 4 comments 2 replies
-
And this is my config file : Optimizer: Architecture:
PostProcess: Metric: Train: |
Beta Was this translation helpful? Give feedback.
-
There are several possible reasons why your trained model loses accuracy after exporting:
Possible Solutions:
Would you be able to test these steps and check if the issue persists? Response generated by 🤖 feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue. The output is complete nonsense whether I use the last checkpoint or the inference model, but the training said my accuracy was 99% from the beginning. It would not run at all on GPU unless I used the beta version based on this error: It seems there is an issue during training because I don't see how it went from something that was not very accurate before to having 99% accuracy on pretrain which was at best 93% using CPU version:
The predicts_ppocrv3_en file gives output with random letters and special characters instead of what should be predicted. Example:
Please resolve this issue because CPU is way too slow to train on this amount of data, and the GPU version is inaccurate or unstable. I am using this line to train using CPU: This is using GPU: and this was used to generate the inference model:
|
Beta Was this translation helpful? Give feedback.
-
you may need try paddlle 3.0 python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have achieved ~99% accuracy during training. I want to use my trained model in code, for example, instead of typing the command in the terminal every time.
from paddleocr import PaddleOCR,draw_ocr
ocr = PaddleOCR(rec_model_dir='{your_rec_model_dir}', rec_char_dict_path='{your_rec_char_dict_path}')
img_path = 'img_12.jpg'
result = ocr.ocr(img_path)
But when using this code and the final output model based on my trained model on the training dataset , the accuracy was decreased 9%.
Why does it happen like this?
Beta Was this translation helpful? Give feedback.
All reactions