rsi4dc / bench /agent /code /cg3d /__init__.py
weihao1115's picture
Add files using upload-large-folder tool
53f9dab verified
Raw History Blame Contribute Delete
871 Bytes
"""cg3d: dependency-light (numpy + torch) re-implementation of the CounterGround3D scene-edit executor.
from cg3d import SceneStore, RecordTables, apply_edit, realize
store = SceneStore(scene_dirs=[".../scenes"], superpoint_dir=".../superpoints",
axis_align=".../axis_align_matrix.json")
tables = RecordTables(".../records")
state, info = realize(item["edit"], item["scene_id"], store, tables) # edited raw-frame scene
"""
from .edit import (aligned_flip, apply_edit, apply_T, canonical_edit, edit_ops, flip_transform, has_flip, # noqa: F401
mirror_aligned_pose, mirror_situated_pose, preserves_point_order, realize, scenes_needed)
from .executor import RecordTables, edited_cloud # noqa: F401
from .recolor import apply_color, fill_colors # noqa: F401
from .scene_store import SceneStore # noqa: F401