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
Error when creating a new training data with windows 10 (wsl) #954
Comments
Hi @malee1382 I'm not sure the WSL works fine with Grobid. Try to run this in WSL?
If this program result in Enable the WSL mode and try to run pdfalto from the shell:
|
Dear Luca, Many thanks for your prompt reply! Indeed, when I ran the test.java it still returns windows. I also tried it with my intellij where I can set up wsl, it prints linux. So apparently, I am still missing something when setting up my wsl. Instead, now I have tried it with docker with the following compose file: version: '3' ,where retrain contains all the necessary folders (e.g., grobid-home, core, input (having the sample PDFs), output). Worked very smoothly! Many thanks again! |
That's great. 😄 I've added the reference to this issue in the documentation, in case other people are trying to use the WSL mode: https://grobid.readthedocs.io/en/latest/Troubleshooting/#windows-related-issues I'm closing the issue. Feel free to reopen in case of needs. |
Hi,
I am trying to create a training data in the batch mode following https://grobid.readthedocs.io/en/latest/Grobid-batch/
Since my OS is Windows 10, I use WSL to be able to handle it in Linux. Java version 1.8.0_311.
To test, I have created two folders under my grobid directory: /grobid/GROBID-RETRA/input (containing 10 sample PDFs where the largest one is 3000 KB) and /grobid/GROBID-RETRA/output
And run the following:
GHUM-L-E144KVB6:/mnt/host/c/grobid# java.exe -Xmx4G -jar grobid-core/build/libs/grobid-core-0.7.1-onejar.jar -gH grobid-home -dIn GROBID-RETRA/input -dOut GROBID-RE TRA/output -exe createTraining
Here is what I got once running it:
So, for each pdf I got the same error.
To me, the error is not informative at all so what steps should I follow to dig into this? Or am I missing something?
Thanks in advance!
Mehmet
The text was updated successfully, but these errors were encountered: