Giter Site home page Giter Site logo

sssxrf / netdissect-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csailvision/netdissect-lite

0.0 0.0 0.0 1017.25 MB

Light version of Network Dissection for Quantifying Interpretability of Networks

Shell 0.05% Python 4.91% Jupyter Notebook 95.05%

netdissect-lite's Introduction

Network Dissection Lite in PyTorch

Introduction

This repository is fork of NetDissect, which contains the demo code for the work Network Dissection: Quantifying Interpretability of Deep Visual Representations. We also test the Network Dissection results on ResNet18 and ResNet18+CBAM. This code is written in pytorch and python3.6, tested on Ubuntu 20.04(google colab).

Originally written by: David Bau∗ , Bolei Zhou∗ , Aditya Khosla, Aude Oliva, and Antonio Torralba

Reimplemented and extended by: Ruifeng Xu, Yuhang Mei

Classification for ResNet18 and ResNet18+CBAM on CIFAR and ImageNet

  • Go to the 'Classification' folder
  • Run in google colab:
    • TrainingOnCifar10Dataset - CIFAR10
    • TrainingOnCifar100Dataset - CIFAR100
    • TrainingOnImageNet - ImageNet

Run NetDissect for ResNet18 and ResNet18+CBAM

  • Go to the 'ND' folder

  • Run in google colab

Reference

@inproceedings{netdissect2017,
  title={Network Dissection: Quantifying Interpretability of Deep Visual Representations},
  author={Bau, David and Zhou, Bolei and Khosla, Aditya and Oliva, Aude and Torralba, Antonio},
  booktitle={Computer Vision and Pattern Recognition},
  year={2017}
}

netdissect-lite's People

Contributors

sunyiyou avatar sssxrf avatar yuhangmei-um avatar zhoubolei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.