molmo_spaces¶
molmo_spaces
¶
Modules:
| Name | Description |
|---|---|
configs |
Configuration module for MolmoSpaces experiments. |
controllers |
|
data_generation |
|
env |
|
evaluation |
Evaluation utilities for MolmoSpaces benchmarks. |
grasp_generation |
|
housegen |
|
kinematics |
|
molmo_spaces_constants |
Constants and paths for the MolmoSpaces project. Paths should be provided as Path objects. |
planner |
|
policy |
|
renderer |
|
resources |
|
robots |
|
tasks |
|
utils |
|
Attributes:
| Name | Type | Description |
|---|---|---|
MOLMO_SPACES_BASE_DIR |
|
molmo_spaces_constants
¶
Constants and paths for the MolmoSpaces project. Paths should be provided as Path objects.
Overwrite in the environment with e.g.: MLSPACES_ASSETS_DIR=/Users/username/mlspaces_resources mjpython scripts/...
Functions:
| Name | Description |
|---|---|
single_thread_environment |
|
resource_manager_log_level |
|
get_resource_manager |
|
get_scenes_root |
|
get_asset_id_to_object_type |
|
get_object_type_to_asset_ids |
|
get_scenes |
|
check_in_cache |
|
populate_cache |
|
get_ithor_houses |
Return {split: {index: xml_path_or_None}} for iTHOR houses. |
get_procthor_10k_houses |
Return {split: {index: xml_path_or_None}} for ProcTHOR-10k houses. |
get_procthor_objaverse_debug_houses |
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses. |
get_procthor_objaverse_houses |
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses. |
get_holodeck_objaverse_houses |
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses. |
get_robot_paths |
Return {robot_name: Path} for all available robot files. |
get_robot_path |
|
print_license_info |
|
Attributes:
| Name | Type | Description |
|---|---|---|
ABS_PATH_OF_TOP_LEVEL_MOLMO_SPACES_DIR |
|
|
DATA_CACHE_DIR |
|
|
ASSETS_DIR |
|
|
ROBOTS_DIR |
|
|
OBJAVERSE_ASSETS_DIR |
|
|
PINNED_ASSETS_FILE |
|
|
USE_HUGGING_FACE |
|
|
DATA_TYPE_TO_SOURCE_TO_VERSION |
|
|
pinned_assets |
|
ABS_PATH_OF_TOP_LEVEL_MOLMO_SPACES_DIR
module-attribute
¶
DATA_CACHE_DIR
module-attribute
¶
ASSETS_DIR
module-attribute
¶
ASSETS_DIR = Path(get('MLSPACES_ASSETS_DIR', home() / '.cache' / 'molmospaces' / 'assets' / _install_hash))
OBJAVERSE_ASSETS_DIR
module-attribute
¶
OBJAVERSE_ASSETS_DIR = Path(get('MLSPACES_OBJAVERSE_ASSETS_DIR', ASSETS_DIR / 'objects' / 'objaverse'))
PINNED_ASSETS_FILE
module-attribute
¶
PINNED_ASSETS_FILE = Path(environ['MLSPACES_PINNED_ASSETS_FILE']) if 'MLSPACES_PINNED_ASSETS_FILE' in environ else None
DATA_TYPE_TO_SOURCE_TO_VERSION
module-attribute
¶
DATA_TYPE_TO_SOURCE_TO_VERSION = dict(robots={'rby1': '20251224', 'rby1m': '20251224', 'franka_droid': '20260127', 'franka_cap': '20260213', 'floating_rum': '20251110', 'floating_robotiq': '20260208_retry4', 'franka_fr3': '20260303', 'i2rt_yam': '20260223'}, scenes={'ithor': '20251217', 'refs': '20250923', 'procthor-10k-train': '20251122', 'procthor-10k-val': '20251217', 'procthor-10k-test': '20251121', 'holodeck-objaverse-train': '20251217', 'holodeck-objaverse-val': '20251217', 'procthor-objaverse-train': '20251205', 'procthor-objaverse-val': '20251205'}, objects={'thor': '20251117', 'objaverse': '20260131', 'objathor_metadata': '20260129'}, grasps={'droid': '20251116', 'droid_objaverse': '20251218'}, test_data={'franka_pick': '20260209', 'franka_pick_and_place': '20260305', 'rby1_door_opening': '20260228', 'rby1_pnp': '20260305', 'rum_open_close': '20260305', 'rum_pick': '20260209', 'test_randomized_data': '20251209', 'thormap': '20251209'}, benchmarks={'molmospaces-bench-v1': '20260408', 'molmospaces-bench-v2': '20260415'})
single_thread_environment
¶
Source code in molmo_spaces/molmo_spaces_constants.py
resource_manager_log_level
¶
get_resource_manager
¶
Source code in molmo_spaces/molmo_spaces_constants.py
get_scenes_root
¶
Source code in molmo_spaces/molmo_spaces_constants.py
get_asset_id_to_object_type
¶
Source code in molmo_spaces/molmo_spaces_constants.py
get_object_type_to_asset_ids
¶
Source code in molmo_spaces/molmo_spaces_constants.py
get_scenes
¶
get_scenes(dataset_name: str, split: str = 'train', return_version: bool = False) -> dict | tuple[dict, str | None]
Source code in molmo_spaces/molmo_spaces_constants.py
check_in_cache
¶
populate_cache
¶
Source code in molmo_spaces/molmo_spaces_constants.py
get_ithor_houses
¶
Return {split: {index: xml_path_or_None}} for iTHOR houses.
Source code in molmo_spaces/molmo_spaces_constants.py
get_procthor_10k_houses
¶
Return {split: {index: xml_path_or_None}} for ProcTHOR-10k houses.
Source code in molmo_spaces/molmo_spaces_constants.py
get_procthor_objaverse_debug_houses
¶
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses.
Source code in molmo_spaces/molmo_spaces_constants.py
get_procthor_objaverse_houses
¶
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses.
Source code in molmo_spaces/molmo_spaces_constants.py
get_holodeck_objaverse_houses
¶
Return {split: {index: xml_path_or_None}} for ProcTHOR Objaverse houses.
Source code in molmo_spaces/molmo_spaces_constants.py
get_robot_paths
¶
Return {robot_name: Path} for all available robot files.