(self, output: torch.Tensor)
| 225 | return pos, aux |
| 226 | |
| 227 | def output_to_point_clouds(self, output: torch.Tensor) -> List[PointCloud]: |
| 228 | res = [] |
| 229 | for sample in output: |
| 230 | xyz, aux = self.split_model_output(sample[None], rescale_colors=True) |
| 231 | res.append( |
| 232 | PointCloud( |
| 233 | coords=xyz[0].t().cpu().numpy(), |
| 234 | channels={k: v[0].cpu().numpy() for k, v in aux.items()}, |
| 235 | ) |
| 236 | ) |
| 237 | return res |
| 238 | |
| 239 | def with_options( |
| 240 | self, |
nothing calls this directly
no test coverage detected