Giter Club home page Giter Club logo

Comments (3)

hj3yoo avatar hj3yoo commented on August 25, 2024

I've also tried using video_demo.py, but it's not using my GPU for it:

edmond@edmond-OptiPlex-3020:~/Desktop/yolo_py_$ nvidia-smi
Thu Sep 13 14:28:24 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.54                 Driver Version: 396.54                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960     Off  | 00000000:01:00.0  On |                  N/A |
| 23%   51C    P0    29W / 130W |    641MiB /  4035MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1157      G   /usr/lib/xorg/Xorg                            26MiB |
|    0      1193      G   /usr/bin/gnome-shell                          49MiB |
|    0      1530      G   /usr/lib/xorg/Xorg                           275MiB |
|    0      1644      G   /usr/bin/gnome-shell                         152MiB |
|    0      2308      G   ...uest-channel-token=15699809938454097634   114MiB |
+-----------------------------------------------------------------------------+

As a result, the processing speed was less than 1fps, and wasn't even correct - it didn't generate identical detection result compared to when I used another C-based darknet repo

from yolo3-4-py.

madhawav avatar madhawav commented on August 25, 2024

Hi, did you install yolo34py with GPU enabled as explained here? You need to set some environment variables as explained above to enable GPU acceleration.

On the other hand, you can directly install the GPU version using the pip package.
pip install yolo34py-gpu

from yolo3-4-py.

abhigarg avatar abhigarg commented on August 25, 2024

Hi, you guys do not need to use any separate wrapper for Darknet-Yolo as the python script is already provided which uses the build from original darknet library. It will give same performance as the original darknet build. Refer to my repo for more details

from yolo3-4-py.

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.