Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- Metaworld/gen_demonstration_expert.py +193 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/full_state/6.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/state/4.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/state/6.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/action/1.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/1.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/10.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/11.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/12.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/15.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/17.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/18.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/19.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/4.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/9.0 +0 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/meta/.zgroup +3 -0
- Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/meta/episode_ends/0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/.zgroup +3 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/10.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/11.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/14.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/2.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/3.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/4.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/5.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/7.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/depth/.zarray +24 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/13.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/15.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/16.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/18.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/3.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/4.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/5.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/7.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/.zarray +26 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/10.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/13.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/14.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/16.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/9.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/state/13.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/state/3.0 +0 -0
- Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/meta/.zgroup +3 -0
- Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/3.0 +0 -0
- Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/7.0 +0 -0
- Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/img/0.0.0.0 +0 -0
- Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/img/15.0.0.0 +0 -0
Metaworld/gen_demonstration_expert.py
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# bash scripts/metaworld/gen_demonstration_expert.sh reach 5
|
| 2 |
+
import argparse
|
| 3 |
+
import os
|
| 4 |
+
import zarr
|
| 5 |
+
import numpy as np
|
| 6 |
+
from diffusion_policy_3d.env import MetaWorldEnv
|
| 7 |
+
from termcolor import cprint
|
| 8 |
+
import copy
|
| 9 |
+
import imageio
|
| 10 |
+
from metaworld.policies import *
|
| 11 |
+
# import faulthandler
|
| 12 |
+
# faulthandler.enable()
|
| 13 |
+
|
| 14 |
+
seed = np.random.randint(0, 100)
|
| 15 |
+
|
| 16 |
+
def load_mw_policy(task_name):
|
| 17 |
+
if task_name == 'peg-insert-side':
|
| 18 |
+
agent = SawyerPegInsertionSideV2Policy()
|
| 19 |
+
else:
|
| 20 |
+
task_name = task_name.split('-')
|
| 21 |
+
task_name = [s.capitalize() for s in task_name]
|
| 22 |
+
task_name = "Sawyer" + "".join(task_name) + "V2Policy"
|
| 23 |
+
agent = eval(task_name)()
|
| 24 |
+
return agent
|
| 25 |
+
|
| 26 |
+
def main(args):
|
| 27 |
+
env_name = args.env_name
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
save_dir = os.path.join(args.root_dir, 'metaworld_'+args.env_name+'_expert.zarr')
|
| 31 |
+
if os.path.exists(save_dir):
|
| 32 |
+
cprint('Data already exists at {}'.format(save_dir), 'red')
|
| 33 |
+
cprint("If you want to overwrite, delete the existing directory first.", "red")
|
| 34 |
+
cprint("Do you want to overwrite? (y/n)", "red")
|
| 35 |
+
user_input = 'y'
|
| 36 |
+
if user_input == 'y':
|
| 37 |
+
cprint('Overwriting {}'.format(save_dir), 'red')
|
| 38 |
+
os.system('rm -rf {}'.format(save_dir))
|
| 39 |
+
else:
|
| 40 |
+
cprint('Exiting', 'red')
|
| 41 |
+
return
|
| 42 |
+
os.makedirs(save_dir, exist_ok=True)
|
| 43 |
+
|
| 44 |
+
e = MetaWorldEnv(env_name, device="cuda:0", use_point_crop=True)
|
| 45 |
+
|
| 46 |
+
num_episodes = args.num_episodes
|
| 47 |
+
cprint(f"Number of episodes : {num_episodes}", "yellow")
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
total_count = 0
|
| 51 |
+
img_arrays = []
|
| 52 |
+
point_cloud_arrays = []
|
| 53 |
+
depth_arrays = []
|
| 54 |
+
state_arrays = []
|
| 55 |
+
full_state_arrays = []
|
| 56 |
+
action_arrays = []
|
| 57 |
+
episode_ends_arrays = []
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
episode_idx = 0
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
mw_policy = load_mw_policy(env_name)
|
| 64 |
+
|
| 65 |
+
# loop over episodes
|
| 66 |
+
while episode_idx < num_episodes:
|
| 67 |
+
raw_state = e.reset()['full_state']
|
| 68 |
+
|
| 69 |
+
obs_dict = e.get_visual_obs()
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
done = False
|
| 73 |
+
|
| 74 |
+
ep_reward = 0.
|
| 75 |
+
ep_success = False
|
| 76 |
+
ep_success_times = 0
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
img_arrays_sub = []
|
| 80 |
+
point_cloud_arrays_sub = []
|
| 81 |
+
depth_arrays_sub = []
|
| 82 |
+
state_arrays_sub = []
|
| 83 |
+
full_state_arrays_sub = []
|
| 84 |
+
action_arrays_sub = []
|
| 85 |
+
total_count_sub = 0
|
| 86 |
+
|
| 87 |
+
while not done:
|
| 88 |
+
|
| 89 |
+
total_count_sub += 1
|
| 90 |
+
|
| 91 |
+
obs_img = obs_dict['image']
|
| 92 |
+
obs_robot_state = obs_dict['agent_pos']
|
| 93 |
+
obs_point_cloud = obs_dict['point_cloud']
|
| 94 |
+
obs_depth = obs_dict['depth']
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
img_arrays_sub.append(obs_img)
|
| 98 |
+
point_cloud_arrays_sub.append(obs_point_cloud)
|
| 99 |
+
depth_arrays_sub.append(obs_depth)
|
| 100 |
+
state_arrays_sub.append(obs_robot_state)
|
| 101 |
+
full_state_arrays_sub.append(raw_state)
|
| 102 |
+
|
| 103 |
+
action = mw_policy.get_action(raw_state)
|
| 104 |
+
|
| 105 |
+
action_arrays_sub.append(action)
|
| 106 |
+
obs_dict, reward, done, info = e.step(action)
|
| 107 |
+
raw_state = obs_dict['full_state']
|
| 108 |
+
ep_reward += reward
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
ep_success = ep_success or info['success']
|
| 112 |
+
ep_success_times += info['success']
|
| 113 |
+
|
| 114 |
+
if done:
|
| 115 |
+
break
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
if not ep_success or ep_success_times < 5:
|
| 119 |
+
cprint(f'Episode: {episode_idx} failed with reward {ep_reward} and success times {ep_success_times}', 'red')
|
| 120 |
+
continue
|
| 121 |
+
else:
|
| 122 |
+
total_count += total_count_sub
|
| 123 |
+
episode_ends_arrays.append(copy.deepcopy(total_count)) # the index of the last step of the episode
|
| 124 |
+
img_arrays.extend(copy.deepcopy(img_arrays_sub))
|
| 125 |
+
point_cloud_arrays.extend(copy.deepcopy(point_cloud_arrays_sub))
|
| 126 |
+
depth_arrays.extend(copy.deepcopy(depth_arrays_sub))
|
| 127 |
+
state_arrays.extend(copy.deepcopy(state_arrays_sub))
|
| 128 |
+
action_arrays.extend(copy.deepcopy(action_arrays_sub))
|
| 129 |
+
full_state_arrays.extend(copy.deepcopy(full_state_arrays_sub))
|
| 130 |
+
cprint('Episode: {}, Reward: {}, Success Times: {}'.format(episode_idx, ep_reward, ep_success_times), 'green')
|
| 131 |
+
episode_idx += 1
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
# save data
|
| 135 |
+
###############################
|
| 136 |
+
# save data
|
| 137 |
+
###############################
|
| 138 |
+
# create zarr file
|
| 139 |
+
zarr_root = zarr.group(save_dir)
|
| 140 |
+
zarr_data = zarr_root.create_group('data')
|
| 141 |
+
zarr_meta = zarr_root.create_group('meta')
|
| 142 |
+
# save img, state, action arrays into data, and episode ends arrays into meta
|
| 143 |
+
img_arrays = np.stack(img_arrays, axis=0)
|
| 144 |
+
if img_arrays.shape[1] == 3: # make channel last
|
| 145 |
+
img_arrays = np.transpose(img_arrays, (0,2,3,1))
|
| 146 |
+
state_arrays = np.stack(state_arrays, axis=0)
|
| 147 |
+
full_state_arrays = np.stack(full_state_arrays, axis=0)
|
| 148 |
+
point_cloud_arrays = np.stack(point_cloud_arrays, axis=0)
|
| 149 |
+
depth_arrays = np.stack(depth_arrays, axis=0)
|
| 150 |
+
action_arrays = np.stack(action_arrays, axis=0)
|
| 151 |
+
episode_ends_arrays = np.array(episode_ends_arrays)
|
| 152 |
+
|
| 153 |
+
compressor = zarr.Blosc(cname='zstd', clevel=3, shuffle=1)
|
| 154 |
+
img_chunk_size = (100, img_arrays.shape[1], img_arrays.shape[2], img_arrays.shape[3])
|
| 155 |
+
state_chunk_size = (100, state_arrays.shape[1])
|
| 156 |
+
full_state_chunk_size = (100, full_state_arrays.shape[1])
|
| 157 |
+
point_cloud_chunk_size = (100, point_cloud_arrays.shape[1], point_cloud_arrays.shape[2])
|
| 158 |
+
depth_chunk_size = (100, depth_arrays.shape[1], depth_arrays.shape[2])
|
| 159 |
+
action_chunk_size = (100, action_arrays.shape[1])
|
| 160 |
+
zarr_data.create_dataset('img', data=img_arrays, chunks=img_chunk_size, dtype='uint8', overwrite=True, compressor=compressor)
|
| 161 |
+
zarr_data.create_dataset('state', data=state_arrays, chunks=state_chunk_size, dtype='float32', overwrite=True, compressor=compressor)
|
| 162 |
+
zarr_data.create_dataset('full_state', data=full_state_arrays, chunks=full_state_chunk_size, dtype='float32', overwrite=True, compressor=compressor)
|
| 163 |
+
zarr_data.create_dataset('point_cloud', data=point_cloud_arrays, chunks=point_cloud_chunk_size, dtype='float32', overwrite=True, compressor=compressor)
|
| 164 |
+
zarr_data.create_dataset('depth', data=depth_arrays, chunks=depth_chunk_size, dtype='float32', overwrite=True, compressor=compressor)
|
| 165 |
+
zarr_data.create_dataset('action', data=action_arrays, chunks=action_chunk_size, dtype='float32', overwrite=True, compressor=compressor)
|
| 166 |
+
zarr_meta.create_dataset('episode_ends', data=episode_ends_arrays, dtype='int64', overwrite=True, compressor=compressor)
|
| 167 |
+
|
| 168 |
+
cprint(f'-'*50, 'cyan')
|
| 169 |
+
# print shape
|
| 170 |
+
cprint(f'img shape: {img_arrays.shape}, range: [{np.min(img_arrays)}, {np.max(img_arrays)}]', 'green')
|
| 171 |
+
cprint(f'point_cloud shape: {point_cloud_arrays.shape}, range: [{np.min(point_cloud_arrays)}, {np.max(point_cloud_arrays)}]', 'green')
|
| 172 |
+
cprint(f'depth shape: {depth_arrays.shape}, range: [{np.min(depth_arrays)}, {np.max(depth_arrays)}]', 'green')
|
| 173 |
+
cprint(f'state shape: {state_arrays.shape}, range: [{np.min(state_arrays)}, {np.max(state_arrays)}]', 'green')
|
| 174 |
+
cprint(f'full_state shape: {full_state_arrays.shape}, range: [{np.min(full_state_arrays)}, {np.max(full_state_arrays)}]', 'green')
|
| 175 |
+
cprint(f'action shape: {action_arrays.shape}, range: [{np.min(action_arrays)}, {np.max(action_arrays)}]', 'green')
|
| 176 |
+
cprint(f'Saved zarr file to {save_dir}', 'green')
|
| 177 |
+
|
| 178 |
+
# clean up
|
| 179 |
+
del img_arrays, state_arrays, point_cloud_arrays, action_arrays, episode_ends_arrays
|
| 180 |
+
del zarr_root, zarr_data, zarr_meta
|
| 181 |
+
del e
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
if __name__ == "__main__":
|
| 186 |
+
|
| 187 |
+
parser = argparse.ArgumentParser()
|
| 188 |
+
parser.add_argument('--env_name', type=str, default='basketball')
|
| 189 |
+
parser.add_argument('--num_episodes', type=int, default=10)
|
| 190 |
+
parser.add_argument('--root_dir', type=str, default="../../3D-Diffusion-Policy/data/" )
|
| 191 |
+
|
| 192 |
+
args = parser.parse_args()
|
| 193 |
+
main(args)
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/full_state/6.0
ADDED
|
Binary file (5.02 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/state/4.0
ADDED
|
Binary file (2.75 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hammer_expert.zarr/data/state/6.0
ADDED
|
Binary file (2.85 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/action/1.0
ADDED
|
Binary file (1.16 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/1.0
ADDED
|
Binary file (4.31 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/10.0
ADDED
|
Binary file (3.45 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/11.0
ADDED
|
Binary file (4.48 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/12.0
ADDED
|
Binary file (3.43 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/15.0
ADDED
|
Binary file (4.29 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/17.0
ADDED
|
Binary file (3.16 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/18.0
ADDED
|
Binary file (3.38 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/19.0
ADDED
|
Binary file (4.35 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/4.0
ADDED
|
Binary file (3.41 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/data/full_state/9.0
ADDED
|
Binary file (3.26 kB). View file
|
|
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/meta/.zgroup
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"zarr_format": 2
|
| 3 |
+
}
|
Metaworld/zarr_path: /data/haojun/datasets/3d-dp/metaworld_hand-insert_expert.zarr/meta/episode_ends/0
ADDED
|
Binary file (96 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/.zgroup
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"zarr_format": 2
|
| 3 |
+
}
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/0.0
ADDED
|
Binary file (1.16 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/10.0
ADDED
|
Binary file (1.11 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/11.0
ADDED
|
Binary file (730 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/14.0
ADDED
|
Binary file (1.05 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/2.0
ADDED
|
Binary file (715 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/3.0
ADDED
|
Binary file (57 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/4.0
ADDED
|
Binary file (749 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/5.0
ADDED
|
Binary file (57 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/action/7.0
ADDED
|
Binary file (505 Bytes). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/depth/.zarray
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunks": [
|
| 3 |
+
100,
|
| 4 |
+
128,
|
| 5 |
+
128
|
| 6 |
+
],
|
| 7 |
+
"compressor": {
|
| 8 |
+
"blocksize": 0,
|
| 9 |
+
"clevel": 3,
|
| 10 |
+
"cname": "zstd",
|
| 11 |
+
"id": "blosc",
|
| 12 |
+
"shuffle": 1
|
| 13 |
+
},
|
| 14 |
+
"dtype": "<f4",
|
| 15 |
+
"fill_value": 0.0,
|
| 16 |
+
"filters": null,
|
| 17 |
+
"order": "C",
|
| 18 |
+
"shape": [
|
| 19 |
+
2000,
|
| 20 |
+
128,
|
| 21 |
+
128
|
| 22 |
+
],
|
| 23 |
+
"zarr_format": 2
|
| 24 |
+
}
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/13.0
ADDED
|
Binary file (4.55 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/15.0
ADDED
|
Binary file (4.03 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/16.0
ADDED
|
Binary file (3.86 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/18.0
ADDED
|
Binary file (4.11 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/3.0
ADDED
|
Binary file (3.67 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/4.0
ADDED
|
Binary file (3.86 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/5.0
ADDED
|
Binary file (3.32 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/full_state/7.0
ADDED
|
Binary file (4.39 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/.zarray
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunks": [
|
| 3 |
+
100,
|
| 4 |
+
128,
|
| 5 |
+
128,
|
| 6 |
+
3
|
| 7 |
+
],
|
| 8 |
+
"compressor": {
|
| 9 |
+
"blocksize": 0,
|
| 10 |
+
"clevel": 3,
|
| 11 |
+
"cname": "zstd",
|
| 12 |
+
"id": "blosc",
|
| 13 |
+
"shuffle": 1
|
| 14 |
+
},
|
| 15 |
+
"dtype": "|u1",
|
| 16 |
+
"fill_value": 0,
|
| 17 |
+
"filters": null,
|
| 18 |
+
"order": "C",
|
| 19 |
+
"shape": [
|
| 20 |
+
2000,
|
| 21 |
+
128,
|
| 22 |
+
128,
|
| 23 |
+
3
|
| 24 |
+
],
|
| 25 |
+
"zarr_format": 2
|
| 26 |
+
}
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/10.0.0.0
ADDED
|
Binary file (962 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/13.0.0.0
ADDED
|
Binary file (944 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/14.0.0.0
ADDED
|
Binary file (927 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/16.0.0.0
ADDED
|
Binary file (935 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/img/9.0.0.0
ADDED
|
Binary file (941 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/state/13.0
ADDED
|
Binary file (2.76 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/data/state/3.0
ADDED
|
Binary file (1.95 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_disassemble_expert.zarr/meta/.zgroup
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"zarr_format": 2
|
| 3 |
+
}
|
Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/0.0
ADDED
|
Binary file (1.28 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/3.0
ADDED
|
Binary file (1.22 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/action/7.0
ADDED
|
Binary file (1.21 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/img/0.0.0.0
ADDED
|
Binary file (828 kB). View file
|
|
|
Metaworld/zarr_path: data/metaworld_door-close_expert.zarr/data/img/15.0.0.0
ADDED
|
Binary file (885 kB). View file
|
|
|