tanjimin / C.Origami

C.Origami, a prediction and screening framework for cell type-specific 3D chromatin structure.
60 stars 9 forks source link

GRAM importance score #49

Open thomas-reimonn opened 1 month ago

thomas-reimonn commented 1 month ago

Hi!

The nature biotech paper describes importance scores using GRAM in extended figure 9 and the methods. I can't find how to compute them in the GitHub repo. Can you point me in the right direction? Thanks!

tanjimin commented 1 month ago

Hi @thomas-reimonn yes unfortunately the GRAM calculation is not included here because it didn't work as well as attention scores from our experiments. If you want to calculate it, the mechanism is very similar to grad-cam. Here is an implementation for CV models and should be easy to adapt to C.Origami: https://github.com/tanjimin/grad-cam-pytorch-light

thomas-reimonn commented 1 month ago

Thanks! This is really useful!