Giter Site home page Giter Site logo

Comments (5)

saswat0 avatar saswat0 commented on June 15, 2024

Hi @MingRongXi
Your GPU seems reasonably fine and should provide you with a decent FPS. Please ensure that you build darknet with the cuda and cudnn flags as 1.
I could get an FPS of 5 on a CPU only system (Intel i7 8th gen) and 12 with a Tesla K80 GPU (colab)

from license-plate-recognition.

MingRongXi avatar MingRongXi commented on June 15, 2024

Thank you, saswat0. I complied the darknet with the gpu and cudnn flags as 1, so the stage of vehicle-detection and ocr which realized with yolo is very fast. But the wpod-net takes a lot of time, it spends 3s or 4s processing an image. I run it with the tensorflow-gpu and keras-gpu, which are installed by the command: conda install tensorflow-gpu, conda install keras-gpu. And the speed of GPU and CPU in wpod net is almost the same.

from license-plate-recognition.

saswat0 avatar saswat0 commented on June 15, 2024

The keras implementation of wpod-net is not memory optimised and hence takes the longest time
You could try skipping frames, running your video source in a separate thread or downgrading the video quality.
Also, what's your cuda and cudnn version? I worked best with cuda 10.2 and cudnn 7.6.5 in my case

from license-plate-recognition.

MingRongXi avatar MingRongXi commented on June 15, 2024

My cuda version is 10.2, so I install the cudatoolkit and cudnn with the command: conda install cudatoolkit

from license-plate-recognition.

MingRongXi avatar MingRongXi commented on June 15, 2024

Sorry, saswat0, I clicked in a wrong place that closed the issue. My cuda version is 10.2, so I install the cudatoolkit and cudnn with the command: conda install cudatoolkit=10.2, conda install cudnn. Because the first command specifies the cudatoolkit version, so the cudnn 7.6.5 is installed. Then I install the tensorflow-gpu with conda install tensorflow-gpu. The tensorflow-gpu 1.8 is installed. But when I run the python video.py, the gpu is not used.

from license-plate-recognition.

Related Issues (9)

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.