MCPcopy Create free account

hub / github.com/MINT-SJTU/Evo-RL / functions

Functions5,633 in github.com/MINT-SJTU/Evo-RL

Methodis_connected
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:384
Methodis_connected
(self)
src/lerobot/teleoperators/unitree_g1/exo_serial.py:71
Methodis_connected
(self)
src/lerobot/teleoperators/unitree_g1/unitree_g1.py:83
Methodis_connected
(self)
src/lerobot/teleoperators/so_leader/so_leader.py:67
Methodis_connected
(self)
src/lerobot/teleoperators/bi_openarm_leader/bi_openarm_leader.py:89
Methodis_connected
(self)
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:82
Methodis_connected
Check if teleoperator is connected.
src/lerobot/teleoperators/openarm_leader/openarm_leader.py:83
Methodis_connected
Check if the camera is currently connected. Returns: bool: True if the camera is connected and ready to capture frames,
src/lerobot/cameras/camera.py:80
Methodis_connected
Checks if the ZMQ socket is initialized and connected.
src/lerobot/cameras/zmq/camera_zmq.py:104
Methodis_connected
Checks if the camera is currently connected and opened.
src/lerobot/cameras/opencv/camera_opencv.py:132
Methodis_connected
Checks if the camera is currently connected and opened.
src/lerobot/cameras/reachy2_camera/reachy2_camera.py:93
Methodis_connected
Checks if the camera pipeline is started and streams are active.
src/lerobot/cameras/realsense/camera_realsense.py:152
Methodis_connected
Check if connected to the motors.
src/lerobot/motors/motors_bus.py:77
Methodis_connected
bool: `True` if the underlying serial port is open.
src/lerobot/motors/motors_bus.py:496
Methodis_connected
Check if the CAN bus is connected.
src/lerobot/motors/damiao/damiao.py:154
Methodis_connected
(self)
tests/mocks/mock_teleop.py:68
Methodis_connected
(self)
tests/mocks/mock_robot.py:98
Functionis_image_key
(k: str)
src/lerobot/async_inference/helpers.py:70
Functionis_image_key
(k: str)
examples/rtc/eval_with_real_robot.py:209
Methodlang_embed_func
(lang_tokens)
src/lerobot/policies/pi0/modeling_pi0.py:659
Methodlang_embed_func
(tokens)
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:406
Methodlang_embed_func
(tokens)
src/lerobot/policies/pi05/modeling_pi05.py:656
Methodlast
(self)
src/lerobot/utils/utils.py:370
Functionleader
()
tests/teleoperators/test_so_leader.py:46
Functionlearner_service_stub
()
tests/rl/test_learner_service.py:27
Functionlekiwi_cameras_config
()
src/lerobot/robots/lekiwi/config_lekiwi.py:23
Methodlinear_warmup_schedule
(current_step)
src/lerobot/optim/schedulers.py:114
Methodlist_files_recursively
(directory)
examples/port_datasets/slurm_upload.py:95
Methodload_state_dict
Loads normalization statistics from a state dictionary. The loaded tensors are moved to the processor's configured device.
src/lerobot/processor/normalize_processor.py:171
Methodload_state_dict
Loads normalization statistics from a flat state dictionary. This enables loading stats from safetensors files during from_pretraine
src/lerobot/policies/groot/processor_groot.py:650
Methodload_state_dict
(self, state: dict[str, torch.Tensor])
tests/processor/test_pipeline.py:160
Methodload_state_dict
Override to load all module parameters and buffers.
tests/processor/test_pipeline.py:663
Methodload_state_dict
Load tensor state.
tests/processor/test_pipeline.py:743
Methodload_state_dict
(self, state: dict[str, torch.Tensor])
tests/processor/test_pipeline.py:807
Methodload_state_dict
(self, state: dict[str, torch.Tensor])
tests/processor/test_pipeline.py:848
Methodload_state_dict
(self, state)
tests/processor/test_pipeline.py:1449
Methodload_state_dict
(self, state)
tests/processor/test_pipeline.py:1746
Methodlog_abs_det_jacobian
(self, x, y)
src/lerobot/policies/sac/modeling_sac.py:1023
Methodlog_dict
( self, d: dict, step: int | None = None, mode: str = "train", custom_step_key: str | None = None
src/lerobot/rl/wandb_utils.py:251
Methodlog_policy
(self, checkpoint_dir: Path)
src/lerobot/rl/wandb_utils.py:248
Methodlog_video
(self, video_path: str, step: int, mode: str = "train")
src/lerobot/rl/wandb_utils.py:277
Methodlr_lambda
(current_step)
src/lerobot/optim/schedulers.py:65
Methodlr_lambda
(current_step)
src/lerobot/optim/schedulers.py:113
Methodlr_lambda
(current_step: int)
src/lerobot/policies/evo1/configuration_evo1.py:20
MethodmakeParam
(self)
src/lerobot/motors/motors_bus.py:261
MethodmakeParam
(self)
src/lerobot/motors/motors_bus.py:284
Methodmake_params
(self, flat_inputs: list[Any])
src/lerobot/datasets/transforms.py:138
Methodmake_props_dict
(names, props)
src/lerobot/policies/sarm/processor_sarm.py:74
Functionmat_to_rotate6d
(abs_action)
src/lerobot/policies/xvla/utils.py:112
Methodmax_length
(self)
src/lerobot/policies/sarm/configuration_sarm.py:218
Methodmlp_func
(action_time_emb)
src/lerobot/policies/pi0/modeling_pi0.py:720
Methodmock_clip_model
Mock CLIP model to avoid loading real weights.
tests/policies/test_sarm_processor.py:104
Functionmock_encode_video_frames
(imgs_dir, video_path, fps, **kwargs)
tests/datasets/test_datasets.py:1382
Functionmock_load_image_as_numpy
Mock image loading for consistent test results.
tests/datasets/test_quantiles_dataset_integration.py:25
Functionmock_load_image_as_numpy
(path, dtype, channel_first)
tests/datasets/test_compute_stats.py:35
Functionmock_metrics
()
tests/utils/test_logging_utils.py:23
Functionmock_motors
()
tests/motors/test_feetech.py:47
Functionmock_motors
()
tests/motors/test_dynamixel.py:47
Functionmock_rerun
Provide a mock `rerun` module so tests don't depend on the real library. Also reload the module-under-test so it binds to this mock `rr`.
tests/utils/test_visualization_utils.py:29
Functionmock_rs_config_enable_device_bad_file
(rs_config_instance, _sn)
tests/cameras/test_realsense.py:45
Functionmock_rs_config_enable_device_from_file
(rs_config_instance, _sn)
tests/cameras/test_realsense.py:41
Functionmock_snapshot
(repo_id, **kwargs)
tests/datasets/test_dataset_tools.py:158
Functionmock_tokenizer
Provide a mock tokenizer for testing.
tests/processor/test_tokenizer_processor.py:91
Functionmock_upload_folder
(*args, **kwargs)
tests/test_cli_peft.py:48
Methodmode
(self)
src/lerobot/policies/sac/modeling_sac.py:1046
Methodmodel
(self, batch: dict)
tests/async_inference/test_policy_server.py:58
Methodmodel_input_names
(self)
src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:447
Functionmodel_params
()
tests/fixtures/optimizers.py:22
Methodmodels
(self)
src/lerobot/motors/motors_bus.py:386
Methodmotors_features
(self)
src/lerobot/robots/reachy2/robot_reachy2.py:110
Functionmouse_callback
(event, x, y, flags, param)
src/lerobot/rl/crop_dataset_roi.py:54
Functionmulti_optimizers
(base_params_dict)
tests/optim/test_optimizers.py:154
Methodnames
Names of the various dimensions of vector modalities.
src/lerobot/datasets/lerobot_dataset.py:260
Functionnext_dummy_state
()
tests/utils/test_replay_buffer.py:166
Functionnoop
(*args, **kwargs)
src/lerobot/policies/vqbet/vqbet_utils.py:924
Methodnum_episodes
Number of episodes selected.
src/lerobot/datasets/lerobot_dataset.py:936
Methodnum_episodes
Number of episodes.
src/lerobot/datasets/lerobot_dataset.py:1769
Methodnum_episodes
(self)
src/lerobot/datasets/streaming_dataset.py:167
Methodnum_episodes
(self)
src/lerobot/datasets/online_buffer.py:224
Methodnum_frames
Total number of frames in sequence. For training: 1 + n_obs_steps + max_rewind_steps The sequence is: [obs_frames (n_obs_steps + 1)]
src/lerobot/policies/sarm/configuration_sarm.py:209
Methodnum_frames
Number of frames in selected episodes. Note: When episodes a subset of the full dataset is requested, we must return the actual loade
src/lerobot/datasets/lerobot_dataset.py:924
Methodnum_frames
Number of samples/frames.
src/lerobot/datasets/lerobot_dataset.py:1764
Methodnum_frames
(self)
src/lerobot/datasets/streaming_dataset.py:163
Methodnum_frames
(self)
src/lerobot/datasets/online_buffer.py:230
Methodnum_frames
(self)
tests/policies/test_sarm_processor.py:96
Methodobservation
(self, observation: RobotObservation)
src/lerobot/robots/so_follower/robot_kinematic_processor.py:442
Methodobservation
Applies cropping and resizing to all images in the observation dictionary. Args: observation: The observation dictionary
src/lerobot/processor/hil_processor.py:192
Methodobservation
(self, observation)
src/lerobot/processor/rename_processor.py:43
Methodobservation
(self, observation)
src/lerobot/processor/env_processor.py:111
Methodobservation
(self, observation)
src/lerobot/processor/env_processor.py:227
Methodobservation
(self, observation)
src/lerobot/processor/observation_processor.py:128
Methodobservation
Tokenizes the task description and adds it to the observation dictionary. This method retrieves the task, tokenizes it, moves the re
src/lerobot/processor/tokenizer_processor.py:170
Methodobservation
Adds a batch dimension to tensor-based observations in the observation dictionary. Args: observation: The observation di
src/lerobot/processor/batch_processor.py:93
Methodobservation
(self, observation)
src/lerobot/policies/xvla/processor_xvla.py:219
Methodobservation
Computes joint velocities and adds them to the observation state. Args: observation: The input observation dictionary, e
src/lerobot/rl/joint_observations_processor.py:52
Methodobservation
Fetches motor currents and adds them to the observation state. Args: observation: The input observation dictionary.
src/lerobot/rl/joint_observations_processor.py:148
Methodobservation_delta_indices
(self)
src/lerobot/configs/policies.py:105
Methodobservation_delta_indices
(self)
src/lerobot/policies/sac/configuration_sac.py:234
Methodobservation_delta_indices
(self)
src/lerobot/policies/sac/reward_model/configuration_classifier.py:50
Methodobservation_delta_indices
(self)
src/lerobot/policies/diffusion/configuration_diffusion.py:220
← previousnext →3,601–3,700 of 5,633, ranked by callers