ResNet与ResNeXt的pytorch实现
def ResNet18(): return ResNet(resnet18_params, BasicBlock) def ResNet34(): return ResNet(resnet34_params, BasicBlock) def ResNet50(): return ResNet(resnet50_params, Bottleneck) def ResNet101(): return ResNet(resnet101_params, Bottleneck) def ResNet152(): return ResNet(resnet152_params, Bottleneck) def ResNeXt50_32x4d(): return ResNet(resnext50_32x4d_params, ResNeXtBlock) def ResNeXt101_32x8d(): return ResNet(resnext101_32x8d_params, ResNeXtBlock)