histocartography.interpretability.base_explainer module¶
Base explainer.
Summary¶
Classes:
Base pipelines step |
- class BaseExplainer(model: Optional[torch.nn.modules.module.Module] = None, **kwargs)[source]¶
Bases:
histocartography.pipeline.PipelineStep
Base pipelines step
- __init__(model: Optional[torch.nn.modules.module.Module] = None, **kwargs) → None[source]¶
Abstract class that defines an explainer.
- Parameters
model_path (Optional[str], optional) – Model path to pre-trained model. The path can be local or an MLflow URL. Defaults to None.
model (Optional[torch.nn.Module], optional) – PyTorch model to use. Defaults to None.
Reference¶
If you use histocartography in your projects, please cite the following:
@inproceedings{pati2021,
title = {Hierarchical Graph Representations for Digital Pathology},
author = {Pushpak Pati, Guillaume Jaume, Antonio Foncubierta, Florinda Feroce, Anna Maria Anniciello, Giosuè Scognamiglio, Nadia Brancati, Maryse Fiche, Estelle Dubruc, Daniel Riccio, Maurizio Di Bonito, Giuseppe De Pietro, Gerardo Botti, Jean-Philippe Thiran, Maria Frucci, Orcun Goksel, Maria Gabrani},
booktitle = {https://arxiv.org/pdf/2102.11057},
year = {2021}
}