Open ixayy opened 5 years ago
There's a bug right now that makes acceleration always appear as off. Just make sure you have the CUDA drivers installed and everything should work fine.
Acceleration is enabled but it just doesn't tell you -- I'm working on a bug fix for this.
I still only get about 20fps though, is that expected from a 1050 Ti or should it be higher?
I still only get about 20fps though, is that expected from a 1050 Ti or should it be higher?
@ixayy should be higher I get about 150 using a 1060
Sent with GitHawk
I still only get about 20fps though, is that expected from a 1050 Ti or should it be higher?
@ixayy should be higher I get about 150 using a 1060
Sent with GitHawk
Could you possibly give me the instructions to properly get the acceleration working? I feel like I've done something wrong here.
You need to have a custom-built OpenCV with Cuda enabled
@AutisticDragon just install opencv-contrib-python or make own build with WITH_CUDA=ON ?
980ti, going at about 30 fps, while CUDA seems OFF. Why is this? anybody can help?
980ti, going at about 30 fps, while CUDA seems OFF. Why is this? anybody can help?
go to pine/lib/pine.py edit and search and then replace # load our YOLO object detector trained on COCO dataset (2 classes)
print("[INFO] loading neural-network from disk...")
net = cv2.dnn.readNetFromDarknet(configPath, weightsPath)
net.setPreferableBackend(cv2.dnn.DNN_BACKEND_CUDA)
net.setPreferableTarget(cv2.dnn.DNN_TARGET_CUDA)
make sure both are cuda
I've installed the toolkit, cant seem to understand how to enable the Acceleration inside of Pine however.