def test_resnext(): net = ResNeXt29_2x64d() x = torch.randn(1,3,32,32) y = net(Variable(x)) print(y.size()) # test_resnext()