mystic123 / tensorflow-yolo-v3

Implementation of YOLO v3 object detector in Tensorflow (TF-Slim)
https://medium.com/@pawekapica_31302/implementing-yolo-v3-in-tensorflow-tf-slim-c3c55ff59dbe
Apache License 2.0
893 stars 353 forks source link

mismatch between darket output and tensorflow-yolo-v3 output #40

Open hellbago opened 5 years ago

hellbago commented 5 years ago

I tried to compare the output of yolo-darknet and your version of yolo implemented in tensorflow in the following image. As you can see there is a clear mismatch between the two. I'n using tha same confidence and non-max suppresion thresholds. Further I'm using tensorflow 1.4 with cuda 8.0 on my laptop. Any comments about this? @mystic123 If you want to try by yourself this is the link of image that i've used: https://media.wired.com/photos/5afb61bd57c02d59cb85a80e/master/w_628,c_limit/GettyImages-469981581.jpg

Output from tensorflow-yolo-v3: tensorflow-yolo Output from darknet: darknet

alexanderfrey commented 5 years ago

@hellbago Did you use the latest version ?

hellbago commented 5 years ago

Do you mean the latest version of the code of this repo or the latest version of tensorflow? @alexanderfrey

sagarkar10 commented 5 years ago

Also having similar issue, can someone help me to compare the output of each layer... In my tesing, after the route layer is applied the outputs are not matching....

YunYang1994 commented 5 years ago

I think it's related to NMS algorithmn. hope it helps you https://github.com/YunYang1994/tensorflow-yolov3

LucasMahieu commented 5 years ago

I also have this error ! @mystic123 any idea ? I think it is related to this : https://github.com/mystic123/tensorflow-yolo-v3/issues/50 and https://github.com/mystic123/tensorflow-yolo-v3/issues/51

mystic123 commented 5 years ago

Sorry, I have no idea :/ I thought I this code works exactly the same as original implementation, but I may be wrong. All PRs with fixes are appreciated :)

mystic123 commented 5 years ago

Can someone check if this works with the latest PR merged (https://github.com/mystic123/tensorflow-yolo-v3/pull/49)?