Coder Social home page Coder Social logo

adaptive-anti-aliasing's Introduction

Delving-Deeper-Into-Anti-Aliasing-in-ConvNets

This work is accepted in BMVC2020 as Best Paper Award. It introduces a plugin module in neural network to improve both model accuracy and consistency.

[Project page] | [arXiv] | [Slide] | [Video] | [视频]

alt text

Progress

  • Image Classification
  • Instance Segmentation
  • Semantic Segmentation

Installation

torch==1.1.0
torchvision==0.2.0

Dataset

File Structure

anti-aliasing
└── data
    ├── output
    ├── ILSVRC2012
└── master
    └── Adaptive-anti-Aliasing
        └── ...

Model Zoo

Model Name Top-1 Acc Consistency
resnet101_k3_pasa_group8_softmax weight 79.0 91.8
resnet101_k5_pasa_group8_softmax weight 78.6 92.2

Testing

python main.py --data ../../data/ILSVRC2012 -f 3 -e -b 32 -a resnet101_pasa_group_softmax --group 8 --weights /pth/to/model

Training

python main.py --data ../../data/ILSVRC2012 -f 3 -b 128 -ba 2 -a resnet101_pasa_group_softmax --group 8 --out-dir /pth/to/output/dir

Instance Segmentation and Semantic Segmentation

Please directly put "Adaptive-anti-Aliasing/models_lpf/layers/pasa.py" this module before downsampling layers of the backbone except the first convolution layer. We adopt implemantation directly from:

Instance Segmentation: MaskRcnn

Semantic Segmentation: Deeplab V3+ and TDNet

Citation

@inproceedings{zou2020delving,
  title={Delving Deeper into Anti-aliasing in ConvNets},
  author={Xueyan Zou and Fanyi Xiao and Zhiding Yu and Yong Jae Lee},
  booktitle={BMVC},
  year={2020}
}

Acknowledgement

We borrow most of the code from Richard Zhang's Repo (https://github.com/adobe/antialiased-cnns) Thank you : )

adaptive-anti-aliasing's People

Contributors

maureenzou avatar

Watchers

James Cloos 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.