MCPcopy Create free account
hub / github.com/NVIDIA/MinkowskiEngine / load_file

Function load_file

tests/cpp/utils.py:42–46  ·  view source on GitHub ↗
(file_name)

Source from the content-addressed store, hash-verified

40
41
42def load_file(file_name):
43 pcd = o3d.io.read_point_cloud(file_name)
44 coords = np.array(pcd.points)
45 colors = np.array(pcd.colors)
46 return coords, colors, pcd
47
48
49def batched_coordinates(coords, dtype=torch.int32, device=None):

Callers 10

test_pcd_insertMethod · 0.90
test_pcd_insertMethod · 0.90
test_pcdMethod · 0.90
test_pcd2Method · 0.90
test_pcdMethod · 0.90
test_pcdMethod · 0.90
test_pcd2Method · 0.90
test_pcdMethod · 0.90
test_pcd2Method · 0.90
test_pcdMethod · 0.90

Calls

no outgoing calls

Tested by 10

test_pcd_insertMethod · 0.72
test_pcd_insertMethod · 0.72
test_pcdMethod · 0.72
test_pcd2Method · 0.72
test_pcdMethod · 0.72
test_pcdMethod · 0.72
test_pcd2Method · 0.72
test_pcdMethod · 0.72
test_pcd2Method · 0.72
test_pcdMethod · 0.72