ocrd_all
ocrd_all copied to clipboard
calamari-recognize does not make use of gpu
Tried with docker maximum-cuda
.
See https://github.com/OCR-D/ocrd_calamari/issues/68 for the discussion upstream.
There's the wrong CUDA Toolkit version for the TF version in the image:
https://github.com/OCR-D/ocrd_calamari/issues/68#issuecomment-951998665
→ https://github.com/OCR-D/ocrd_all/issues/263
TensorFlow and CUDA, the endless joy:
(headless-tf2) root@29b1f018638e:/usr/local/sub-venv/headless-tf2# pip list | grep tensorflow
tensorflow 2.6.0
(headless-tf2) root@29b1f018638e:/usr/local/sub-venv/headless-tf2# find /usr/ -name "libcuda.so*"
/usr/local/cuda-10.0/compat/libcuda.so.1
/usr/local/cuda-10.0/compat/libcuda.so
/usr/local/cuda-10.0/compat/libcuda.so.410.129
So this is CUDA Toolkit 10.0 but PyPi's TensorFlow 2.6.0 requires CUDA Toolkit 11.1 or 11.2.1 (see https://github.com/mikegerber/test-nvidia README for the full list of compatible versions.)
Should be fixed by #362 – please reopen if not.