resnet50 = nn.Sequential(
nn.Conv2d(3, 64, 7, 2, 3),
nn.BatchNorm2d(64),
nn.ReLU(),
nn.MaxPool2d(3, 2, 1),
RepeatingBottleNecks(64, [64, 64, 256],[1, 3, 1], 3, 1),
RepeatingBottleNecks(256, [128, 128, 512],[1, 3, 1], 4, 2),
RepeatingBottleNecks(512, [256, 256, 1024],[1, 3, 1], 6, 2),
RepeatingBottleNecks(1024, [512, 512, 2048], [1, 3, 1], 3, 2),
nn.AvgPool2d(7, 1),
Lambda(lambda x: x.view(x.shape[-1], -1)),
nn.Linear(2048, 1000),
nn.Softmax(dim=1)
)