Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To detect the same picture, why is AB-version much better than PJ-version? #1277

Open
pascal1129 opened this issue Jul 25, 2018 · 5 comments

Comments

@pascal1129
Copy link

pascal1129 commented Jul 25, 2018

I'm interseted in human detection. I detected the same picture both with AB-version and PJ-version, i found AB-version is much better, i,m quite confused, what are differences between the two versions?

Here is my test picture:
p3

I uesd origin pj-version:
git clone https://github.com/AlexeyAB/darknet.git
wget https://pjreddie.com/media/files/yolov3.weights
I set Makefile: GPU=1, CUDNN=1, OPENCV=1, OPENMP=1, DEBUG=0

The serult is notgood:
pj-result

Then, i run ab-version:
git clone https://github.com/pjreddie/darknet
wget https://pjreddie.com/media/files/yolov3.weights
I set Makefile: GPU=1, CUDNN=1, CUDNN_HALF=0, OPENCV=1, AVX=1, OPENMP=1, LIBSO=0

The result is perfect to me:
ab-result

So why is so differnent, i,m quite confused.

@pascal1129 pascal1129 changed the title To detect the same picture, why is AB-version better than PJ-version? To detect the same picture, why is AB-version much better than PJ-version? Jul 25, 2018
@fabioac
Copy link

fabioac commented Jul 25, 2018

pascal1129,
whch GPU are you using? when you use CUDNN_HALF cause you to improve detection speed 3x on Titan V / Tesla V100 / DGX-2 and later. See in instruction on how to compile on linux.

@pascal1129
Copy link
Author

pascal1129 commented Jul 25, 2018

@fabioac
GTX1080ti * 2, Ubuntu 16.04

@fabioac
Copy link

fabioac commented Jul 25, 2018

set CUDNN_HALF=0 and run again to try

@pascal1129
Copy link
Author

@fabioac In fact, that's what i set, you can see it again.

@AlexeyAB
Copy link
Owner

@pascal1129
May be due to these differences: #232 (comment)
In my resize-approach objects sizes are larger than in the original resize-approach(letterbox).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants