wandb.data_types.Object3D

View source on GitHub

Wandb class for 3D point clouds.

Object3D(
data_or_path: Union['np.ndarray', str, 'TextIO'],
**kwargs
) -> None

Arguments

data_or_path

(numpy array, string, io) Object3D can be initialized from a file or a numpy array. The file types supported are obj, gltf, babylon, stl. You can pass a path to a file or an io object and a file_type which must be one of 'obj', 'gltf', 'babylon', 'stl'.

The shape of the numpy array must be one of either:

[[x y z], ...] nx3
[x y z c], ...] nx4 where c is a category with supported range [1, 14]
[x y z r g b], ...] nx4 where is rgb is color

Class Variables

SUPPORTED_TYPES