We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
densenet.pytorch/densenet.py
Lines 113 to 114 in d1cd5e1
I solve the issue by changing the lines of codes to
out = self.dense3(out) out = self.relu(self.bn1(out)) out = F.avg_pool2d(out, 8) out = out.view(-1, self.nChannels)
where self.relu has been initialised as self.relu = nn.ReLU(inplace=True)
self.relu
self.relu = nn.ReLU(inplace=True)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
densenet.pytorch/densenet.py
Lines 113 to 114 in d1cd5e1
I solve the issue by changing the lines of codes to
out = self.dense3(out) out = self.relu(self.bn1(out)) out = F.avg_pool2d(out, 8) out = out.view(-1, self.nChannels)
where
self.relu
has been initialised asself.relu = nn.ReLU(inplace=True)
The text was updated successfully, but these errors were encountered: