XAITK / xaitk-saliency

As part of the Explainable AI Toolkit (XAITK), XAITK-Saliency is an open source, explainable AI framework for visual saliency algorithm interfaces and implementations, built for analytics and autonomy applications.
https://xaitk.org
Other
83 stars 25 forks source link

Are TFLite models supported for RISE Perturbation + DRISE #123

Open ai2ys opened 2 years ago

ai2ys commented 2 years ago

I would like to try "RISE Perturbation + DRISE" similar to the Notebook https://github.com/XAITK/xaitk-saliency/blob/master/examples/DRISE.ipynb from the examples, but with a TFLite model.

In the video on the website https://www.kitware.com/kitware-receives-honorable-mention-for-explainable-ai-toolkit/ is gets mentioned that TensorFlow models are supported by XAITK-saliency, but I can not find any information on this.

Purg commented 2 years ago

Hi! TF models are supported notionally in that a DetectImageObjects implementation could be written to wrap the use of something from TensorFlow (our adapter interface does not use any framework-specific primitives). We do not have any stock implementations that utilize TensorFlow that would be turn-key right now. Some of our notebooks examples (specifically this one) show the creation of an implementation of this interface. The referenced example still uses pytorch, but I hope the mechanism makes sense enough that you could adapt it for your TensorFlow use case.

You may have already deduced the following, but I'll mention it anyway just in case: