Closed summerrr closed 5 years ago
In network.py x_gpb = nn.AvgPool2d(x.shape[2:])(x).view(x.shape[0], self.channels_cond, 1, 1), Assume the shape of x is Nx2048xHxW, so after this operation,whether the shape of x is Nx2048x1x1?
I am sorry to hear you so late. Yes, it is a global average pooling operation.
In network.py x_gpb = nn.AvgPool2d(x.shape[2:])(x).view(x.shape[0], self.channels_cond, 1, 1), Assume the shape of x is Nx2048xHxW, so after this operation,whether the shape of x is Nx2048x1x1?