greentfrapp / lucent

Lucid library adapted for PyTorch
Apache License 2.0
597 stars 89 forks source link

Is there a way to implement Semi-Transparent Patterns available in lucid? #42

Open MaxPolak97 opened 1 year ago

MaxPolak97 commented 1 year ago

In section 4 of https://distill.pub/2018/differentiable-parameterizations/ they described a way to add an alpha channel to generate Semi-Transparent image that improved feature visualization. Is there a way we can do this in Lucent as well?

I think this is the same method used in xplique:

image