Git Product home page Git Product logo

Comments (10)

FidgetySo avatar FidgetySo commented on August 17, 2024 2

You need to have a custom-built OpenCV with Cuda enabled

from pine.

petercunha avatar petercunha commented on August 17, 2024

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.

from pine.

ixayy avatar ixayy commented on August 17, 2024

I still only get about 20fps though, is that expected from a 1050 Ti or should it be higher?

from pine.

xrv0 avatar xrv0 commented on August 17, 2024

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

from pine.

ixayy avatar ixayy commented on August 17, 2024

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.

from pine.

xrv0 avatar xrv0 commented on August 17, 2024

Make sure you installed cuda and cuDDN correctly.
If it still doesnt work, you could try to compile darknet and see if you get any errors

from pine.

OzgunKB avatar OzgunKB commented on August 17, 2024

Make sure you installed cuda and cuDDN correctly.
If it still doesnt work, you could try to compile darknet and see if you get any errors

I use it darknet with GTX 1070. I installed Cuda and CuDDN. Working.

I couldn't solve this problem.
cuda

from pine.

bakaInc avatar bakaInc commented on August 17, 2024

@AutisticDragon just install opencv-contrib-python or make own build with WITH_CUDA=ON ?

from pine.

regiumlepidi avatar regiumlepidi commented on August 17, 2024

980ti, going at about 30 fps, while CUDA seems OFF. Why is this? anybody can help?

from pine.

YADJ123 avatar YADJ123 commented on August 17, 2024

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)
# and determine only the output layer names that we need from YOLO
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

from pine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.