Open tairen99 opened 2 years ago
The OCR is replacable. You can replce it with some local OCR package https://pypi.org/project/pytesseract/ However you need to rewrite the ocr_result function
Can you tell me in more detail?
Hey @tairen99, have you found the reason for this issue? We encountered the same problems.
Edit: By stepping through the execution we could pinpoint the code responsible for the process being stuck.
The issue appears to be image = cv2.resize(image, (new_width, new_height))
on line 30 in sample/bar.py
(and in other files in the same directory accordingly). We ended up using the suggestions from this thread and inserted multiprocessing.set_start_method('spawn', force=True)
at the beginning of train_chart.py
. Afterwards, everything worked as expected.
Hi Junyu,
Thank you for your good work on the chart extraction.
I follow the Readme and properly install the DeepRule, and I want to test the training code. Everything looks good at the beginning:
But for some reason, the training is hanging without any progress, I check the CPU usage and it has a zombie process as below:![image](https://user-images.githubusercontent.com/32938376/176088317-958fee5f-2a65-4ca9-951b-415771bf9791.png)
The GPU usage is below:![image](https://user-images.githubusercontent.com/32938376/176088406-d5b98f52-03d8-4de6-bb7b-be3729d29fb1.png)
Since I do not have an Azure account, I commented on code on file: "/DeepRule/models/CornerNetPurePie.py” at line 32: # from azureml.core.compute import ComputeTarget
I do not know what is the main reason for this. Please help us. Thank you in advance!