BatchNorm1d makes the output nan?

my code is :

x=F.relu(self.fc1(x)) #name the output :“x1”
x=self.bn1(x) #name the output :“x2”

the result of x1 and x2 is showed in the picture, I do not know why?


QQ图片20170822103346

1 Like