Problem using softmax
here is the Variable before softmax after softmax, the biggest one of them became 1 and others became 0 my forward function <SCODE>def forward(self, x):
    x = F.relu(self.conv1(x))
    x = F.relu(self.conv2(x))
    x = F.relu(self.conv3(x))
    x = F.relu(self.conv4(x))
    x = F.relu(self.conv5(x))
    x = F.relu(self.conv6(x))
    x = F.relu(self.conv7(x))
    x = x.view(x.size(0), -1)
    x = F.softmax(x)
    return x
<ECODE> is there something wrong in my usage of softmax?
pointW
Best regards Thomas
tom
the number  is too large,its exp overflow. I I think you should  add batchnorm layer before convolution layer.
chenyuntc
pointW
pointW