sicara / tf-explain

Interpretability Methods for tf.keras models with Tensorflow 2.x
https://tf-explain.readthedocs.io
MIT License
1.02k stars 111 forks source link

Example or any Support for Tensorflow_datasets #180

Open siriusmehta opened 2 years ago

siriusmehta commented 2 years ago

Hi,

I would highly appreciate any sample code for how can we use tf Explain GradCam feature for tensorflow dataset.

Best Regard Vishal

RaphaelMeudec commented 2 years ago

Right now, there is no support yet for tensorflow datasets. The solution is to extract some elements from your tensorflow datasets, call .numpy() on them, and pass them to tf-explain