Skip to content

Commit

Permalink
Merge pull request advboxes#49 from lea4n/master
Browse files Browse the repository at this point in the history
modify model para
  • Loading branch information
duoergun0729 committed Dec 19, 2019
2 parents 958443a + 3b685b9 commit c56ea23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/models/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def conv_bn_layer(self,
num_filters=num_filters,
filter_size=filter_size,
stride=stride,
padding=(filter_size - 1) / 2,
padding=int((filter_size - 1) / 2),
groups=groups,
param_attr=fluid.ParamAttr(name=param_name + '.w' + '_0'),
act=None,
Expand Down

0 comments on commit c56ea23

Please sign in to comment.