-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Added support by using oriented_box_iou_batch #1593
Conversation
Hi @PrakharJain1509 , Thank you very much! I'll have a look and review it tomorrow morning. Thank you for your contribution! |
Sure, |
@LinasKo Sir, Any updates regarding this? |
Looking at it right now 😉 |
Hi @PrakharJain1509 👋 I can only see one commit at the moment, and that does not include everything you mentioned. Is there some code you haven't pushed yet?
Normally we ask to make a Colab, as that makes the review process much faster - we don't need to create an additional environment where we can run and tweak the values, and we get a bit of code describing the current behaviour that we can look back at in the future. if you're adding well-rounded tests - the Colab is optional. |
The changes which I made so far are correct or they are also invalid? |
Sure! The steps so far are correct. Did you write any code for the tests like you said?
If you did, the code is not visible in Files Changed section. In which case, you have to commit the code and push it to your |
Okay so only the test codes part is remaining? |
Unit tests are welcome, but typically not required. However, since you wrote in the PR description that unit tests are included, I expect to see the code I'm reviewing to include them 😄 What we really like is a Colab that shows how to use the new feature. It should run the |
I looked into the Tests, but I am unable to test it. Can you please help me with the testing and tell if the changes I already did are fine or need some modifications. |
Also I have create a google colab in which I have loaded the whole MeanPrecision code, but am unable to test it, Could you help me with that part. |
Hi @PrakharJain1509, I won't be able to help with testing, but can give some pointers regarding the Colab. If we can create the Colab that checks how the new functionality works, then unit testing won't be necessary. Please share a link to the Colab. I am also opening this up to the community for a second contributor. |
Okay so I am done with the testing part and I am ready with the colab link Here is the link : |
@LinasKo Did you look into it sir? |
Hi @PrakharJain1509, Good work with the Colab. Stepping into a new repository and having to learn how everything is put together is tricky, and I can see you're putting good effort into it. Especially the metric tests at the end - that is definitely going in the right direction. Here are a few points of improvement:
With that in mind, while this has more issues than many other PRs, I'm quite happy with the result. I'll accept your contributio, take over from here, and prepare it for merging. Thank you very much! 🙏 |
@LinasKo |
Merging - everything seems to be in order now. Thank you for the contribution @PrakharJain1509. Expect to see it included in the next supervision release! 🤝 |
Add Support for Oriented Bounding Boxes in MeanAveragePrecision
Changes
MeanAveragePrecision
class to support oriented bounding boxesAdded integration tests forMeanAveragePrecision
Details
MeanAveragePrecision
now handlesORIENTED_BOUNDING_BOXES
as a metric target usingoriented_box_iou_batch
.