Skip to content

Commit

Permalink
modify model para
Browse files Browse the repository at this point in the history
  • Loading branch information
lea4n committed Dec 17, 2019
1 parent bf82e97 commit 3b685b9
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 3b685b9

Please sign in to comment.