phamdinhkhanh / general_ocr

61 stars 12 forks source link

Import error: undefine symbol #6

Open theohsiung opened 1 year ago

theohsiung commented 1 year ago

Dear author, When I run the test command: python general_ocr/utils/ocr.py demo/mrbean.png --print-result --imshow --det TextSnake --recog SEG

The output error is like this: ImportError: /home/avlab/general_ocr/general_ocr/_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _Z42SigmoidFocalLossBackwardCUDAKernelLauncherN2at6TensorES0_S0_S0_ff

Do you know the problem and how to fix that, please?