(batch_dict)
| 1193 | return range_img, range_mask |
| 1194 | |
| 1195 | def load_data_to_gpu(batch_dict): |
| 1196 | for key, val in batch_dict.items(): |
| 1197 | if(isinstance(val, np.ndarray)): |
| 1198 | batch_dict[key] = torch.from_numpy(val) |
| 1199 | if(isinstance(val, torch.Tensor)): |
| 1200 | batch_dict[key] = val.cuda() |
| 1201 | |
| 1202 | def save_points(points, colors=None, name="pc.ply"): |
| 1203 |
nothing calls this directly
no outgoing calls
no test coverage detected