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

Some more details on modified yolo #8

Open
MarcGyongyosi opened this issue Sep 29, 2017 · 4 comments
Open

Some more details on modified yolo #8

MarcGyongyosi opened this issue Sep 29, 2017 · 4 comments
Assignees

Comments

@MarcGyongyosi
Copy link

Hi team,

First of all thanks a lot for releasing the code. Great work!

Could you point me to some references on your workflow from training yolo with darknet then converting the cfg and weights to Caffe and making the modifications to yolo? Which script(s) did you use to convert and what is the performance difference between your yolo with TensorRT vs the darknet yolo/yolo2 implementations on a TX1/2? I was only able to find some timing measurements in you GTC slides, but no comparison in terms of mAP or any other detection quality measure.

Thanks!
Marc

@Alexey-Kamenev
Copy link
Collaborator

Hi Marc,
The way we trained our version of the model was very similar to the original YOLO v1 experiments:

  1. Train slightly modified version of YOLO in darknet. The reason we had to change the topology was TensorRT did not support some of the features (like Leaky ReLUs or untied convolutions) at that time. I've added the darknet config file here.
  2. Convert the resulting weights file to Caffe format. The script that we wrote was somewhat hacky :) so we decided not publish it until we make it pretty. However, there are darknet -> Caffe converters like this which hopefully should work.

@Alexey-Kamenev Alexey-Kamenev self-assigned this Sep 30, 2017
@MarcGyongyosi
Copy link
Author

Hi Alexey,

Thanks a lot! This was very helpful and I think this should work for what we want to test.

If you have any performance metrics to compare TensorRT vs the darknet implementation that would also be very interesting to see. We will run our own benchmark tests anyways, though, so no problem if you can't release them.

Thanks!
marc

@MarcGyongyosi
Copy link
Author

Hi Alexey,

Would you have the original darknet weights file available for reference?

Thanks!
Marc

@Alexey-Kamenev
Copy link
Collaborator

Hi Marc,
I've uploaded the weights to my branch (alexeyk/yolo), please do git pull. We will merge it into master in the next release along with more YOLO-related info.

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

2 participants