mirage.benchmark.robosuite.robosuite_experiment_config.ExperimentRobotsuiteConfig#
- class mirage.benchmark.robosuite.robosuite_experiment_config.ExperimentRobotsuiteConfig(source_agent_path: str, target_agent_path: str, n_rollouts: int, horizon: int, seed: int, passive: bool, connection: bool, source_robot_name: str, target_robot_name: str, source_tracking_error_threshold: float, target_tracking_error_threshold: float, source_num_iter_max: int, target_num_iter_max: int, delta_action: bool, enable_inpainting: bool, use_ros: bool, offline_eval: bool, use_diffusion: bool, diffusion_input_type: str, results_folder: str, source_video_path: str | None = None, target_video_path: str | None = None, source_gripper_type: str | None = None, target_gripper_type: str | None = None)#
Bases:
ExperimentConfig
Used to store the configuration of the Robosuite Experiment.
- __init__(source_agent_path: str, target_agent_path: str, n_rollouts: int, horizon: int, seed: int, passive: bool, connection: bool, source_robot_name: str, target_robot_name: str, source_tracking_error_threshold: float, target_tracking_error_threshold: float, source_num_iter_max: int, target_num_iter_max: int, delta_action: bool, enable_inpainting: bool, use_ros: bool, offline_eval: bool, use_diffusion: bool, diffusion_input_type: str, results_folder: str, source_video_path: str | None = None, target_video_path: str | None = None, source_gripper_type: str | None = None, target_gripper_type: str | None = None) None #
Methods
__init__
(source_agent_path, ...[, ...])from_yaml
(yaml_file)Creates an ExperimentRobotsuiteConfig from a yaml file.
Validates the configuration to see if the values are feasible.
Attributes
source_gripper_type
source_video_path
target_gripper_type
target_video_path
source_agent_path
target_agent_path
n_rollouts
horizon
seed
passive
connection
source_robot_name
target_robot_name
source_tracking_error_threshold
target_tracking_error_threshold
source_num_iter_max
target_num_iter_max
delta_action
enable_inpainting
use_ros
offline_eval
use_diffusion
diffusion_input_type
results_folder
- static from_yaml(yaml_file: str)#
Creates an ExperimentRobotsuiteConfig from a yaml file.
- validate_config()#
Validates the configuration to see if the values are feasible. :throws ValueError: If the configuration is not valid.