Google Colabで
Pytorchでニューラルネットワークの訓練等にGPUの利用は可能な状態なのに、どうして
cv2.cuda.getCudaEnabledDeviceCount() = 0
でしょうか。
ちなみに、
img_src = cv2.imread('/content/drive/MyDrive/omicron.jpg')
mg_gpu_src = cv2.cuda_GpuMat()
はエラーにならなかったが、下記の文にエラーが発生しました。
img_gpu_src.upload(img_src)
error: OpenCV(4.6.0) /io/opencv/modules/core/include/opencv2/core/private.cuda.hpp:106: error: (-216:No CUDA support) The library is compiled without CUDA support in function 'throw_no_cuda'
さようならば
compiled with CUDA のライブラリーをどうやって利用できるのでしょうか。
どうぞよろしくお願いします
あなたの回答
tips
プレビュー