Skip to content

Commit a3fd367

Browse files
fix bbox convention
1 parent 2ea9f60 commit a3fd367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mujoco_robot_environments/tasks/rearrangement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ def get_bbox(prop_id, segmentation_map):
257257
try:
258258
bbox_corners = np.array(
259259
[
260-
np.min(prop_coords[:, 0]),
261260
np.min(prop_coords[:, 1]),
262-
np.max(prop_coords[:, 0]),
261+
np.min(prop_coords[:, 0]),
263262
np.max(prop_coords[:, 1]),
263+
np.max(prop_coords[:, 0]),
264264
]
265265
)
266266
except:

0 commit comments

Comments
 (0)