zhanghang1989 / PyTorch-Encoding

A CV toolkit for my papers.
https://hangzhang.org/PyTorch-Encoding/
MIT License
2.04k stars 450 forks source link

Your SyncBatchNorm #385

Open hihunjin opened 3 years ago

hihunjin commented 3 years ago

In this link, you have your own SyncBatchNorm. I have two questions about this.

  1. Why did you divide it by inplace, not inplace cases? Do you use both cases in your code?
  2. What's the difference between your "SyncBatchNorm" and "torch.nn.SyncBatchNorm.convert_sync_batchnorm"?

Thanks in advance.