MCPcopy Create free account

hub / github.com/ahadjawaid/openego / functions

Functions77 in github.com/ahadjawaid/openego

↓ 5 callersFunctionget_hdf5_data
Load data from HDF5 file.
openego/core/utils.py:50
↓ 4 callersFunctionget_benchmark_name
(video_path: Path)
openego/data/openego.py:102
↓ 3 callersMethod__getitem__
(self, index: int, demo_slice: Optional[slice] = None)
openego/data/openego.py:40
↓ 3 callersFunctioncleanup_extraction_artifacts
(root_dir: str | Path, benchmark_name: str)
openego/download_data.py:202
↓ 3 callersFunctionget_video_frames
Load video frames using OpenCV.
openego/core/utils.py:12
↓ 3 callersFunctionload_json
(file_path: Union[str, Path])
openego/core/utils.py:8
↓ 2 callersMethod__len__
(self)
openego/data/openego.py:25
↓ 2 callersFunctionconvert_points_to_trajetory_coordinates
Convert 3D points to 2D pixel coordinates using camera intrinsics. Args: points: shape [num_points, 3] or [batch_size, num_point
openego/core/projection.py:4
↓ 2 callersFunctiondownload_from_box
(url: str, show_progress: bool = True, save_dir: str | Path = ".")
openego/download_data.py:64
↓ 2 callersFunctionempty_annotation
(video_info, task="")
port_openego_to_lerobot.py:45
↓ 2 callersFunctionget_demo_fps
(annotation, metadata, video_info)
port_openego_to_lerobot.py:80
↓ 2 callersFunctionget_egodex_intrinsic
(video_path: Path)
openego/data/openego.py:134
↓ 2 callersFunctionget_egodex_joints
(video_path: Path, visibility_confidence_threshold: float = 0.5)
openego/data/openego.py:110
↓ 2 callersFunctionget_sorted_paths
Get sorted file paths matching pattern.
openego/core/utils.py:45
↓ 2 callersFunctionget_video_info
Get video metadata.
openego/core/utils.py:28
↓ 2 callersFunctionload_demo
(video_path: Path)
port_openego_to_lerobot.py:49
↓ 2 callersFunctionmerge_dir_into
(src_dir: str | Path, dst_dir: str | Path)
openego/download_data.py:142
↓ 2 callersFunctionnormalize_visibility
(v, n_frames, n_joints)
port_openego_to_lerobot.py:32
↓ 2 callersFunctionremove_macosx_artifacts
(root_dir: str | Path)
openego/download_data.py:135
↓ 2 callersFunctionto_jsonable
(x)
port_openego_to_lerobot.py:18
↓ 2 callersFunctionunzip_file
(zip_path: str | Path, extract_dir: str | Path | None = None, show_progress: bool = True)
openego/download_data.py:119
↓ 1 callersMethod_load_annotation
(self, video_path: Path, benchmark_name: str, demo_slice: Optional[slice] = None)
openego/data/openego.py:79
↓ 1 callersMethod_load_joint
(self, video_path: Path, benchmark_name: str, demo_slice: Optional[slice] = None)
openego/data/openego.py:68
↓ 1 callersMethod_load_metadata
(self, video_path: Path, benchmark_name: str, video_info: Mapping[str, Any])
openego/data/openego.py:87
↓ 1 callersMethod_load_rgb
(self, video_path: Path, demo_slice: Optional[slice] = None)
openego/data/openego.py:65
↓ 1 callersFunctionbuild_features
(image_shape)
port_openego_to_lerobot.py:84
↓ 1 callersFunctionflatten_named_subdir
(root_dir: str | Path, expected_name: str)
openego/download_data.py:183
↓ 1 callersFunctionflatten_single_nested_dir
(root_dir: str | Path)
openego/download_data.py:166
↓ 1 callersFunctionget_box_filename
(url: str)
openego/download_data.py:11
↓ 1 callersFunctionis_valid_zip
(zip_path: str | Path)
openego/download_data.py:23
↓ 1 callersFunctionis_zip_already_extracted
(zip_path: str | Path, extract_dir: str | Path | None = None)
openego/download_data.py:35
↓ 1 callersFunctionmain
Run pytest with appropriate arguments.
run_tests.py:7
↓ 1 callersFunctionmain
()
port_openego_to_lerobot.py:229
↓ 1 callersFunctionport_openego
( raw_dir: Path, repo_id: str, push_to_hub: bool = False, private: bool = False, root: Pat
port_openego_to_lerobot.py:125
Method__init__
( self, data_dir: Path, data_types: List[str] = ["joint", "rgb", "annotation", "metada
openego/data/openego.py:10
Methoddict
(self)
openego/data/annotations.py:23
Methodduration
(self)
openego/data/openego.py:37
Methodduration
(self)
openego/data/annotations.py:39
Methodend_frame
(self)
openego/data/annotations.py:47
Methodframes
(self)
openego/data/annotations.py:51
Methodget_item_from_demo_name
(self, video_name: Union[str, List[str]])
openego/data/openego.py:59
Methodintrinsic
(self)
openego/data/annotations.py:70
Methodjoints
(self)
openego/data/annotations.py:58
Methodjoints_pixel
(self)
openego/data/annotations.py:64
Methodleft_hand_joints
(self)
openego/data/annotations.py:74
Methodleft_hand_pixel_joints
(self)
openego/data/annotations.py:100
Methodleft_hand_visibility
(self)
openego/data/annotations.py:82
Methodnum_demos
(self)
openego/data/openego.py:29
Methodnum_frames
(self)
openego/data/openego.py:33
Methodnum_frames
(self)
openego/data/annotations.py:31
Methodprovider
Create OpenEgoDataProvider instance with test data.
tests/test_openego_provider.py:18
Methodresolution
(self)
openego/data/annotations.py:35
Methodright_hand_joints
(self)
openego/data/annotations.py:78
Methodright_hand_pixel_joints
(self)
openego/data/annotations.py:104
Methodright_hand_visibility
(self)
openego/data/annotations.py:91
Methodstart_frame
(self)
openego/data/annotations.py:43
Methodtest_action_dataclass
Test Action dataclass functionality.
tests/test_openego_provider.py:188
Methodtest_action_frames_property
Test Action.frames property loads video frames.
tests/test_openego_provider.py:215
Methodtest_action_pixel_joints
Test Action pixel coordinate conversion.
tests/test_openego_provider.py:230
Methodtest_benchmarks_property
Test benchmarks property.
tests/test_openego_provider.py:58
Methodtest_data_dir
Return path to test data directory.
tests/test_openego_provider.py:13
Methodtest_duration_property
Test duration property returns total duration in seconds.
tests/test_openego_provider.py:52
Methodtest_get_benchmark_name
Test benchmark name extraction from paths.
tests/test_openego_provider.py:176
Methodtest_getitem_all_data_types
Test __getitem__ returns all requested data types.
tests/test_openego_provider.py:64
Methodtest_getitem_invalid_index
Test __getitem__ with invalid index.
tests/test_openego_provider.py:104
Methodtest_getitem_subset_data_types
Test __getitem__ with subset of data types.
tests/test_openego_provider.py:90
Methodtest_init_with_invalid_directory
Test initialization with non-existent directory.
tests/test_openego_provider.py:32
Methodtest_init_with_valid_directory
Test initialization with valid data directory.
tests/test_openego_provider.py:25
Methodtest_len
Test __len__ returns number of videos.
tests/test_openego_provider.py:37
Methodtest_load_annotation
Test annotation loading.
tests/test_openego_provider.py:143
Methodtest_load_joint
Test joint data loading.
tests/test_openego_provider.py:122
Methodtest_load_metadata
Test metadata loading.
tests/test_openego_provider.py:163
Methodtest_load_rgb
Test RGB frame loading.
tests/test_openego_provider.py:109
Methodtest_num_demos_property
Test num_demos property.
tests/test_openego_provider.py:42
Methodtest_num_frames_property
Test num_frames property returns total frames.
tests/test_openego_provider.py:47
Methodtest_video_slice
Test loading video with frame slice.
tests/test_openego_provider.py:250
Methodvisualize
(self)
openego/data/annotations.py:107