Implementations
Included with this toolkit are a number of implementations for the interfaces described in the previous section. Unlike the interfaces, which declare operation and use case, implementations provide variations on how to satisfy the interface-defined use case, varying trade-offs, or results implications.
Image Perturbation
Implementation of MC-RISE perturbation mask generation |
|
RISE MIT License (https://github.com/eclique/RISE/blob/master/LICENSE): |
|
This module defines the SlidingRadial class, which implements a sliding radial perturbation on input images. |
|
This module defines the SlidingWindow class, which implements a sliding window perturbation on input images. |
Heatmap Generation
Implementation of DRISE scorer. |
|
|
Implementation of MC-RISE scorer. |
|
Implementation of OcclusionScoring scorer. |
Implementation of RISEScoring scorer. |
|
|
Implementation of SimilarityScoring scorer. |
|
Implementation of SimilarityScoring scorer. |
End-to-End Saliency Generation
Image Classification
|
Implementation of MC-RISE saliency stack. |
|
This module defines the PerturbationOcclusion class. |
Encapsulation of the perturbation-occlusion method using the RISE implementations of the component algorithms. |
|
|
Encapsulation of the perturbation-occlusion method using sliding windows and the occlusion-scoring method. |
Image Similarity
|
This module defines the PerturbationOcclusion class. |
This module defines SBSMStack. |
Object Detection
|
This module defines the PerturbationOcclusion class. |
This module defines _BaseDRISE, DRISEStack, and RandomGridStack. |
Saliency Metric
Provides an implementation of the SaliencyMetric interface for computing entropy over a saliency map. |