• Stars
    star
    180
  • Rank 213,097 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is the pytorch implementation of the paper - Axiomatic Attribution for Deep Networks.

Integrated Gradients

MIT License
This is the pytorch implementation of "Axiomatic Attribution for Deep Networks". The original tensorflow version could be found here.

Acknowledgement

Requirements

  • python-3.5.2
  • pytorch-0.4.1
  • opencv-python

TODO List

  • add more functions as the original code.
  • finetune the results, make them close to the original paper.

Instructions

Highly recommend to use GPU to accelerate the computation. If you use CPU, I will recommend to select some small networks, such as resnet18. You also need to put your images under examples/.

Lists of networks that support (of course, you can add any networks by yourself)

  • inception
  • resnet18
  • resnet152
  • vgg19

Run the code

python main.py --cuda --model-type='inception' --img='01.jpg'

Results

Results are slightly different from the original paper, it may have some bugs or need to do some adjustments. I will keep updating it, any contributions are welcome!

Inception-v3

inception

ResNet-18

resnet18

ResNet-152

resnet152

VGG-19

vgg19

More Repositories

1

reinforcement-learning-algorithms

This repository contains most of pytorch implementation based classic deep reinforcement learning algorithms, including - DQN, DDQN, Dueling Network, DDPG, SAC, A2C, PPO, TRPO. (More algorithms are still in progress)
Python
662
star
2

hindsight-experience-replay

This is the pytorch implementation of Hindsight Experience Replay (HER) - Experiment on all fetch robotic environments.
Python
391
star
3

mosse-object-tracking

This is the implementation of MOSSE tracking algorithm (correlation filter based).
Python
121
star
4

self-imitation-learning-pytorch

This is the pytorch implementation of ICML 2018 paper - Self-Imitation Learning.
Python
64
star
5

distributed-ppo

This is an pytorch implementation of Distributed Proximal Policy Optimization(DPPO).
Python
62
star
6

google-football-pytorch

It's the pytorch implementation of google research football.
Python
38
star
7

metaworld-sac

Python
10
star
8

div-hindsight

This is the official code of our paper "Diversity-based Trajectory and Goal Selection with Hindsight Experience Relay" [PRICAI 2021].
Python
10
star
9

esil-hindsight

This is the official code of our paper "Episodic Self-Imitation Learning with Hindsight" [Electronics 2020].
Python
7
star
10

wavelet-hdr

This is the official code for our paper "Wavelet-Based Network For High Dynamic Range Imaging" [CVIU 2023].
Python
6
star
11

deep-hdr-baselines

Python
6
star
12

react2-code

This is the official code of our paper "Machine Learning to Support Visual Auditing of Home-based Lateral Flow Immunoassay Self-Test Results for SARS-CoV-2 Antibodies" [Communications Medicine 2022].
Python
6
star
13

dockerfiles

It contains the dockerfiles for the purpose of machine learning / deep learning research.
Dockerfile
3
star
14

phd-thesis

TeX
2
star
15

daim-rl

This is the official code of our paper "Diversity-Augmented Intrinsic Motivation for Deep Reinforcement Learning" [Neurocomputing 2021].
Python
1
star
16

DouTu

1
star