-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add YOLO object detection model #552
Conversation
Hello @senarvi! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-08-11 15:29:11 UTC |
Codecov Report
@@ Coverage Diff @@
## master #552 +/- ##
===========================================
- Coverage 72.17% 23.64% -48.53%
===========================================
Files 121 124 +3
Lines 7550 8098 +548
===========================================
- Hits 5449 1915 -3534
- Misses 2101 6183 +4082
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We recently fixed some of the tests, so would you mind merging master branch? Also, it seems the change here is causing errors in CI, so would you mind resolving that, too?
…PyTorch versions.
this looks really good @senarvi! |
* IoU loss functions take image space coordinates as input.
@Borda I noticed also the formatting issues and fixed them by running the new formatting tools. |
cool, just restarting CI |
|
The test suite found still one problem with integer division with an older PyTorch version, but it should be fixed now. @Borda could you restart the CI? I don't see the error when running the tests with my PyTorch installation. |
@senarvi Hi, thanks again for all your work and patience! Just restarted CI again. I'll try to be active on this PR for the next few days until we get this PR merged :] |
@akihironitta correct me if I'm wrong, but the remaining error was something about CIFAR dataset and not related to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akihironitta correct me if I'm wrong, but the remaining error was something about CIFAR dataset and not related to this pull request.
@senarvi You're right that all of the related tests here have passed. Once the following comments gets resolved, I believe we can land this PR finally!
Co-authored-by: Aki Nitta <[email protected]>
@akihironitta ok, done. |
What does this PR do?
This PR adds the YOLO object detection model. The implementation is based on the YOLOv3 and YOLOv4 Darknet implementations, although it doesn't include all the features of YOLOv4. Detection seems to work with weights that have been trained using the Darknet implementation, so the network architecture should be more or less identical. The network architecture is read from a configuration file in the same format as in the Darknet implementation. It supports loading weights from a Darknet model file too, if you don't want to start training from a randomly initialized model.
Fixes #22
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃