Skip to content

Commit

Permalink
fix reid resnet bn export, test=document_fix (PaddlePaddle#5162)
Browse files Browse the repository at this point in the history
  • Loading branch information
nemonameless authored Jan 28, 2022
1 parent dc6ba2a commit 6ee18c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppdet/modeling/reid/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self,
bias_attr=False,
data_format=data_format)

self._batch_norm = nn.BatchNorm2D(num_filters, data_layout=data_format)
self._batch_norm = nn.BatchNorm2D(num_filters)
self.act = act

def forward(self, inputs):
Expand Down

0 comments on commit 6ee18c2

Please sign in to comment.