Skip to content

Commit

Permalink
make the bounding box to be float32 data type
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmytyyang committed Oct 27, 2023
1 parent 8d7a696 commit 5d80be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion habitat-lab/habitat/tasks/rearrange/rearrange_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,4 +1300,4 @@ def get_observation(self, observations, episode, task, *args, **kwargs):
rmin, rmax, cmin, cmax = self._get_bbox(tgt_mask)
bbox[rmin:rmax, cmin:cmax] = 1.0

return bbox
return np.float32(bbox)

0 comments on commit 5d80be4

Please sign in to comment.