Skip to content

Commit

Permalink
Update PSPnet. typo in the code
Browse files Browse the repository at this point in the history
The net can't compile due to a typo.
  • Loading branch information
bobvo23 authored May 29, 2021
1 parent 84a02e9 commit f88078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch/models/pspnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Bottleneck(nn.Module):
def __init__(self, inplanes, planes, stride=1, downsample=None, dilation=1, drop_rate=0):
super(Bottleneck, self).__init__()
self.dp = nn.Dropout2d(p=drop_rate)
elf.conv1 = nn.Conv2d(inplanes, planes, kernel_size=1, bias=False)
self.conv1 = nn.Conv2d(inplanes, planes, kernel_size=1, bias=False)
self.bn1 = nn.BatchNorm2d(planes)
self.conv2 = nn.Conv2d(planes, planes, kernel_size=3, stride=stride, dilation=dilation,
padding=dilation, bias=False)
Expand Down

0 comments on commit f88078d

Please sign in to comment.