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

Remove preprocessed image from gradcam and update mask to be the same size as original image #9

Open
rahmatkhah opened this issue Nov 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rahmatkhah
Copy link
Collaborator

rahmatkhah commented Nov 15, 2021

Describe the bug
Currently, GradCam outputs 3 files, the original image, the mask, and the image after going through preprocessing (during which the dimensions of the image change and the image is cropped).

The mask is the same size as the preprocessed image, but we’d like to be able to apply the mask on the original image, so we should look to making the mask the same size, with what is used to compensate up to the discretion of the implementation (currently thinking to obstruct it like the unimportant areas in the mask).

To Reproduce
This behavior currently applies to all generated masks.

Expected behavior
The mask should be the same size of the original image, with what is used to compensate up to the discretion of the implementation (currently thinking to obstruct it like the unimportant areas in the mask).

Screenshots

Environment (please complete the following information):
N/A

Additional context
N/A

@rahmatkhah rahmatkhah added this to Low priority in COVID-Net Grad-CAM Nov 15, 2021
@rahmatkhah rahmatkhah added the bug Something isn't working label Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant