Skip to content

Commit

Permalink
[FIX] bad argument name in tf_reshape
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenbihi committed Aug 20, 2022
1 parent 0cef451 commit 60da17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hourglass_tensorflow/utils/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def tf_expand_bbox(
bottom_right_y + height * (bbox_factor - 1.0),
)
return tf.cast(
tf_reshape_slice([new_tl_x, new_tl_y, new_br_x, new_br_y], dim=2, **kwargs),
tf_reshape_slice([new_tl_x, new_tl_y, new_br_x, new_br_y], shape=2, **kwargs),
dtype=tf.int32,
)

Expand Down

0 comments on commit 60da17a

Please sign in to comment.