Replies: 3 comments
-
The error you are encountering while training PaddleOCR on the IAM dataset may be related to a mismatch in the data batch sizes or labels. Based on a similar issue discussed in this discussion, here are some steps you can take to diagnose and fix the problem: Steps to Resolve:
Further Debugging:
If the error persists, you may consider attaching the exact error traceback from the terminal rather than a screenshot for better debugging. Let me know if you need further clarifications! 🚀 Response generated by 🤖 feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
-
i fixed but show me another error C++ Traceback (most recent call last):0 paddle::pybind::eager_api_relu(_object*, _object*, _object*) Error Message Summary:ResourceExhaustedError: Out of memory error on GPU 0. Cannot allocate 50.000000MB memory on GPU 0, 3.622803GB memory has been allocated and available memory is only 8.937500MB. Please check whether there is any other process using GPU 0.
` |
Beta Was this translation helpful? Give feedback.
-
Hi, Apologies for the delay in getting back but I tried the solutions that you have mentioned, reduced the batch size as well and running it on CPU but still I am facing the same error. Basically I'm trying to train the IAM dataset and the labels are being loaded correctly with the corresponding images as shown below. Thats the piece of code I am using to extract image size and labels - import os data_dir = '/Users/IAM/resized' with open(label_file, 'r') as f: for i in range(10):
Output: Still the error that I'm encountering is: I0327 16:52:25.405913 3941876288 kernel_dispatch.h:102] Get BackendSet from tensor Thanks for the help in advance! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to train PaddleOCR on IAM dataset for handwriting text recognition project that I am developing, I have created a labels.txt file as well for all the images in the dataset but when I am running the command: !python3 tools/train.py -c configs/rec/rec_icdar15_train.yml, the error in attached screenshot is being encountered.
Would be helpful if anyone can help me resolve it. Happy to provide further details as well.

Thank you.
Beta Was this translation helpful? Give feedback.
All reactions