(file_name)
| 40 | |
| 41 | |
| 42 | def 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 | |
| 49 | def batched_coordinates(coords, dtype=torch.int32, device=None): |
no outgoing calls