Open ghost opened 5 years ago
@jksLearning Hi,
Show screenshot of output of this command
nvcc --version
What command do you use for detection?
Did you get this screenshot during Darknet execution?
GPU:
1.
2. ./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights /home/jshede/timelicameramodule/images/videos/DMTV01/2019-04-22/2019-04-22-19-46-31.mp4 -don't_show
top
commandTry to keep un-commented these lines: https://github.com/AlexeyAB/darknet/blob/cce34712f6928495f1fbc5d69332162fc23491b9/Makefile#L16-L20 And comment this line: https://github.com/AlexeyAB/darknet/blob/cce34712f6928495f1fbc5d69332162fc23491b9/Makefile#L37
If it doesn't help, try to update your GPU-drivers.
Yes, I cloned the repo today and did not get any improvement
Nothing was changed in cfg-file
CPU usage ranges from 10%-25%
Tested on another video and got 23 fps
Same result with lines 16-20 uncommented and line 37 commented out.
I appreciate you helping out with this!
Can you show screenshot of output of top
command?
Try to compile with LIBSO=1
in the Makefile and run this command, what FPS can you get?
LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./uselib data/coco.names cfg/yolov3.cfg yolov3.weights test.mp4
Top output while running
./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights /home/jshede/timelicameramodule/images/videos/DMTV01/2019-04-22/2019-04-22-19-46-31.mp4 -dont_show
The command you suggested fails because
I use -dont_show with the other command because I did not install libgtk2.0 with OpenCV as I am running on a cluster that requires me to ssh into, Is there a similar option for uselib?
Updated my drivers and am getting this error now. Have you ever encountered this error prior @AlexeyAB ?
CUDA status Error: file: /home/jshede/timelicameramodule/stalled_veh/darknet/src/dark_cuda.c : () : line: 36 : build time: Apr 30 2019 - 20:27:45 CUDA Error: unknown error CUDA Error: unknown error: Bad file descriptor darknet: /home/jshede/timelicameramodule/stalled_veh/darknet/src/utils.c:293: void error(const char*): Assertion
0' failed.
Aborted (core dumped)`
My output from running make
looks the same as before. Not quite sure why this is happening.
@jksLearning It's a CUDA error. I don't know why.
Hello,
I am getting slow fps (~24) while using a Tesla p100 GPU on a 480x270 video. I have played around with configurations but cannot find a way to increase it. Testing the same video using darknet on a GTX 1080 is getting around 60 fps.
Below are the details of my setup:
GPU:
Makefile:
How could I go about speeding up the fps? I need it to be around the 60 mark for an application I am working on. I have also used ( cmake . && make ) to install darknet and this did not improve the fps. Thank you!