Update rec_resnet_vd.py (#2681)

Fixed out_channels
This commit is contained in:
YukSing 2021-04-29 12:34:23 +08:00 committed by GitHub
parent 3b19311dc1
commit b40cefa6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class ResNet(nn.Layer):
name=conv_name))
shortcut = True
self.block_list.append(bottleneck_block)
self.out_channels = num_filters[block]
self.out_channels = num_filters[block] * 4
else:
for block in range(len(depth)):
shortcut = False