Skip to content

Commit

Permalink
ops.ResizeBilinear has been deprecated, thus using ops.ResizeBilinear…
Browse files Browse the repository at this point in the history
…V2 instead (#789)
  • Loading branch information
PingqiLi authored Jul 2, 2024
1 parent 7085347 commit a6d45f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/det/ssd/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def construct(self, inputs):
top = len(inputs) - i - 1
down = top - 1
size = ops.shape(inputs[down])
top_down = ops.ResizeBilinear((size[2], size[3]))(features[-1])
top_down = ops.ResizeBilinearV2()(features[-1], (size[2], size[3]))
top_down = top_down + image_features[down]
features = features + (top_down,)

Expand Down

0 comments on commit a6d45f3

Please sign in to comment.