File size: 1,754 Bytes
987ed1b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | name: can_image
shape_meta: &shape_meta
# acceptable types: rgb, low_dim
obs:
agentview_image:
shape: [3, 84, 84]
type: rgb
robot0_eye_in_hand_image:
shape: [3, 84, 84]
type: rgb
robot0_eef_pos:
shape: [3]
# type default: low_dim
robot0_eef_quat:
shape: [4]
robot0_gripper_qpos:
shape: [2]
action:
shape: [10]
task_name: &task_name can
dataset_type: &dataset_type mh
dataset_path: &dataset_path data/robomimic/datasets/${task.task_name}/${task.dataset_type}/image_abs.hdf5
abs_action: &abs_action True
env_runner:
_target_: diffusion_policy.env_runner.robomimic_image_runner.RobomimicImageRunner
dataset_path: *dataset_path
shape_meta: *shape_meta
# costs 1GB per env
n_train: 6
n_train_vis: 0
train_start_idx: 0
n_test: 50
n_test_vis: 0
test_start_seed: 100000
# use python's eval function as resolver, single-quoted string as argument
max_steps: ${eval:'500 if "${task.dataset_type}" == "mh" else 400'}
n_obs_steps: ${n_obs_steps}
n_action_steps: ${n_action_steps}
render_obs_key: 'agentview_image'
fps: 10
crf: 22
past_action: ${past_action_visible}
abs_action: *abs_action
tqdm_interval_sec: 1.0
n_envs: 25
# evaluation at this config requires a 16 core 64GB instance.
dataset:
_target_: diffusion_policy.dataset.robomimic_replay_image_dataset.RobomimicReplayImageDataset
shape_meta: *shape_meta
dataset_path: *dataset_path
horizon: ${horizon}
pad_before: ${eval:'${n_obs_steps}-1+${n_latency_steps}'}
pad_after: ${eval:'${n_action_steps}-1'}
n_obs_steps: ${dataset_obs_steps}
abs_action: *abs_action
rotation_rep: 'rotation_6d'
use_legacy_normalizer: False
use_cache: True
seed: 42
val_ratio: 0.02
|