Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 705 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 705 Bytes

PICNN

About

This repository is the official PyTorch implementation of "PICNN: A Pathway towards Interpretable Convolutional Neural Networks", Wengang Guo $^*$, Jiayi Yang $^*$, Huilin Yin, Qijun Chen, Wei Ye, AAAI 2024.

Experiment

  • Apply the python environment:

    conda create -n PICNN python=3.8
    conda activate PICNN
    ./requirements.sh
  • Conduct the experiment:

Standard CNNs (STD) using ResNet as the backbone:

python main.py -configFileName='./configs/cifar10.yml' -backbone='resnet18' -criterion='StandardCE'

PICNN:

python main.py -configFileName='./configs/cifar10.yml' -backbone='resnet18' -criterion='ClassSpecificCE'