-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
differences between original repo and this fork #705
Comments
Hi,
You refer to the old commit (8 Nov 2017) from original repo where was Try to use the same
Also try to use the same weights & cfg files on this repo and original repo. |
oh, I refered to wrong commit by mistake, however, I used both repos with same nms( = .45) while testing and i also have tried to use the same weights and cfgs but still got the different results. and then I found the different lines from 2 repos, as i mentioned earlier:
Anyway, to be more clearer, my goal is to get the exactly identical results from original repo and this repo using same weight and cfg. |
Yes, it affects only on training. But if you use the same cfg/weights for detection, it should not affect.
It was done because: (1) pjreddie#344 and (2) opencv/opencv#9705 (comment)
|
Yeap I have done it already.
I am using my own weights which were trained from yolov3 via original repo.
this change is for speed up so it does not affect the detection result. In conclusion, the only option that I could apply is to change 'resize_image' into 'letterbox_image' but that is what I have already done to my code. Any suggestions? |
I have trained and detected with my own data set using original repo(pjreddie darknet) and this fork one after another under exactly same condition but they showed different results.
![clouds-fashion-free-103123](https://user-images.githubusercontent.com/31686617/39295027-44a1109a-4978-11e8-8f30-07df9aa81e26.jpg)
sometimes this fork double-detects the objects as you can see from the following image, while it never happens with original repo.
I followed the comment (#232) to make the results identical but still not perfectly matching, the double-detecting problem got relatively solved though.
And then I figured that the code not only here but also there:
original repo
https://github.com/pjreddie/darknet/blob/80d9bec20f0a44ab07616215c6eadb2d633492fe/examples/detector.c#L64-L65
this fork
https://github.com/AlexeyAB/darknet/blob/master/src/detector.c#L119-L120
are different.
What does this difference mean?
Will I get the identical result if I change this line?
or are there any other lines that are different from each other?
Looking forward to hearing from you
The text was updated successfully, but these errors were encountered: