Skip to content

Commit e9985e5

Browse files
committed
also add -1
1 parent 27321c5 commit e9985e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpad/rlbench_utils/placement_dataset.py

+1
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ def filter_out_names(rgb, point_cloud, mask, handlemapping, names=BACKGROUND_NAM
206206
handlemapping[name] for name in names if name in handlemapping
207207
]
208208
background_handles.append(65535) # It's -1, cast as uint16.
209+
background_handles.append(-1)
209210
background_indices = np.isin(mask, background_handles).reshape((-1))
210211

211212
# Get the indices of the foreground.

0 commit comments

Comments
 (0)