havakv / havakv/pycox

Is it possible to apply saliency map or grad-cam with pycox?

Open
#128 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
995
Forks
203
PR merge metrics
No merged PRs in 30d

Description

Hi !
Many thanks for this great work!
I'm wondering can we have a simple example of applying saliency map or grad-cam on pycox (or torchtuples) models?
or a simple code to demonstrate how to get the loss over the correct scores, and then compute the gradients with a backward pass.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reading the pycox and torchtuples model interfaces, then review how PyTorch loss selection and backward passes expose gradients. Done means a simple, documented example showing saliency-map or Grad-CAM use with these models, including how to obtain gradients for the relevant scores.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.