Giter Site home page Giter Site logo

batch-instance-normalization's Introduction

Batch-Instance-Normalization

This repository provides an example of using Batch-Instance Normalization (NIPS 2018) for classification on CIFAR-10/100, written by Hyeonseob Nam and Hyo-Eun Kim at Lunit Inc.

Acknowledgement: This code is based on Wei Yang's pytorch-classification

Citation

If you use this code for your research, please cite:

@inproceedings{nam2018batch,
  title={Batch-Instance Normalization for Adaptively Style-Invariant Neural Networks},
  author={Nam, Hyeonseob and Kim, Hyo-Eun},
  booktitle={Advances in Neural Information Processing Systems},
  year={2018}
}

Prerequisites

Training Examples

Training ResNet-50 on CIFAR-100 using Batch Normalization

python main.py --dataset cifar100 --depth 50 --norm bn --checkpoint checkpoints/cifar100-resnet50-bn

Training ResNet-50 on CIFAR-100 using Instance Normalization

python main.py --dataset cifar100 --depth 50 --norm in --checkpoint checkpoints/cifar100-resnet50-in

Training ResNet-50 on CIFAR-100 using Batch-Instance Normalization

python main.py --dataset cifar100 --depth 50 --norm bin --checkpoint checkpoints/cifar100-resnet50-bin

Summary of Results

  1. Classification on CIFAR-10/100 (ResNet-110) and ImageNet (ResNet-18)

  1. Classification on CIFAR-100 with different architectures

  1. Mixed-domain classification on Office-Home (ResNet-18)

  1. Character recognition on ICDAR2003, ICDAR2005, and Chars74K

Links

batch-instance-normalization's People

Contributors

nhseob 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.