Spaces:
Runtime error
Runtime error
s194649
commited on
Commit
·
0c863e7
1
Parent(s):
19a222e
fix
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -72,7 +72,7 @@ def PCL(mask, depth):
|
|
| 72 |
return points, colors
|
| 73 |
|
| 74 |
def PCL_rgb(rgb, depth):
|
| 75 |
-
assert rgb.shape == depth.shape
|
| 76 |
assert type(rgb) == np.ndarray
|
| 77 |
assert type(depth) == np.ndarray
|
| 78 |
depth_o3d = o3d.geometry.Image(depth)
|
|
|
|
| 72 |
return points, colors
|
| 73 |
|
| 74 |
def PCL_rgb(rgb, depth):
|
| 75 |
+
#assert rgb.shape == depth.shape
|
| 76 |
assert type(rgb) == np.ndarray
|
| 77 |
assert type(depth) == np.ndarray
|
| 78 |
depth_o3d = o3d.geometry.Image(depth)
|