Maskrcnn-benchmark: does pytorch1.0 support Synchronized BatchNorm?

Created on 26 Oct 2018  路  2Comments  路  Source: facebookresearch/maskrcnn-benchmark

馃殌 Feature

does pytorch1.0 support Synchronized BatchNorm, and in this code the FrozenBatchNorm has the same function as Synchronized BN?

why use FrozenBatchNorm, as same thirdparty faster rcnn implement's backbone resnet do'nt has this feature

enhancement

Most helpful comment

All 2 comments

Hi,

PyTorch 1.0 currently doesn't support Synchronized Batch Norm, but there are discussions on how to support it, see for example https://github.com/pytorch/pytorch/issues/2584 and https://github.com/pytorch/pytorch/issues/12198

Because the discussion on how to support Synchronized Batch Norm is still ongoing, we decided to follow the Detectron implementation of freezing batch norm statistics during training so that we don't have issues when training with small batch sizes.
A possible solution for now would be to train using GroupNorm, which makes training with small batches possible

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jbitton picture jbitton  路  4Comments

kaaier picture kaaier  路  3Comments

CF2220160244 picture CF2220160244  路  3Comments

hadim picture hadim  路  4Comments

botcs picture botcs  路  3Comments