Genentech / gReLU

gReLU is a python library to train, interpret, and apply deep learning models to DNA sequences.
https://genentech.github.io/gReLU/
MIT License
228 stars 23 forks source link

prevent deepshap from being used with enformer models #6

Closed avantikalal closed 5 months ago

avantikalal commented 5 months ago

Deepshap should not be used with EnformerModel/EnformerPretrainedModel classes right now, as they include custom nonlinearities that are not included in the list of nonlinearities that work with deepshap. Until a fix for this is in, I raised an error if deepshap is used with these model types. Also edited tutorials 4 and 5 to use other attribution methods.