10.02.2024, 19:21
In the script I added the following code
and I got
I suspect that is not used.
In eddiehe99 dib-whl version there is the following section regarding CUDA configuration:
but in Hybrid are missing both cudnn.lib and cudart.lib.
So I think that CUDA is not enabled.
import dlib
core.log_message(2,'DLIB_USE_CUDA: ' + str(dlib.DLIB_USE_CUDA))
core.log_message(2,'cuda.get_num_devices: ' + str(dlib.cuda.get_num_devices()))
and I got
DLIB_USE_CUDA: False
cuda.get_num_devices: 1
I suspect that is not used.
In eddiehe99 dib-whl version there is the following section regarding CUDA configuration:
With CUDA
If you use CUDA, configure the code:
if "ON" == "ON":
add_lib_to_dll_path(
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/vXX.X/lib/x64/cudnn.lib"
)
add_lib_to_dll_path(
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/vXX.X/lib/x64/cudart.lib"
)
The XX.X depends on your situation or the whole filepath may be different based on your installation configuration.
but in Hybrid are missing both cudnn.lib and cudart.lib.
So I think that CUDA is not enabled.