tberg12 / ocular

Ocular is a state-of-the-art historical OCR system.
GNU General Public License v3.0
250 stars 48 forks source link

CUDA Compatibility Issue #7

Open LeviDobbins opened 6 years ago

LeviDobbins commented 6 years ago

Hi Dan,

Currently trying to run this code with the CUDA Emission Engine (on a mac), but am finding the following issue.

The following screenshot shows the code I used (For step 3 or the 'Font Train' Stage)

https://user-images.githubusercontent.com/35239930/35587210-d4a695c0-0648-11e8-9aac-262700378b64.png

And the following image shows the error code I'm receiving:

https://user-images.githubusercontent.com/35239930/35587241-f25caeba-0648-11e8-9301-03567614b091.png

Basically the main issue is: "No resource found with name '/lib/libJCudaDriver-apple-x86_64.jnilib"

I'm assuming the issue is that this program was designed to operate with an older version of CUDA than I am using and so I was wondering what version it was designed to work with? or, how you would modify the code to suit a newer version of CUDA.

Any help would be great.

Thanks,

Levi

tberg12 commented 6 years ago

Thanks for pointing out this issue! Java/CUDA have always been a bit finicky together -- might be CUDA versions as you say. Let me take a look and get back to you.

On Tue, Jan 30, 2018 at 2:41 PM, LeviDobbins notifications@github.com wrote:

Hi Dan,

Currently trying to run this code with the CUDA Emission Engine (on a mac), but am finding the following issue.

The following screenshot shows the code I used (For step 3 or the 'Font Train' Stage)

And the following image shows the error code I'm receiving:

Basically the main is: "No resource found with name '/lib/libJCudaDriver-apple-x86_64.jnilib"

I'm assuming the issue is that this program was designed to operate with an older version of CUDA than I am using and so I was wondering what version it was designed to work with? or, how you would modify the code to suit a newer version of CUDA.

Any help would be great.

Thanks,

Levi

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tberg12/ocular/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-8FEvbzRg0vbbMw1lWJ2VD-FdXiqnvks5tP3BxgaJpZM4Ry5fe .

tberg12 commented 6 years ago

Could you try running the OpenCL emission engine and let me know what happens?

LeviDobbins commented 6 years ago

No worries Dan,

Apologies for the delayed response.

I ran the program using the OpenCL emission engine and didn't run into any issues. The program produced a reasonably accurate transcription output.

Regards, Levi

vladie3 commented 6 years ago

Hello,

I am getting the following error when I try to compile:

cp: cannot stat 'lib/JCuda-All-0.6.0-bin-linux-x86_64/': No such file or directory cp: cannot stat 'lib/JCuda-All-0.6.0-bin-apple-x86_64/': No such file or directory

I am doing this in Windows. Should be in Linux? I am new to this and apologize ahead of time.

Best,

Vlad