roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

Darknet issue #591

Closed Davo-Exp4 closed 1 year ago

Davo-Exp4 commented 1 year ago

Hi, I ran into a problem:

child_process.darknet.object_detector.process: cudnn_check_error: Unknown error -1003271837 Traceback (most recent call last): File "/src/viseron/components/init.py", line 152, in setup_component result = component_module.setup(self._vis, config) File "/src/viseron/components/darknet/init.py", line 123, in setup vis.data[COMPONENT] = DarknetNative(vis, config[CONFIG_OBJECT_DETECTOR]) File "/src/viseron/components/darknet/_init.py", line 326, in _init raise LoadDarknetError("Failed to load Darknet network in child process") viseron.components.darknet.LoadDarknetError: Failed to load Darknet network in child process [2023-05-04 12:52:52] [ERROR ] [viseron.components] - Uncaught exception setting up component darknet: Failed to load Darknet network in child process None [2023-05-04 12:52:52] [ERROR ] [viseron.components] - Setup of component darknet failed [2023-05-04 12:52:52] [ERROR ] [viseron.components] - Failed setup of component darknet

I am using a NVIDIA QUADRO K5000 GPU, this is my nvidia-smi output. Any suggestions thanks.

image

roflcoopter commented 1 year ago

Your GPU is not supported sadly, it has compute capability 3.0 and Darknet builds for 3.5 and up. https://github.com/AlexeyAB/darknet/blob/ed59050950b5a890a2a1d1c69547250c436a5968/Makefile#L20-L23

CUDA 11, which Viseron is built on does not support 3.0 either, so i am sorry but i cant do anything about that