Skip to main content

Gradient Based Class Activation Maps for TensorFlow models.

Project description

cnncam

PyPI version linting: pylint License: MIT Lifecycle: experimental Github All Releases

Introduction

An open python library for researchers and developers to generate GradCAM explanations for the tensorflow CNN models.

Other popular python ML frameworks will soon be supported by the cnn-cam library

Install

The below instructions assume you already have pip installed and exposed to the python environment where you want to run cnncam. Official instructions for installing pip can be found here

Run the below pip command in a shell of your choice.

pip install cnncam

Demo

from cnncam import GradCAM
from keras.applica

See /examples for executable examples, including an application of our implementation of GradCAM on VGG-16 with the ower of this repo's very cute cat, meso.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cnncam-0.0.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

cnncam-0.0.3-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page