HRNet-Semantic-Segmentation icon indicating copy to clipboard operation
HRNet-Semantic-Segmentation copied to clipboard

Pytorch official syncbn in pytorch 1.1 brach

Open ydhongHIT opened this issue 4 years ago • 0 comments

from future import absolute_import from future import division from future import print_function

import os import logging import functools

import numpy as np

import torch import torch.nn as nn import torch._utils import torch.nn.functional as F

BatchNorm2d = nn.BatchNorm2d BN_MOMENTUM = 0.01

The codes are shown above. It seems that you do not utilize syncbn.

ydhongHIT avatar Aug 11 '20 02:08 ydhongHIT