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

Add GradCAM for object detection #75

Merged
merged 39 commits into from
May 22, 2023
Merged

Conversation

adamwawrzynski
Copy link
Collaborator

@adamwawrzynski adamwawrzynski commented Apr 4, 2023

Description

This PR introduces GradCAM algorithm for object detection task with 2 network examples: YOLOv5 and SSD. Refactoring and modification of the module structure were applied.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • pre-commit
  • poetry run python3 example/mnist_wandb.py
  • run example/gradcam/object_detection.ipynb

Checklist:

  • I have updated all related pyproject.toml files.
  • I have updated lock files.
  • I have set an Assignee and Reviewers.
  • I have labeled the PR correctly.
  • I have performed a self-review of my own code.
  • I have covered my code and changes with unit tests.
  • I have annotated types as extensively as possible.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • All code references and dependencies will work.

Adam Wawrzyński added 15 commits March 24, 2023 16:40
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…ter to GradCAM

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…for bbox coordinates

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…inherit from it

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…ration

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
@adamwawrzynski adamwawrzynski self-assigned this Apr 4, 2023
@adamwawrzynski adamwawrzynski added the enhancement New feature or request label Apr 4, 2023
@adamwawrzynski adamwawrzynski linked an issue Apr 4, 2023 that may be closed by this pull request
Adam Wawrzyński added 6 commits April 5, 2023 16:04
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
@adamwawrzynski adamwawrzynski requested review from rpytel1 and removed request for adamjankaczmarek and rpytel1 April 7, 2023 09:36
@adamwawrzynski adamwawrzynski requested review from rpytel1 and kamilrzechowski and removed request for adamjankaczmarek April 7, 2023 09:39
Adam Wawrzyński added 3 commits April 11, 2023 11:12
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Adam Wawrzyński added 3 commits April 26, 2023 14:05
…lizer

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…are shapes

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
@rpytel1 rpytel1 mentioned this pull request May 9, 2023
13 tasks
…nd object detection

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Adam Wawrzyński added 5 commits May 16, 2023 08:24
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…e object detection example script to notebook

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Adam Wawrzyński added 6 commits May 17, 2023 18:38
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…structure

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Copy link
Collaborator

@rpytel1 rpytel1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥 Lets merge!

@adamwawrzynski adamwawrzynski merged commit 26b31ef into main May 22, 2023
@adamwawrzynski adamwawrzynski deleted the feat/gradcam_object_detection branch May 22, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix] Add support for Object Detection
3 participants