sam-textvqa icon indicating copy to clipboard operation
sam-textvqa copied to clipboard

Error when running with newer version of python

Open kobrafarshidi opened this issue 1 year ago • 0 comments

Hi @yashkant and @junj1ehx You have runned this project with 2 titan gpu and python 3.6 Since version of python is 3.6, so Cuda should be 10 or less for computer despite couldn't detecting GPU. But now I want to run this project with RTX 3090 (24 ram) Cuda for this nvidia should be more than 11 cause otherwise couldn't detected GPU in that program. Now I run this project with cuda 12, python 3.8 and pythorch with cuda 11.7 when it runned gpu was detected but I have following error.

    from .cphoc import build_phoc as _build_phoc_raw
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

What should I do? How can I convert python to newer version from 3.6 to 3.8 or 3.9 and that project run correctly?

kobrafarshidi avatar Jun 27 '23 07:06 kobrafarshidi