Closed JIA-HONG-CHU closed 2 years ago
Hi @JIA-HONG-CHU.
To use standard batch norm I suggest you use "ABN", which is the "activated Batch Norm" version, which encapsulates standard batch norm followed by leaky-relu. Please refer to the In-Place ABN library for the details.
ok, I modified the Pytorch BN2d to ABN and the code works fine. tks . I will close this issue. ;)
Hello, i want to use batch normalization instead of In-place ABN. What setting should I revise ?. I only revised norm_act to std in argparser.py. But i got error torch.nn.modules.module.ModuleAttributeError: 'BatchNorm2d' object has no attribute 'activation'. tks for help.