Giter Site home page Giter Site logo

liuguoyou / groupwhitening Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huangleibuaa/groupwhitening

0.0 2.0 0.0 4.81 MB

This project is the PyTorch implementation of our accepted CVPR 2021 paper, Group Whitening: Balancing Learning Efficiency and Representational Capacity

License: BSD 2-Clause "Simplified" License

Python 81.15% Shell 0.86% C++ 3.50% Cuda 14.49%

groupwhitening's Introduction

Group Whitening

This project provides the PyTorch implementation of Group Whitening described in the following paper:

Group Whitening: Balancing Learning Efficiency and Representational Capacity,

Lei Huang, Yi Zhou, Li Liu, Fan Zhu, Ling Shao

IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2021. arXiv:2009.13333.

Highlights

  • We believe the proposed Group Whitening (GW) module is a practical component, the implementation of which is in the directory: ./classification/extension/normalization/.
  • GW consistently improves the performance of ResNet and ResNeXt, with absolute gains of 1.02% ∼ 1.49% in top-1 accuracy on ImageNet (repo: ./classification/) and 1.82% ∼ 3.21% in bounding box AP on COCO object detection (repo: /maskrcnn_debug/).

Table 1, ImageNet Classification. Standard setup: batchSize=256, wd=0.0001, init lr=0.1, 100 epochs (30,60,90- decay).

BaseLine Using GW module
ResNet-50 76.23 77.72 (model, pth )
ResNet-101 77.69 78.71 (model, pth )
ResNeXt-50 77.01 78.43 (model, pth )
ResNeXt-101 79.29 80.43 (model, pth )

Table 2, COCO object detection results using Faster R-CNN with ResNet-50+FPN. We use the 1x lr scheduling (90k iterations), with a batch size of 16 on 8 GPUs.

2fc head box 4conv 1fc head box
BN-frozen 36.31% AP 36.39 % AP
GN 36.32% AP 37.86 % AP
GW 38.13% AP 39.60 % AP

Table 3, COCO object detection and segmentation results using Mask R-CNN with ResNeXt-101+FPN. We use the 1x lr scheduling (180k iterations), with a batch size of 8 on 8 GPUs.

AP (box) AP(mask)
BN-frozen 42.24% 37.53%
GN 42.18% 37.54%
GW 44.41% 39.17%

Contact

[email protected]

Acknowledgement

Note that the code repo ./classification/ is based on the IterNorm project, and the code repo /maskrcnn_debug/is based on the maskrcnn project.

groupwhitening's People

Contributors

huangleibuaa avatar

Watchers

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