メインコンテンツへスキップ
GitHub ソース

class Object3D

W&B の 3D ポイントクラウド用クラスです。

method Object3D.__init__

__init__(
    data_or_path: Union[ForwardRef('np.ndarray'), str, pathlib.Path, ForwardRef('TextIO'), dict],
    caption: Optional[str] = None,
    **kwargs: Optional[str, ForwardRef('FileFormat3D')]
) → None
W&B の Object3D オブジェクトを作成します。 引数:
  • data_or_path: Object3D はファイルまたは NumPy 配列から初期化できます。
  • caption: 表示時にオブジェクトに関連付けられるキャプション。
例: NumPy 配列の形状は、次のいずれかである必要があります。
[[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], ...] nx6 where is rgb is color