try uninstall opencv with cuda likely cuda device count is 1 perhaps that was is used by opencv when in yolo doesnt work im still try figure it out