-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCR Plugin on another computer #6
Comments
Are you using the file https://github.com/arkohut/pensieve/blob/master/memos/plugins/ocr/server.py ? It works for me... Can you show more logs and error messages about this. |
Could you please show the full commands to start up the ocr predict server. |
I just run |
That’s so weird. I’m using the same method, and it works for me. Based on your log, it seems like there’s no indication of which inference engine is being used. For instance, in my logs, it shows that I’m using onnxruntime CPU. |
What data do the client sends to the server? I am on Linux using the PR I opened, could it be that? |
@tcsenpai I am sorry. It is http://localhost:5555/docs |
@arkohut ok the /docs endpoint works. I have to diagnose what is sent from the localhost client to the OCR Server , will try to do it |
@arkohut I used ocr plugin in master branch, and same issue occured. |
I know the reason. Because you initialize |
share my dockerfile:
requirements.txt:
logs:
|
Yes, you are right. I will fix such a bug. |
Great debugging work. I will wait for the fix and test on my instance as well. |
The work is already done. Check it out! |
aaaaand it works :) Kudos! |
As the OCR plugin is very heavy on the CPU, I managed to follow the README.md for the OCR plugin and start it on another PC in my LAN.
When I configure, either manually or with the plugin command, the OCR endpoint to be remote, I get always "500 Error" with "NoneType" received by the OCR endpoint.
Configuration:
The text was updated successfully, but these errors were encountered: