This GPU version is compatible with PyTorch 1.0. And, it is inspired by PyTorch-Encoding.
- PyTorch
- Synchronized BatchNorm PyTorch
bash compile.sh
Then, import synchronized batchnorm in your code as follows:
from syncbn import SyncBN
- CIFAR-10
python3 cifar10.py