/RFConv

Rectified Convolution

Primary LanguagePythonApache License 2.0Apache-2.0

PyPI PyPI Pre-release pytest License

RFConv

Rectified Convolution

Pretrained Model

model baseline rectified
ResNet-50 76.66 77.10
ResNet-101 78.13 78.74
ResNeXt-50_32x4d 78.17 78.48
ResNeSt-50_2s8x 78.73 79.38

Verify Models:

Prepare ImageNet dataset:

cd scripts/dataset/
# assuming you have downloaded the dataset in the current folder
python prepare_imagenet.py --download-dir ./

Test Model

# use resnest50 as an example
cd scripts/
python verify.py --model resnet50 --crop-size 224