GithubHelp home page GithubHelp logo

xueei / groupnormalizationtf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hikapok/groupnormalizationtf

0.0 1.0 0.0 9 KB

Group Normalization ResNet in Tensorflow with pre-trained weights on ImageNet

License: Apache License 2.0

Python 100.00%

groupnormalizationtf's Introduction

Group Normalization ResNet in Tensorflow with pre-trained weights on ImageNet

This repository contains codes of the un-official re-implementation of ResNet with Group Normalization.

Group Normalization (GN) as a simple alternative to BN. GN's computation is independent of batch sizes, and its accuracy is stable in a wide range of batch sizes, which makes it outperform BN-based counterparts for object detection and segmentation in COCO.

In order to accelerate further research based on Group Normalization, I would like to share the pre-trained weights on ImageNet for them, you can download from Google Drive. The pre-trained weights are converted from official weights in Caffe2 using MMdnn with other post-processing. And the outputs of all the network using the converted weights has almost the same outputs as original Caffe2 network (errors<1e-5). All rights related to the pre-trained weights belongs to the original author of Group Normalization in Detectron.

This code and the pre-trained weights only can be used for research purposes.

The canonical input image size for this ResNet is 224x224, each pixel value should in range [-128,128](BGR order), and the input preprocessing routine is quite simple, only normalization through mean channel subtraction was used.

The codes was tested under Tensorflow 1.6, Python 3.5, Ubuntu 16.04.

BTW, other scaffold need to be build for training from scratch. You can refer to resnet/imagenet_main for adding weight decay to the loss manually.

Apache License 2.0

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.