runtimeerror: (preconditionnotmet) the third-party dynamic library (cublas64_118.dll;cublas64_11.dll)
24년도 캡스톤프로젝트를 진행하며 마주친 오류에 대해 모두가 알았으면 시간을 아낄수 있을것같아 게시하게됐다.
runtimeerror: (preconditionnotmet)
the third-party dynamic library (cublas64_118.dll;cublas64_11.dll)
that paddle depends on is not configured correctly. (error code is 126)
파이썬에서 Paddle OCR 모델을 이용하여 OCR을 진행하기 위해
Java에서 파이썬 모델을 실행시켰을때 발생한 에러였다.
일단 오류의 내용 자체는 cublas64_11.dll이 없어서 에러가 났다고 작성되어있는것이였다.
그래서 구글링을 통해 해결법을 찾으려했다.
그 후 에러에 대한 정보를 찾아 에러를 고칠수있었는데 PaddlePaddle 깃허브에서 에러에 대해 발견할 수 있었다.
https://github.com/PaddlePaddle/Paddle/issues/38663
error code is 126 · Issue #38663 · PaddlePaddle/Paddle
标题:error code is 126 版本、环境信息: 1)PaddlePaddle版本:paddlepaddle-gpu-2.2.1.post112 2)CPU:3600X 3)GPU:3060 4)系统环境:win10、python3.8 5)cuda11.2.、cudnn8.2.1 6)Driver API Version: 11.5, Runtime API Version: 1.
github.com
위 이슈에 대해 번역기를 돌려가며 쭉 읽다가 충격적인 내용을 발견했다.
번역이 좀 이상하게됐지만 한마디로 cublas64_12를 복사해서 이름을 cublas64_11로 추가하라는 뜻...으로 이해하고 시도해봤다.
이렇게 복사를 한 후 진행을 하니....놀랍게도 실행이 되더라...라는 포스팅이다.
얘때문에 11시간 태움..... 일단 미완성이지만 git 주소도 올리겠다.
https://github.com/pojun406/illiterate
GitHub - pojun406/illiterate: 24년 캡스톤디자인
24년 캡스톤디자인. Contribute to pojun406/illiterate development by creating an account on GitHub.
github.com