haofanwang / Score-CAM

Official implementation of Score-CAM in PyTorch
MIT License
388 stars 65 forks source link

can we can combine two score cam from different images of same class? #27

Open noreenanwar opened 1 year ago

noreenanwar commented 1 year ago

Hi Thank you for your great work.I want to ask that is it possible to combine two CAM of two images for same class?(multiple instance)

haofanwang commented 1 year ago

Why you wanna do that?

noreenanwar commented 1 year ago

Why you wanna do that?

I need to do that for my work.

haofanwang commented 1 year ago

Given two different images, for instance, both have 'person' class. You want to generate CAM for each image and combine them? What's the semantic meaning of this? Could you clarify it?

noreenanwar commented 1 year ago

Given two different images, for instance, both have 'person' class. You want to generate CAM for each image and combine them? What's the semantic meaning of this? Could you clarify it?

i want to detect undetected person in 2nd image. if i compare it with 1st i can get one. because both img1 and 2 are from different models.