This seems to work? But I have no idea if it actually does work, or if I am doing something wrong?
cnn = GoogLeNetPlaces205()
cnn.load_state_dict(torch.load("googlenet_places205.pth"))
cnn.eval()

input = torch.randn(1, 3, 512, 384)
x = cnn(input)

test_avgpool = nn.AdaptiveAvgPool2d((7, 7))
x = test_avgpool(x)
x = torch.flatten(x, 1)
test_fc = nn.Linear(1024 * 7 * 7, 204)
x = test_fc(x)