I’m trying to reproduce the result described in this tutorial: https://devblogs.nvidia.com/object-detection-gpus-10-minutes/, which uses a special docker image.
I pulled and ran the docker successful using ./setup_environment.sh, but when I called ‘python SSD_Model/detect_objects_webcam.py’ as instructed, I got the following error message:
root@b54ce065632c:/mnt# python SSD_Model/detect_objects_webcam.py
Traceback (most recent call last):
File "SSD_Model/detect_objects_webcam.py", line 12, in <module>
import utils.inference as inference_utils # TRT/TF inference wrappers
File "/mnt/SSD_Model/utils/inference.py", line 57, in <module>
import pycuda.autoinit
File "/usr/local/lib/python3.5/dist-packages/pycuda/autoinit.py", line 9, in <module>
context = make_default_context()
File "/usr/local/lib/python3.5/dist-packages/pycuda/tools.py", line 204, in make_default_context
"on any of the %d detected devices" % ndevices)
RuntimeError: make_default_context() wasn't able to create a context on any of the 1 detected devices
Anyone has any clue about this error?