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:
ExperimentConfigUsed 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_typesource_video_pathtarget_gripper_typetarget_video_pathsource_agent_pathtarget_agent_pathn_rolloutshorizonseedpassiveconnectionsource_robot_nametarget_robot_namesource_tracking_error_thresholdtarget_tracking_error_thresholdsource_num_iter_maxtarget_num_iter_maxdelta_actionenable_inpaintinguse_rosoffline_evaluse_diffusiondiffusion_input_typeresults_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.