diff --git a/.gitignore b/.gitignore index 8f91349..fddaa47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ # Data directories. -assets/ checkpoints/ data/ wandb/ @@ -170,5 +169,7 @@ cython_debug/ # new uv.lock Miniforge3-Linux-x86_64.sh -third_party/rerun-stub/ - +third_party/rerun-stub/* +!third_party/rerun-stub/dist/ +third_party/rerun-stub/dist/* +!third_party/rerun-stub/dist/.gitkeep diff --git a/README.md b/README.md index d16e43d..9bed814 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # openpi +> Project-specific staged Ego-to-robot training and Alibaba Cloud DSW/DLC instructions: +> [docs/egoscale_staged_training.md](docs/egoscale_staged_training.md). + openpi holds open-source models and packages for robotics, published by the [Physical Intelligence team](https://www.physicalintelligence.company/). Currently, this repo contains three types of models: diff --git a/assets/cotrain_full_all_full_norm/agibot/norm_stats.json b/assets/cotrain_full_all_full_norm/agibot/norm_stats.json new file mode 100644 index 0000000..3b0685f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/agibot/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.9210807681083679, + 0.5359001755714417, + 0.6545957326889038, + -0.7835156917572021, + 0.49938780069351196, + 1.1667169332504272, + 0.18891742825508118, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 68.11420440673828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9076082110404968, + -0.46920207142829895, + -0.6356353163719177, + 0.7388717532157898, + -0.563096821308136, + -1.190690040588379, + -0.2128467708826065, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 62.9249153137207, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158376656472683, + 0.43660369515419006, + 0.46915775537490845, + 0.28688758611679077, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.1222560405731201, + 0.7990611791610718, + 0.9331700801849365, + 0.4298188388347626, + 0.5488388538360596, + 0.4325656592845917, + 0.7940273284912109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 38.27954864501953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0739389657974243, + 0.7449344992637634, + 0.9927517175674438, + 0.43602320551872253, + 0.58744877576828, + 0.409100741147995, + 0.741567075252533, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 36.552215576171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.044218555092811584, + 0.09825704991817474, + 0.14466187357902527, + 0.10195881873369217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.3409746315956115, + -1.636828637123108, + -1.6977303141593931, + -1.4809685335159302, + -0.8208179449558255, + -0.6260671993255615, + -2.3568282432556154, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.4988072265625, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9538713235855103, + -1.5447361523151397, + -2.1905040143489836, + -0.29421191997528084, + -2.4507909409999846, + -1.73033405251503, + -2.070129588508606, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.645408143234256, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.9056857607841486, + 1.5327249885797505, + 2.1687543660163886, + 0.024525047016143775, + 1.6984838352680205, + 1.7286521408081055, + 1.8420831871032712, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 122.81813722076416, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.2422985345840454, + 1.4218171607971195, + 1.6568048201084142, + 1.475336287808418, + 0.9665897595882411, + 0.12981792721748353, + 2.1170754617691045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 121.32148989295959, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0007903198711574078, + 0.00011111732601420954, + 0.003278969321399927, + 0.0018502098973840475, + -0.0018388478783890605, + -0.0026262151077389717, + 0.0018169175600633025, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.42531853914260864, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0017990715568885207, + 0.00021451868815347552, + -0.005517459008842707, + -0.0024181653279811144, + 0.002791187958791852, + 0.002916863653808832, + -0.0025791008956730366, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3584616482257843, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158386901021004, + 0.43660271167755127, + 0.4691601097583771, + 0.28689104318618774, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.06166767701506615, + 0.06289893388748169, + 0.054367028176784515, + 0.06547970324754715, + 0.0702083557844162, + 0.07014007121324539, + 0.09278079867362976, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4933164119720459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06577219814062119, + 0.07637953013181686, + 0.06400372833013535, + 0.0757603719830513, + 0.07687703520059586, + 0.07965576648712158, + 0.10504146665334702, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.477949857711792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04421856254339218, + 0.09826167672872543, + 0.14465774595737457, + 0.10195144265890121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2101372690677643, + -0.2321174460649491, + -0.17257755661010732, + -0.20412157559394828, + -0.2611778012275696, + -0.27466095159053805, + -0.31812099928855897, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21728988885879508, + -0.24020811669826514, + -0.24614887866973878, + -0.2764002819538116, + -0.24440300831794737, + -0.2453194079399108, + -0.3429291203022, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20963992025852196, + 0.1999978750944138, + 0.2047261504173281, + 0.24245942616462712, + 0.22355237565040564, + 0.21409198014736175, + 0.31090978384017953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22425809392929086, + 0.27321109790802, + 0.18851629810333237, + 0.22489868850708006, + 0.27490250425338747, + 0.2988687011241915, + 0.3503418828487397, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/agibot/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/agibot/norm_stats_meta.json new file mode 100644 index 0000000..dbd5f23 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/agibot/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "agibot", + "builder_dir": "/mnt/bos/bo23lu/AgiBot/agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986/agibot_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1059832, + "num_frames": 33914594, + "estimated_total_batches": null, + "train_episodes": 21837, + "train_bytes": 7547826566949, + "elapsed_sec": 9102.592523097992, + "frames_per_sec": 3725.8170036658357 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/agibot/unified_action_space.json b/assets/cotrain_full_all_full_norm/agibot/unified_action_space.json new file mode 100644 index 0000000..cf12aa9 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/agibot/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "5e45fd3b2852b2a3e91da045db1d52fa4b8cd7429974403773734c355b6a795c" +} diff --git a/assets/cotrain_full_all_full_norm/droid/norm_stats.json b/assets/cotrain_full_all_full_norm/droid/norm_stats.json new file mode 100644 index 0000000..c9937ea --- /dev/null +++ b/assets/cotrain_full_all_full_norm/droid/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.014264719560742378, + 0.23982040584087372, + -0.014591705054044724, + -2.0273144245147705, + -0.03576287254691124, + 2.323211669921875, + 0.0828426331281662, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3599560260772705, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32424554228782654, + 0.5158682465553284, + 0.28870725631713867, + 0.5025275349617004, + 0.5316236019134521, + 0.46866557002067566, + 0.7423588037490845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4027109742164612, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9240023367881773, + -0.8884155247688293, + -0.932663969230652, + -2.7749946952819826, + -1.845044603061676, + 1.1692317866563797, + -2.0730253297805787, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.982635237503052, + 1.4446059867143632, + 0.8277577193260188, + -0.44634648761749274, + 1.7120736752033237, + 3.5038524341106414, + 2.212446826171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0009084727498702705, + 0.04833802580833435, + -0.0012050201185047626, + 0.03542366996407509, + -0.0021518415305763483, + 0.019638868048787117, + 0.006257439497858286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.40670886635780334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17263764142990112, + 0.32643333077430725, + 0.16556227207183838, + 0.29040563106536865, + 0.2672358453273773, + 0.28381240367889404, + 0.3206557035446167, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.43752798438072205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5209945830345153, + -0.7863647277832031, + -0.5066786664962768, + -0.82759104347229, + -0.8665996181488036, + -0.7820417912006377, + -0.9812896099090573, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5199369877338409, + 1.044959797668457, + 0.4928590750694273, + 0.9082127244472509, + 0.8440616558074954, + 0.8804159455299381, + 0.9947045337677007, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/droid/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/droid/norm_stats_meta.json new file mode 100644 index 0000000..3eaccb2 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/droid/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "droid", + "builder_dir": "/mnt/bos/bo23lu/DROID/droid_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 578829, + "num_frames": 18522518, + "estimated_total_batches": null, + "train_episodes": 64124, + "train_bytes": 1185946441420, + "elapsed_sec": 4512.591522216797, + "frames_per_sec": 4104.629880371018 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/droid/unified_action_space.json b/assets/cotrain_full_all_full_norm/droid/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/droid/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats.json b/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats.json new file mode 100644 index 0000000..488a717 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1237354576587677, + 0.22281472384929657, + 0.4135497510433197, + -0.5345580577850342, + 0.4574829339981079, + 0.5661123394966125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23999233543872833, + 0.2156621366739273, + 0.4135463237762451, + 0.392553448677063, + -0.37075382471084595, + 0.6305035948753357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09448008239269257, + 0.1390148252248764, + 0.13480989634990692, + 0.6640503406524658, + 0.36818432807922363, + 0.47777312994003296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09318281710147858, + 0.12346088886260986, + 0.12323341518640518, + 0.5742001533508301, + 0.33239632844924927, + 0.4351201057434082, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.40826590067148205, + -0.0633718746900559, + 0.10133763028979298, + -2.376308674287796, + -0.42891319904327396, + -0.6833999870300294, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.009949410390853897, + -0.04882786560058594, + 0.11043006829023364, + -0.9852206703186033, + -1.1525526161193849, + -0.5167706930160523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09921277326345446, + 0.6891006307601928, + 0.6761623608112335, + 0.8519294291496275, + 1.300363561630249, + 1.800707028961181, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4527019081532955, + 0.5603916673779488, + 0.649153945991397, + 1.9130708467483526, + 0.30745352001190196, + 1.7899679994583124, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1237083300948143, + 0.2224075198173523, + 0.4124659299850464, + -0.5308079719543457, + 0.45824843645095825, + 0.5701283812522888, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23988841474056244, + 0.21513883769512177, + 0.4124043583869934, + 0.38800638914108276, + -0.3718161880970001, + 0.6356124877929688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.094383604824543, + 0.13944111764431, + 0.13589079678058624, + 0.6678398251533508, + 0.36833837628364563, + 0.48809731006622314, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09314189106225967, + 0.12398742139339447, + 0.12469295412302017, + 0.5789963006973267, + 0.33315789699554443, + 0.4461691379547119, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.40860332000255584, + -0.0633718746900559, + 0.08884144049584863, + -2.3750520615577697, + -0.42769023103713977, + -0.6846564903259278, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.009949410390853897, + -0.04882786560058594, + 0.09366739218831063, + -1.0379854053497315, + -1.1543685441493987, + -0.5180270866394046, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.098537934601307, + 0.6887713211297988, + 0.6759431294113397, + 0.9034505510807032, + 1.300975045633316, + 1.9866695167541497, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4527019081532955, + 0.5621253598451614, + 0.649153945991397, + 1.9118145435333256, + 0.30745352001190196, + 1.9834526174545282, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats_meta.json new file mode 100644 index 0000000..d5e0545 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_aria/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_aria", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/aria_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 129135, + "num_frames": 4132315, + "estimated_total_batches": null, + "train_episodes": 910, + "train_bytes": 238580138454, + "elapsed_sec": 1016.5545732975006, + "frames_per_sec": 4065.0203231053233 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_aria/unified_action_space.json b/assets/cotrain_full_all_full_norm/egoverse_aria/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_aria/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats.json b/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats.json new file mode 100644 index 0000000..4417268 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.21694764494895935, + -0.009640873409807682, + 0.2151523381471634, + -1.9103224277496338, + -0.1957010179758072, + -1.4218719005584717, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23587121069431305, + 0.027654636651277542, + 0.2138872593641281, + -1.9093618392944336, + 0.14110930263996124, + -1.5940476655960083, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10040386766195297, + 0.10600412636995316, + 0.06951714307069778, + 0.4378910958766937, + 0.36618074774742126, + 0.39978307485580444, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10580147802829742, + 0.11908546090126038, + 0.08416055142879486, + 0.4722394049167633, + 0.36369559168815613, + 0.4683108627796173, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07156820869445801, + -0.27314887706041335, + 0.08985615784972906, + -2.8726577929496764, + -1.2694663866996765, + -2.2832934657096864, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.080521536539495, + -0.2719711718440056, + 0.08599748057797552, + -2.876261902332306, + -0.6304698666334152, + -2.772032193851471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.48046706307828435, + 0.2520531875252724, + 0.40384964402318, + -1.141017590713501, + 0.467980182552338, + -0.10307310924530055, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5282290590241552, + 0.3299795808672905, + 0.4632355015926063, + -1.0881690950393677, + 1.2117802228927612, + -0.5955814230918883, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.21877987682819366, + -0.009804160334169865, + 0.21646617352962494, + -1.9133343696594238, + -0.1973571479320526, + -1.4190794229507446, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23829756677150726, + 0.02833499200642109, + 0.21577005088329315, + -1.9111192226409912, + 0.14449475705623627, + -1.5943996906280518, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09991287440061569, + 0.10649452358484268, + 0.06974497437477112, + 0.4387741684913635, + 0.3688918352127075, + 0.40340012311935425, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10463140159845352, + 0.11977929621934891, + 0.08459924161434174, + 0.4759199321269989, + 0.36665916442871094, + 0.476701557636261, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07050927714407446, + -0.27332960729599, + 0.08985615784972906, + -2.873914425897598, + -1.2705495828151703, + -2.2895765214920045, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07990006579756738, + -0.2719711718440056, + 0.0858757123336196, + -2.876261902332306, + -0.6316696387529374, + -2.7795718616485594, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4807696149498225, + 0.252233917760849, + 0.4045200927481055, + -1.1385043248176574, + 0.4712297708988191, + -0.09930327577590958, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5282290590241552, + 0.33019138619899746, + 0.4639661110587418, + -1.0730903081893923, + 1.2153795392513276, + -0.5754756422996521, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats_meta.json new file mode 100644 index 0000000..862d429 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_eva/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_eva", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/eva_bimanual_front_1_left_wrist_right_wrist/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 97890, + "num_frames": 3132452, + "estimated_total_batches": null, + "train_episodes": 2813, + "train_bytes": 495006312915, + "elapsed_sec": 775.7602636814117, + "frames_per_sec": 4037.912415279924 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_eva/unified_action_space.json b/assets/cotrain_full_all_full_norm/egoverse_eva/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_eva/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats.json b/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats.json new file mode 100644 index 0000000..d876ebc --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.13278847932815552, + 0.25358638167381287, + 0.39440473914146423, + -0.5164129734039307, + 0.45461416244506836, + 0.5348803997039795, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22135232388973236, + 0.23480337858200073, + 0.40805959701538086, + -1.061488151550293, + 0.40719759464263916, + -0.5603905320167542, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08735541254281998, + 0.14708226919174194, + 0.12885919213294983, + 0.6739702224731445, + 0.37603452801704407, + 0.5113381147384644, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0899120345711708, + 0.12682215869426727, + 0.12714530527591705, + 2.4207730293273926, + 0.34021061658859253, + 0.4550102651119232, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.40276508654356, + -0.09111102044582364, + 0.06784694593548776, + -2.313262580871582, + -0.4733985605239869, + -0.7512297741889951, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022609282189607616, + -0.04833615143299097, + 0.087336487826705, + -3.132796044588089, + -0.3232776385307312, + -1.9775105066299439, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.052280654907226554, + 0.7193538117408753, + 0.6608095567524434, + 0.9136210708618169, + 1.277564356088638, + 2.1048292052745827, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.428047583770752, + 0.5751397661685944, + 0.653310035583377, + 3.1277687819004054, + 1.1855421765804293, + 0.5077422828674312, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1326771229505539, + 0.2529814541339874, + 0.3930101692676544, + -0.511993408203125, + 0.4558451771736145, + 0.5400097966194153, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22120068967342377, + 0.23400859534740448, + 0.4066513478755951, + -1.049866795539856, + 0.408670574426651, + -0.5663299560546875, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08721435815095901, + 0.14747834205627441, + 0.1301773339509964, + 0.6781909465789795, + 0.3763260245323181, + 0.5212813019752502, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08977361023426056, + 0.12735961377620697, + 0.12886583805084229, + 2.4244773387908936, + 0.34084805846214294, + 0.46859076619148254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.40276508654356, + -0.09111102044582364, + 0.0571974737584591, + -2.313262580871582, + -0.4710363845825196, + -0.752486289358139, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02229034597873686, + -0.04833615143299097, + 0.06897475059032443, + -3.132796044588089, + -0.3214048791408539, + -2.1810549716949463, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05179293171167365, + 0.7193538117408753, + 0.6608095567524434, + 0.9777063770294188, + 1.2787454440593717, + 2.261893601417542, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.42772864755988127, + 0.5751397661685944, + 0.653310035583377, + 3.1277687819004054, + 1.1880391891002655, + 0.5077422828674312, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats_meta.json new file mode 100644 index 0000000..8e467fc --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_human/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_human", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/human_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 86433, + "num_frames": 2765837, + "estimated_total_batches": null, + "train_episodes": 770, + "train_bytes": 165171872779, + "elapsed_sec": 699.2333681583405, + "frames_per_sec": 3955.5277621900905 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_human/unified_action_space.json b/assets/cotrain_full_all_full_norm/egoverse_human/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_human/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats.json b/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats.json new file mode 100644 index 0000000..c64f7d7 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041593775153160095, + 0.01809024065732956, + 0.4336625337600708, + -0.30219587683677673, + 0.7917072176933289, + 0.7685811519622803, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1646425724029541, + 0.009214046411216259, + 0.4192745089530945, + 0.059009943157434464, + -0.754741370677948, + 1.0451016426086426, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06731975078582764, + 0.08390043675899506, + 0.11328946799039841, + 1.3936139345169067, + 0.39510378241539, + 1.3605327606201172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07234678417444229, + 0.08271792531013489, + 0.11482502520084381, + 1.1829566955566406, + 0.4004928767681122, + 1.22183096408844, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2535398484706879, + -0.176541473031044, + 0.20236107791662217, + -3.0196984797000885, + -0.11313679714202896, + -2.8399992027282717, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.011995019078254732, + -0.1841508715748787, + 0.19274571672677987, + -2.8601055866241456, + -1.4848803995370865, + -2.833716210603714, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10195999357700347, + 0.23882590889930733, + 0.7274418544650079, + 2.9757164247512824, + 1.4888115955829617, + 2.925450264167785, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.38614967095851904, + 0.2215468589305878, + 0.717825494045019, + 2.9455571378707894, + 0.1778057978153229, + 2.934247405290604, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.04153601825237274, + 0.01804027333855629, + 0.4333791434764862, + -0.30083194375038147, + 0.7917574644088745, + 0.7673069834709167, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16457948088645935, + 0.009198518469929695, + 0.41921862959861755, + 0.05899553745985031, + -0.7547769546508789, + 1.0449683666229248, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06722988188266754, + 0.08389326184988022, + 0.11335357278585434, + 1.395126461982727, + 0.3952288329601288, + 1.3617289066314697, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07232033461332321, + 0.0827069878578186, + 0.11478634178638458, + 1.182900309562683, + 0.40042030811309814, + 1.2218166589736938, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2532519943475723, + -0.1768362689018249, + 0.20147809454798693, + -3.0209551166534423, + -0.11313679714202896, + -2.8399992027282717, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.011995019078254732, + -0.18473969266414642, + 0.19274571672677987, + -2.8601055866241456, + -1.4848803995370865, + -2.833716210603714, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10195999357700347, + 0.23853111302852636, + 0.7268531988859177, + 2.9794863356113437, + 1.4888115955829617, + 2.925450264167785, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3858789367675781, + 0.22125244838595393, + 0.717533620905876, + 2.9455571378707894, + 0.1778057978153229, + 2.934247405290604, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats_meta.json new file mode 100644 index 0000000..c9933be --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_mecka/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_mecka", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/mecka_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2648638, + "num_frames": 84756414, + "estimated_total_batches": null, + "train_episodes": 39530, + "train_bytes": 5245861061807, + "elapsed_sec": 21032.688819646835, + "frames_per_sec": 4029.746968006688 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_mecka/unified_action_space.json b/assets/cotrain_full_all_full_norm/egoverse_mecka/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_mecka/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats.json b/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats.json new file mode 100644 index 0000000..a8217d5 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 3.0206408500671387, + 0.16416476666927338, + 0.26503488421440125, + -0.3463878035545349, + 0.596845269203186, + 1.030470609664917, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.170013427734375, + -1.5855753421783447, + 0.43506184220314026, + 0.1590956449508667, + -0.6534832119941711, + 1.105573296546936, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 321.0220947265625, + 382.44036865234375, + 14.960860252380371, + 1.0038799047470093, + 0.46120506525039673, + 1.0673586130142212, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 400.94293212890625, + 442.1720275878906, + 12.560502052307129, + 0.9142194986343384, + 0.40043696761131287, + 0.8207637667655945, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -192.11779687499802, + -182.7525671874755, + -28.753003515626915, + -2.9367602179050447, + -0.5884218775033951, + -3.019698713493347, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -103.9304843749851, + -153.6360640625062, + -16.5517509765632, + -2.1852897234916684, + -1.4648067719221114, + -1.589645679950714, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -21.830884374998277, + -50.34746406247723, + -3.9932171875007043, + 2.730672011613845, + 1.4696639620065688, + 3.0410615425109864, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -37.796249999984866, + -11.347060937521746, + -1.7286826171875873, + 2.839999736785889, + 0.19088510720729834, + 2.249378901481629, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 3.0093843936920166, + 0.276274174451828, + 0.274105966091156, + -0.3466625213623047, + 0.5965198874473572, + 1.0305031538009644, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.8300988674163818, + -1.7392069101333618, + 0.44093745946884155, + 0.15884530544281006, + -0.6533203125, + 1.105553388595581, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 310.94073486328125, + 340.82623291015625, + 11.471299171447754, + 1.0034235715866089, + 0.4613035023212433, + 1.0672434568405151, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 422.8359375, + 476.3694763183594, + 12.064456939697266, + 0.9140304327011108, + 0.40047487616539, + 0.8208750486373901, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -149.54606875000172, + -182.7525671874755, + -28.753003515626915, + -2.9367602179050447, + -0.5884218775033951, + -3.019698713493347, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -103.9304843749851, + -224.78056562499842, + -9.140216796875393, + -2.1815198139190675, + -1.4641800906658173, + -1.589645679950714, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -21.830884374998277, + -50.34746406247723, + -3.9932171875007043, + 2.7256454641818992, + 1.4696639620065688, + 3.0410615425109864, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -37.796249999984866, + -11.347060937521746, + -1.7286826171875873, + 2.839999736785889, + 0.1921384697198869, + 2.250635538005829, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats_meta.json new file mode 100644 index 0000000..1d7ba27 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_scale/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_scale", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/scale_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 681185, + "num_frames": 21797912, + "estimated_total_batches": null, + "train_episodes": 16223, + "train_bytes": 1624982378880, + "elapsed_sec": 5440.526676416397, + "frames_per_sec": 4006.581218412111 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/egoverse_scale/unified_action_space.json b/assets/cotrain_full_all_full_norm/egoverse_scale/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/egoverse_scale/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/cotrain_full_all_full_norm/full_norm_run_meta.json b/assets/cotrain_full_all_full_norm/full_norm_run_meta.json new file mode 100644 index 0000000..fe33d51 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/full_norm_run_meta.json @@ -0,0 +1,79 @@ +{ + "config_name": "cotrain_full_all_full_norm", + "output_assets_dir": "/data/wudi/Atom-0/assets/cotrain_full_all_full_norm", + "dataset_id": "egoverse_aria,egoverse_eva,egoverse_human,egoverse_mecka,egoverse_scale", + "skip_dataset_ids": [], + "copy_from_assets_name": null, + "datasets": [ + { + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_aria", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/aria_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 129135, + "num_frames": 4132315, + "estimated_total_batches": null, + "train_episodes": 910, + "train_bytes": 238580138454, + "elapsed_sec": 1016.5545732975006, + "frames_per_sec": 4065.0203231053233 + }, + { + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_eva", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/eva_bimanual_front_1_left_wrist_right_wrist/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 97890, + "num_frames": 3132452, + "estimated_total_batches": null, + "train_episodes": 2813, + "train_bytes": 495006312915, + "elapsed_sec": 775.7602636814117, + "frames_per_sec": 4037.912415279924 + }, + { + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_human", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/human_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 86433, + "num_frames": 2765837, + "estimated_total_batches": null, + "train_episodes": 770, + "train_bytes": 165171872779, + "elapsed_sec": 699.2333681583405, + "frames_per_sec": 3955.5277621900905 + }, + { + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_mecka", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/mecka_bimanual_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2648638, + "num_frames": 84756414, + "estimated_total_batches": null, + "train_episodes": 39530, + "train_bytes": 5245861061807, + "elapsed_sec": 21032.688819646835, + "frames_per_sec": 4029.746968006688 + }, + { + "config_name": "cotrain_full_all_full_norm", + "dataset_id": "egoverse_scale", + "builder_dir": "/mnt/bos/bo23lu/EgoVerse_full/scale_front_1/ego_verse_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 681185, + "num_frames": 21797912, + "estimated_total_batches": null, + "train_episodes": 16223, + "train_bytes": 1624982378880, + "elapsed_sec": 5440.526676416397, + "frames_per_sec": 4006.581218412111 + } + ] +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/piper2/norm_stats.json b/assets/cotrain_full_all_full_norm/piper2/norm_stats.json new file mode 100644 index 0000000..f4b690f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper2/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.08570596575737, + 0.9424582123756409, + -0.5610473155975342, + -0.018378613516688347, + 0.15650981664657593, + -0.04922034963965416, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008945055305957794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22233717143535614, + 1.3927223682403564, + -0.8957882523536682, + 0.17042388021945953, + 0.3040333390235901, + -0.07112878561019897, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350892148911953, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1714383214712143, + 0.7361369132995605, + 0.5368331670761108, + 0.3496498763561249, + 0.4911200702190399, + 0.28332507610321045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.02536850981414318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2436714768409729, + 0.651149570941925, + 0.6894615888595581, + 0.3136552572250366, + 0.6569122076034546, + 0.2134801149368286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030022503808140755, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4991710331201553, + 0.0054144344157539305, + -1.7947804824004416, + -1.1790875864982606, + -0.9716636402130128, + -0.539963323020935, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2646023983061313, + 0.08680244942149147, + -2.2326956740360706, + -0.39387080802917473, + -0.9721601041316986, + -0.6741397899150849, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.38600136826038356, + 2.2529563539030497, + -0.002522718032682114, + 0.6737772881984712, + 1.2084734504699708, + 0.8707268574714662, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7167606556713582, + 2.391043433867162, + 0.00008864541053776875, + 1.1195562719345094, + 1.2258558490276337, + 0.3745928731918333, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010017158929258585, + 0.0017170342616736889, + -0.0017244319897145033, + -0.005731134209781885, + 0.002714053960517049, + 0.002033872064203024, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008943209424614906, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0010065166279673576, + 0.0033344815019518137, + -0.00027303790557198226, + 0.0020667631179094315, + 0.001737685059197247, + -0.0029692337848246098, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350709330290556, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08381801843643188, + 0.31304702162742615, + 0.23983915150165558, + 0.10776226967573166, + 0.18366022408008575, + 0.09571901708841324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025366676971316338, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1489294171333313, + 0.33599135279655457, + 0.27681979537010193, + 0.1537630707025528, + 0.19053618609905243, + 0.09432122856378555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030021704733371735, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3243094861030579, + -0.9993304105758667, + -0.7881305526733398, + -0.4524798871994018, + -0.6921295278072357, + -0.2691142694234848, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5554006125926971, + -1.084025181722641, + -0.9235458539009094, + -0.5143094916582107, + -0.686023402261734, + -0.3556695580482483, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3279062141418456, + 1.0899867341041567, + 0.9700191698074341, + 0.33629278821945197, + 0.6258798820972444, + 0.406562376332283, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4854212229251862, + 1.2325074484825134, + 0.9927912852764131, + 0.5601088427543641, + 0.6361501549243929, + 0.30015870928764343, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/piper2/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/piper2/norm_stats_meta.json new file mode 100644 index 0000000..c3f6eff --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper2/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/piper2/unified_action_space.json b/assets/cotrain_full_all_full_norm/piper2/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper2/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_full_all_full_norm/piper30/norm_stats.json b/assets/cotrain_full_all_full_norm/piper30/norm_stats.json new file mode 100644 index 0000000..7e4b702 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.08737307041883469, + 1.0953994989395142, + -0.821331262588501, + 0.15251709520816803, + 0.4993223249912262, + -0.08671002835035324, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.016357315704226494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.051994405686855316, + 0.6898560523986816, + -0.4541918933391571, + -0.24467997252941132, + 0.26987171173095703, + 0.18143217265605927, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007753136567771435, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2868099808692932, + 0.8798884749412537, + 0.7222753167152405, + 0.7446919679641724, + 0.5128063559532166, + 0.629437267780304, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03423196077346802, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18338783085346222, + 0.8041480183601379, + 0.5695235729217529, + 0.677094042301178, + 0.45993149280548096, + 0.5101659893989563, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025858882814645767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.48970193145275115, + -0.00043919531644787645, + -2.29064900592342, + -1.597105912566185, + -0.2944919108390809, + -1.6354926676750183, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.45787846466302873, + -0.005599666852504015, + -1.818879740881827, + -1.7327060890197754, + -0.7119369508743285, + -0.9796926288843155, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.890928191637993, + 2.508617184537439, + 0.0021993396155535194, + 1.7347798178911207, + 1.2541333590745922, + 1.6585437088012696, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5623895115494728, + 2.186986375693791, + 0.00564035423500453, + 1.408437099456787, + 1.2125430245399476, + 1.5564807460308074, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001188037102110684, + -0.0033542870078235865, + 0.004400196485221386, + -0.0028323382139205933, + -0.0015195368323475122, + 0.002721932251006365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.017288101837038994, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00031630470766685903, + 0.00013673616922460496, + -0.0002151419030269608, + -0.0006771574262529612, + 0.0002553860249463469, + -0.00034903758205473423, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008260202594101429, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13685013353824615, + 0.4660901427268982, + 0.3690923750400543, + 0.3494621515274048, + 0.28257957100868225, + 0.31252312660217285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03510034456849098, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08642010390758514, + 0.30906790494918823, + 0.224879652261734, + 0.20891116559505463, + 0.18015824258327484, + 0.202719584107399, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.026628535240888596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.5632874671697616, + -1.625787436580658, + -1.1869233741760252, + -1.3135088970661164, + -1.0423710818052292, + -1.049885765504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3428865031480789, + -1.169913307905197, + -0.913574746274948, + -0.7581958461761471, + -0.6523888399124145, + -0.7960410856246949, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.41478261446952813, + 1.6800629229068758, + 1.425927872848511, + 1.3184264080047603, + 1.0416255737543105, + 1.189476832151413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32284709212780016, + 1.305864639520645, + 0.9142873680591586, + 0.8233775739669804, + 0.7752770959854125, + 0.6917715557098387, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/piper30/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/piper30/norm_stats_meta.json new file mode 100644 index 0000000..7fcf00e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/piper30/unified_action_space.json b/assets/cotrain_full_all_full_norm/piper30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/piper30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json new file mode 100644 index 0000000..6693060 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.19811221957206726, + 0.772533118724823, + -0.8077450394630432, + -0.028649263083934784, + 0.8329925537109375, + 0.1338183581829071, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6504519581794739, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.213411346077919, + 0.936856210231781, + -0.8555614352226257, + 0.052240047603845596, + 0.8344802260398865, + -0.13020701706409454, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6270856261253357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.28874093294143677, + 0.9208551049232483, + 0.47005847096443176, + 0.3561064600944519, + 0.4977680742740631, + 0.4375063478946686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40372464060783386, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.29861217737197876, + 0.9481472373008728, + 0.46235257387161255, + 0.424010694026947, + 0.45311257243156433, + 0.437126100063324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40041401982307434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0729224056005477, + -0.01197078370004892, + -2.2129377588272092, + -1.6497411670684814, + -1.1689142931699754, + -0.6284993870735169, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14700397849082947, + -0.01449557845443487, + -2.117433346748352, + -1.4916880182743073, + -1.008069571685791, + -1.5053448512077332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.1663727890253066, + 2.4838475979313257, + -0.36945127830505387, + 1.2129275941848756, + 1.2130273148536679, + 2.074979570531845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0338315951824188, + 2.445226298929751, + -0.36191145629882815, + 1.535950502681732, + 1.217853112411499, + 0.877599804019928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00009146828961092979, + -0.0016088075935840607, + 0.0007087555713951588, + -0.000026479769076104276, + 0.00020575610687956214, + 0.00001443375185772311, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6503733396530151, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0000202807059395127, + -0.0018799782264977694, + 0.0007903146906755865, + -0.00026286765933036804, + 0.0001462479995097965, + 0.00015752519539091736, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6271259188652039, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.12023629993200302, + 0.322498619556427, + 0.1985558718442917, + 0.14494362473487854, + 0.19618654251098633, + 0.1817934215068817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4035850465297699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13321657478809357, + 0.34202784299850464, + 0.2128268927335739, + 0.15731655061244965, + 0.1797640025615692, + 0.19996008276939392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40015628933906555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4558506237030029, + -1.2673018789291381, + -0.63129927778244, + -0.4630223393440245, + -0.5986795719146729, + -0.6356411955833434, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5149496856689453, + -1.3162814127922058, + -0.6802423383712766, + -0.5557396152496339, + -0.549421439886093, + -0.7112965393543245, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4595871042251587, + 1.1543425884246825, + 0.8348300868988039, + 0.4428232517242434, + 0.6962429767608644, + 0.6384128303527827, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49019248924255354, + 1.2172323634624478, + 0.8798893958568579, + 0.5399059474945069, + 0.6080126795768739, + 0.7685098371028896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..f32d261 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_cobot_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Agilex_Cobot_Magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_8284/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 187608, + "num_frames": 6003434, + "estimated_total_batches": null, + "train_episodes": 7870, + "train_bytes": 690618678004, + "elapsed_sec": 1551.8257114887238, + "frames_per_sec": 3868.6264543462707 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json new file mode 100644 index 0000000..ed9f81b --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9fbd0a367f6d113a176cae2124ffec508f6202dee702a6b29236e6e8f60d0775" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json new file mode 100644 index 0000000..8c2d277 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.17712397873401642, + 0.810139000415802, + -0.6855402588844299, + -0.11222872883081436, + 0.6206351518630981, + -0.015597881749272346, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.12833420932292938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.20979192852973938, + 0.7679632306098938, + -0.6718887686729431, + 0.12151588499546051, + 0.6151161789894104, + -0.0631631389260292, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1681675761938095, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2495959997177124, + 0.8154167532920837, + 0.6811779141426086, + 0.31063228845596313, + 0.35135722160339355, + 0.36757487058639526, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16275501251220703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2519766390323639, + 0.8133144378662109, + 3.9310410022735596, + 0.27127107977867126, + 3.887181282043457, + 0.3052545189857483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16318519413471222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.8187637863636017, + -0.02233026457130909, + -2.2677624532647433, + -1.1966205580234528, + -0.281935452222824, + -0.8411327709198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.20716872844696044, + -0.017633342403545978, + -2.928503234863282, + -0.45736086540222165, + -0.40014072451591487, + -1.0153934538841247, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.28984460719823835, + 2.3611703608632086, + 0.030060533820092772, + 0.5438134195804598, + 1.2402318687438965, + 1.1925266407012938, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8714975715160369, + 2.347538023441285, + -0.006531738281250199, + 0.9904942384719853, + 1.255498284292221, + 0.6571380303382872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.000010739619938249234, + -0.00011467040894785896, + 0.00014792964793741703, + 0.0007788547081872821, + 0.0009138808236457407, + 0.0005021721590310335, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1263725459575653, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00003737088627531193, + -9.091671017813496e-6, + 0.000014992138858360704, + -0.0002670294779818505, + -0.000504948606248945, + -0.0003584008663892746, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16686192154884338, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13647353649139404, + 0.3363063931465149, + 0.29653409123420715, + 0.17680639028549194, + 0.2150084674358368, + 0.16584904491901398, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16264137625694275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1296338587999344, + 0.3418736457824707, + 4.995156764984131, + 0.17120759189128876, + 4.817986965179443, + 0.17061470448970795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16310515999794006, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.46183118805885304, + -1.1268640749931336, + -0.9779461513519287, + -0.6261398021697997, + -0.6543991428375244, + -0.5273366480827333, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4657173981189727, + -1.2373619970321654, + -2.843096435547068, + -0.5746413822174072, + -1.665887695312449, + -0.6153451510906218, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4982637989044192, + 1.243240743112564, + 1.0069862585067746, + 0.5738323686599736, + 0.8133578369140624, + 0.5755800625801086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44999427776336676, + 1.1858594246387484, + -0.3609619140625, + 0.5913829717636108, + -0.011474609375, + 0.5490435281276707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json new file mode 100644 index 0000000..442082b --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_7778/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 142767, + "num_frames": 4568537, + "estimated_total_batches": null, + "train_episodes": 7389, + "train_bytes": 1807557839316, + "elapsed_sec": 1851.0555272102356, + "frames_per_sec": 2468.0712884314917 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..2950c4d --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.656104564666748, + -0.9286631345748901, + 1.1376307010650635, + 0.26833200454711914, + -0.7974550127983093, + 0.666283369064331, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6109161972999573, + 1.1354148387908936, + 0.05313194915652275, + 0.04620625823736191, + 0.2840001881122589, + 0.20867326855659485, + 0.2837749719619751, + 0.229059636592865, + 0.28277507424354553, + 0.29497388005256653, + 0.19066499173641205, + 0.6302139759063721, + -0.5758194327354431, + -0.9821283221244812, + 1.1268115043640137, + -0.312242329120636, + 0.6558502316474915, + -0.5029338598251343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7588454484939575, + 1.1244360208511353, + 0.027878623455762863, + 0.028719335794448853, + 0.41041722893714905, + 0.3171558082103729, + 0.4310058355331421, + 0.3283737301826477, + 0.4280836880207062, + 0.4432540833950043, + 0.3348432183265686, + 0.7939622402191162, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.37944644689559937, + 0.20388081669807434, + 0.32835978269577026, + 1.0097854137420654, + 0.5454671382904053, + 0.9213322997093201, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5214293003082275, + 1.5734562873840332, + 0.1687859445810318, + 0.26329222321510315, + 0.6345346570014954, + 0.9055659770965576, + 0.566385805606842, + 1.1926363706588745, + 0.7770596742630005, + 1.4154009819030762, + 1.1830897331237793, + 2.1479766368865967, + 0.3583245575428009, + 0.25541460514068604, + 0.28430697321891785, + 0.8124368786811829, + 0.4906386733055115, + 0.7573658227920532, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3276747465133667, + 2.0278005599975586, + 0.0906292200088501, + 0.18109284341335297, + 0.7365971207618713, + 0.843729555606842, + 0.5977146625518799, + 1.1447561979293823, + 0.7890268564224243, + 1.423203706741333, + 0.937105655670166, + 1.9108370542526245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2660007301330565, + -1.4333736974075437, + 0.4356580541580915, + -1.9504818211078643, + -1.6451347438812256, + -1.8191361523151397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6425251462459565, + -0.045348355709016325, + -0.027506217300891866, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.09911597261428828, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -1.4152819886207582, + -1.6223039834365247, + 0.5030766827851535, + -2.9765801676273345, + -1.0918529442310332, + -2.2726008594036102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.533134201271506, + -0.018681111001968342, + -0.06725717177391055, + -0.014882088518142697, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.09312500059604645, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.3870359558820726, + -0.4766218247368932, + 2.0458251606374978, + 2.9873292702674874, + 1.2033420748710633, + 2.8095779489994044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.436717178581655, + 1.5006087846755982, + 0.7540547889098526, + 0.16416254246234896, + 1.1690624284669757, + 1.8746440391540524, + 1.3250284303724764, + 1.9000630604505542, + 1.4752081572890283, + 1.8975300592899322, + 1.5322988895563174, + 1.916251375775039, + 0.09408731651306135, + -0.44272861089557414, + 1.842128035542369, + 1.3823009697437287, + 1.6149869574546818, + 2.057234740734101, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5501983883857726, + 0.1652949625492096, + 1.2420855182886126, + 1.8982259277343752, + 1.4232810721755027, + 1.844093188524246, + 1.5325359046399594, + 1.9072029188483954, + 1.5810911833979189, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.008245001547038555, + 0.003524184925481677, + -0.0033301268704235554, + -0.005722424481064081, + -0.028624283149838448, + -0.013749456964433193, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6072289347648621, + 1.1415867805480957, + 0.04519025981426239, + 0.048069972544908524, + 0.2835055887699127, + 0.21826808154582977, + 0.28481268882751465, + 0.23658189177513123, + 0.28419241309165955, + 0.29990312457084656, + 0.1941748708486557, + 0.6240943074226379, + 0.005694512277841568, + -0.0015219070482999086, + 0.0012326255673542619, + 0.0017124107107520103, + 0.013287597335875034, + 0.003072197549045086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7632090449333191, + 1.1186587810516357, + 0.026140810921788216, + 0.03224867209792137, + 0.4089101254940033, + 0.32769083976745605, + 0.4338189363479614, + 0.3394289016723633, + 0.4323977828025818, + 0.4540572166442871, + 0.3410424292087555, + 0.7965958714485168, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.14493174850940704, + 0.11448817700147629, + 0.1269613653421402, + 0.1739502102136612, + 0.18158121407032013, + 0.1614755392074585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5181316137313843, + 1.554349660873413, + 0.16171063482761383, + 0.26538777351379395, + 0.6293736100196838, + 0.9130929708480835, + 0.5623818039894104, + 1.1972023248672485, + 0.7720032334327698, + 1.4170503616333008, + 1.183464765548706, + 2.0660579204559326, + 0.15685060620307922, + 0.1503192037343979, + 0.15110182762145996, + 0.2234863042831421, + 0.1935572475194931, + 0.17087143659591675, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3793450593948364, + 1.940362811088562, + 0.08931182324886322, + 0.1979440450668335, + 0.7187049388885498, + 0.8383364677429199, + 0.5950126051902771, + 1.1504135131835938, + 0.7922107577323914, + 1.421832799911499, + 0.9409822821617126, + 1.8833327293395996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.463122957611084, + -0.3534732172966003, + -0.47352954545021053, + -0.495609849691391, + -0.6788331735134125, + -0.6095462135314942, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6563652049303055, + -0.045348355709016325, + -0.02539996719360349, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.07714697225093836, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -0.5393749005317688, + -0.4192069751739502, + -0.516749444961548, + -0.7370876592636111, + -0.5087261302947998, + -0.5691930844306947, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.5849964947166852, + -0.018681111001968342, + -0.06725717177391055, + -0.005501733243465423, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.07114337510764598, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4853410655975341, + 0.4104335291147232, + 0.4124767607688904, + 0.5189733442783355, + 0.48261117458343517, + 0.4103264465332028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.4217746837437153, + 1.5006087846755982, + 0.7503308612175286, + 0.16416254246234896, + 1.2192262910589577, + 1.8746440391540524, + 1.3543629234284162, + 1.9000630604505542, + 1.4936742093384268, + 1.8975300592899322, + 1.5541991586680406, + 1.916251375775039, + 0.47509324531555164, + 0.49790313148498533, + 0.4241397476196289, + 0.7494047117233276, + 0.7297798655986787, + 0.6161350169181823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5355839768886566, + 0.1652949625492096, + 1.2702265841126443, + 1.8982259277343752, + 1.4551351802021264, + 1.844093188524246, + 1.5616740235239268, + 1.9291845443367959, + 1.6142681298069657, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..730f37f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_airbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Airbot_MMK2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10532/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 81017, + "num_frames": 2592540, + "estimated_total_batches": null, + "train_episodes": 10005, + "train_bytes": 431087330611, + "elapsed_sec": 690.6267569065094, + "frames_per_sec": 3753.8945227269173 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_airbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats.json new file mode 100644 index 0000000..de7f907 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.10469576716423035, + 0.662298321723938, + -0.8370406031608582, + -0.10997393727302551, + 0.904748260974884, + 0.07077445834875107, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7056493759155273, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27609941363334656, + 1.1175321340560913, + -0.9066898822784424, + 0.14160014688968658, + 0.6277921199798584, + -0.06411521136760712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5476592779159546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.22630704939365387, + 0.9324061870574951, + 0.5762600898742676, + 0.2787526547908783, + 0.4267621338367462, + 0.27670159935951233, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3804008364677429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.28160029649734497, + 0.9456371068954468, + 0.5779625177383423, + 0.4162033498287201, + 0.7083861827850342, + 0.6169491410255432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3376106917858124, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7981000185012819, + -0.00996200017258525, + -2.4786146493900567, + -1.187614440536499, + -0.8754767679214477, + -0.5012200522422794, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.12335600751638409, + -0.011225800144672393, + -2.364402155338973, + -0.8539300444126129, + -1.2095284074306487, + -1.7727100169658663, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.17913497328758243, + 2.635528483106941, + -0.2574722047377378, + 0.6021799695491787, + 1.2177728406429291, + 1.1242267260074614, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9938087919116021, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9705784217238427, + 2.609351033627987, + -0.2859095926374198, + 1.5181279491424564, + 1.2223220269680022, + 1.4456859633922576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9828610047101975, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00021051804651506245, + -0.008932504802942276, + 0.0005696771549992263, + -0.0027484409511089325, + -0.0041058543138206005, + -0.0012933430261909962, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7096610069274902, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0023133684881031513, + -0.007879610173404217, + -0.00265696132555604, + -0.005429517012089491, + -0.00999925285577774, + -0.0018341426039114594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5347478985786438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.10313262045383453, + 0.26865464448928833, + 0.1893138587474823, + 0.1421351581811905, + 0.21144385635852814, + 0.11594098061323166, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3865589499473572, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11798860132694244, + 0.32088905572891235, + 0.22832293808460236, + 0.20490100979804993, + 0.25481829047203064, + 0.2950364947319031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3538452088832855, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3765264230728149, + -1.035756023645401, + -0.6352756193161011, + -0.5489855407714845, + -0.7912163681030273, + -0.38275416326522826, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.41121598720550545, + -1.0773520893096924, + -0.7255493785858156, + -0.6334800750732423, + -0.9088775737762451, + -1.1001116996288298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4181219642162324, + 0.9378215560436245, + 0.7591589970588686, + 0.4850448505401608, + 0.8666135650634765, + 0.399302637004852, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0348727851867676, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4695387895107268, + 1.0134398870468138, + 0.8453243877410888, + 0.7469199135780338, + 0.9517094232559207, + 1.151939422655106, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.986791200876236, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..b0badf7 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_aloha_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/aloha_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_4879/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 198055, + "num_frames": 6337741, + "estimated_total_batches": null, + "train_episodes": 4634, + "train_bytes": 962548578236, + "elapsed_sec": 1664.1732065677643, + "frames_per_sec": 3808.3421695456377 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/unified_action_space.json new file mode 100644 index 0000000..0667d62 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_aloha_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "67e063860a9fbe208d546d4b111c935599875ffd6e1810a7b5d300da746fc215" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats.json new file mode 100644 index 0000000..1fb88cd --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.12981835007667542, + 0.3803384602069855, + 0.2765718102455139, + -1.5070769786834717, + -0.2064417600631714, + -0.05623231828212738, + -0.3460264205932617, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.6767578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.19400940835475922, + 0.31934040784835815, + -0.35299500823020935, + -1.4869228601455688, + 0.357273131608963, + 0.013851415365934372, + 0.2367955446243286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 779.4723510742188, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2857164740562439, + 0.19170787930488586, + 0.20447394251823425, + 0.2694042921066284, + 0.38139572739601135, + 0.24085566401481628, + 0.34607115387916565, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.1971435546875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2606230676174164, + 0.24536000192165375, + 0.14477461576461792, + 0.2577556073665619, + 0.5735127925872803, + 0.18255352973937988, + 0.37184131145477295, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 382.7496643066406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.899166699886322, + 0.07630084578692914, + -0.059025124704837784, + -2.0594145153187213, + -1.1295509833812714, + -0.7071796939969063, + -1.1954483671784402, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21597237800359725, + -0.05071561908125878, + -0.7550483275800943, + -2.029019742440432, + -1.0360802779436111, + -0.3993901081085205, + -0.2278318267703056, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.37486589574813856, + 0.901134452560544, + 0.8977918334484101, + -0.7051934836871923, + 1.031851346349716, + 0.6692254953861236, + 0.42736211544275293, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9338733216404915, + 0.9485346036761999, + -0.05054059450328352, + -0.7290169551871717, + 1.6272616389274597, + 0.5994619083404542, + 1.411613534462452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0006919320439919829, + -0.0019002234330400825, + -0.0010903198271989822, + -0.0009687251294963062, + 0.0009565133950673044, + 0.0017697216244414449, + -0.0055458988063037395, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.5861206054688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.003108932636678219, + -0.003951332066208124, + 0.0004939803038723767, + 0.002362956991419196, + -0.002410163637250662, + 0.00205172598361969, + 0.005838938523083925, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 778.9148559570312, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08611934632062912, + 0.051137592643499374, + 0.06047236919403076, + 0.10187217593193054, + 0.0747617855668068, + 0.06468275189399719, + 0.08414533734321594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.2435607910156, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07241197675466537, + 0.043015606701374054, + 0.04393547773361206, + 0.09733308106660843, + 0.08626998215913773, + 0.06080825254321098, + 0.06849385052919388, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 383.0844421386719, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2659748669624329, + -0.16955485401153564, + -0.22237293572425842, + -0.38058049020767215, + -0.25508818566799163, + -0.19396575808525085, + -0.33569938838481905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26165361976623525, + -0.1465015360713005, + -0.14308811855316161, + -0.3606649603843688, + -0.2566977259159088, + -0.18858413553237918, + -0.19983974138498306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.31394535303115845, + 0.18444163522720336, + 0.19062521643638597, + 0.29662441864013656, + 0.2051439446210861, + 0.24560414199829106, + 0.26784982144832603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23274346752166752, + 0.15374321049451822, + 0.16777842110395425, + 0.3051075954437257, + 0.3131138361454009, + 0.2351794544696808, + 0.2710840149283409, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..65587db --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_alpha_bot_2_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/alpha_bot_2_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_857/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 22703, + "num_frames": 726485, + "estimated_total_batches": null, + "train_episodes": 814, + "train_bytes": 109263908150, + "elapsed_sec": 205.29979014396667, + "frames_per_sec": 3538.6543721771545 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/unified_action_space.json new file mode 100644 index 0000000..7c12829 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_alpha_bot_2_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c8188bef9dda322c15e6f6fd6d51c66ced6ac424e8fb05dc7e607aa1709e3e58" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..9a50eed --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.789222240447998, + -0.9489473104476929, + 1.102475643157959, + 0.06056652218103409, + -0.8004094958305359, + 0.8569042086601257, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 43.4145393371582, + 58.51406478881836, + 6.561944484710693, + 3.8180127143859863, + 19.267641067504883, + 14.541945457458496, + 19.904767990112305, + 16.158863067626953, + 19.30022430419922, + 21.157934188842773, + 12.348743438720703, + 44.948116302490234, + -0.7468658089637756, + -0.9740761518478394, + 1.1814908981323242, + -0.2708401083946228, + 0.7773710489273071, + -0.5048773288726807, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.62311935424805, + 59.72103500366211, + 1.6600639820098877, + 2.397747278213501, + 21.124330520629883, + 16.384376525878906, + 23.463788986206055, + 16.421628952026367, + 23.28516960144043, + 26.225006103515625, + 18.233783721923828, + 47.79250717163086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3196251094341278, + 0.19099053740501404, + 0.267301082611084, + 0.7343452572822571, + 0.5074834823608398, + 0.8002901077270508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.43718147277832, + 11.881536483764648, + 12.745183944702148, + 3.668595314025879, + 17.491971969604492, + 25.543888092041016, + 18.778554916381836, + 28.954769134521484, + 20.36393928527832, + 33.26520919799805, + 20.258453369140625, + 38.15335464477539, + 0.3138468265533447, + 0.20916512608528137, + 0.2719564437866211, + 0.7614434361457825, + 0.5056568384170532, + 0.7291929721832275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.863088607788086, + 12.029555320739746, + 5.3629679679870605, + 3.2656631469726562, + 17.44062042236328, + 25.945985794067383, + 20.877904891967773, + 27.181493759155273, + 22.829547882080078, + 35.53911209106445, + 24.12516212463379, + 39.613216400146484, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.1670591546058655, + -1.460646178598702, + 0.6757955211639405, + -0.8247669435024263, + -1.6326164110422134, + -2.040982316064835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1410077957153328, + 35.85638677425385, + -1.2471387302875518, + -1.260823583698273, + 0.6530760291576385, + -1.0140843429565431, + 0.6394474706172943, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8760666087865829, + -1.524050800561905, + -1.514172021174431, + 0.6718438099384307, + -2.9777743816375732, + -1.145575943374634, + -1.595018073940277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.098736600399015, + -1.2586004912137985, + -1.7484696573257446, + 0.609222595214844, + -0.9381469581604005, + 0.5784229578018187, + -1.1616932260990143, + 0.6429713370800019, + -0.5089542884826661, + 0.42454957976341245, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.4689757689952851, + -0.5967689686983824, + 1.8580087474823, + 2.982538466739655, + 1.0367245502233509, + 2.3800237551689145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.29060504226685, + 84.12461102142335, + 48.262709696531296, + 9.748627821445465, + 61.9573547662735, + 105.95414351844786, + 69.24682767877579, + 109.27585434875488, + 82.92672660541534, + 109.9159403591156, + 89.5799179440558, + 110.60623623168469, + -0.051988855361938535, + -0.5652352955192328, + 1.8889653580904007, + 0.7004047698974611, + 1.6166751742362973, + 2.2183819183826445, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.63163614215851, + 82.51696020936966, + 31.86803058552742, + 9.559157132148743, + 61.57964798583985, + 109.06843588314057, + 77.23728513393402, + 108.36883417010307, + 88.44751836946011, + 110.32461710197926, + 91.96601235146522, + 110.372048163414, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.01735016703605652, + 0.007876871153712273, + -0.008764179423451424, + -0.016196714714169502, + -0.050610072910785675, + -0.01787901297211647, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 42.77833557128906, + 59.01993179321289, + 5.597373008728027, + 3.9695675373077393, + 18.594154357910156, + 14.54702091217041, + 19.29161262512207, + 15.878710746765137, + 18.78414535522461, + 20.612062454223633, + 12.175747871398926, + 43.39402389526367, + 0.0064604626968503, + 0.0005611882661469281, + -0.002839392749592662, + 0.005142479669302702, + 0.02126043289899826, + 0.004430062603205442, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.64952087402344, + 59.36911392211914, + 1.4767431020736694, + 2.656665325164795, + 20.36819076538086, + 16.421306610107422, + 22.942644119262695, + 16.397327423095703, + 22.899627685546875, + 26.112388610839844, + 18.08662986755371, + 46.756378173828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.17858079075813293, + 0.14265654981136322, + 0.1634504795074463, + 0.16256660223007202, + 0.22381845116615295, + 0.16158242523670197, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.521772384643555, + 11.979036331176758, + 12.285548210144043, + 3.6960418224334717, + 17.73102569580078, + 25.79263687133789, + 19.03911781311035, + 28.994144439697266, + 20.55314064025879, + 33.25821304321289, + 20.360509872436523, + 38.552024841308594, + 0.1852763444185257, + 0.14883209764957428, + 0.1630040854215622, + 0.19241678714752197, + 0.22506338357925415, + 0.11058518290519714, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.7370662689209, + 11.900763511657715, + 5.080607891082764, + 3.428765296936035, + 17.76552391052246, + 26.203529357910156, + 21.202436447143555, + 27.423065185546875, + 23.11931610107422, + 35.659122467041016, + 24.31511878967285, + 40.17205047607422, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.530792695760727, + -0.4047769084453583, + -0.5680815444231033, + -0.5259286925792694, + -0.7873582234382629, + -0.6316696793556211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1191337959289553, + 36.04583902816773, + -1.2471387302875518, + -1.2319020826339724, + 0.612784028673172, + -1.1057648468017578, + 0.6174649713516236, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8989019842147827, + -0.6441029361724854, + -0.3842984503507614, + -0.5623678423643113, + -0.5740927570819856, + -0.5532707916736603, + -0.31753806543350205, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.50419783921242, + -1.2795799915790558, + -1.7369956575393677, + 0.609222595214844, + -1.0078890859127045, + 0.5372969587802885, + -1.207598727941513, + 0.6429713370800019, + -0.5318018604040147, + 0.44674683067798604, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5975871762037279, + 0.46891435046195973, + 0.4889618165016174, + 0.5089293518066405, + 0.5531848000526427, + 0.45593350839614866, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.44372304077149, + 84.31406327533722, + 48.388156947612764, + 9.75184132156372, + 62.259544769906995, + 106.59590704536437, + 70.23604014573097, + 109.41469885177612, + 83.82831159305573, + 109.93952148437499, + 90.24482296959758, + 110.60623623168469, + 0.5124633223056794, + 0.4904771469831468, + 0.44247493512630465, + 0.6567382140159608, + 0.8311843288183209, + 0.3665271113872528, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.65422906808853, + 82.55221770839691, + 29.686162547540665, + 9.607921631240846, + 61.768294104003914, + 109.09168325905799, + 77.54573012659549, + 108.78198368668556, + 88.99643401732445, + 110.3474646739006, + 92.43215462067127, + 110.39570791435241, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..f5f3479 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_discover_aitbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/discover_robotics_aitbot_mmk2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5747/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 36260, + "num_frames": 1160293, + "estimated_total_batches": null, + "train_episodes": 5460, + "train_bytes": 194302774076, + "elapsed_sec": 348.6094217300415, + "frames_per_sec": 3328.34664720713 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json new file mode 100644 index 0000000..7db58db --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1465437263250351, + 0.7869630455970764, + -0.5143190622329712, + -0.10306041687726974, + -0.017123211175203323, + -0.07089352607727051, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24394427239894867, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.11253274977207184, + 0.9243168234825134, + -0.6134981513023376, + -0.08301904797554016, + 0.0349244549870491, + 0.0044456711038947105, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28358498215675354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3259853720664978, + 0.9173845052719116, + 0.6484797596931458, + 0.4867860972881317, + 0.29930099844932556, + 0.3141402006149292, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4647968113422394, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3464672863483429, + 0.9285209774971008, + 0.66539466381073, + 0.4866812229156494, + 0.318434476852417, + 0.42792943120002747, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5048031210899353, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0725928758382797, + -0.005822717398405078, + -1.9497726845741272, + -1.5304360511302948, + -1.0978304373025893, + -1.0819920077323915, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9586778641700744, + -0.006923790359497084, + -1.9687591208517552, + -1.5304557082414627, + -0.838190191078186, + -1.5145600032806397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6792541539669039, + 2.5427422587573525, + 0.026177544593811053, + 1.1008840367794037, + 0.7871663888692857, + 0.968535971164703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9739351847410203, + 2.5719604786753654, + 0.030489080250263534, + 1.004168446135521, + 1.0753058356285097, + 1.1564639692306518, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00018698995700106025, + -0.0027333006728440523, + 0.0018787827575579286, + 0.00032728881342336535, + 0.0004975892370566726, + 0.0002555204264353961, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24358518421649933, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00009762104309629649, + -0.0025566816329956055, + 0.002047769259661436, + -0.0003735595673788339, + -0.00020275445422157645, + -0.0001948690478457138, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28345298767089844, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.16635392606258392, + 0.3440786600112915, + 0.258118212223053, + 0.2430180013179779, + 0.15079589188098907, + 0.15765906870365143, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4644833207130432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18295352160930634, + 0.4124230444431305, + 0.29375508427619934, + 0.27331775426864624, + 0.16929855942726135, + 0.18614333868026733, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5047915577888489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6040997364997862, + -1.3266730127334594, + -0.92285426902771, + -0.8444594205856322, + -0.5463665382385252, + -0.5456839828491211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6485135001182556, + -1.5401852423667908, + -0.9946665182113648, + -0.9465401615142826, + -0.5940469908714294, + -0.6444087917327881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6266800019741057, + 1.3451034955978391, + 0.9451263523101807, + 0.9366976721286777, + 0.516585234260559, + 0.55905809340477, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.642640541267395, + 1.5440051584720607, + 1.0398419427871701, + 1.007892139816284, + 0.5927413930892942, + 0.6252514398574824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..31311e3 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5167/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 245253, + "num_frames": 7848088, + "estimated_total_batches": null, + "train_episodes": 4886, + "train_bytes": 3346209600799, + "elapsed_sec": 3871.8957114219666, + "frames_per_sec": 2026.9368249894735 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json new file mode 100644 index 0000000..4bc585b --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.16373606026172638, + 0.9926406741142273, + -0.7024933695793152, + 0.13910958170890808, + -0.07944614440202713, + 0.0691065564751625, + -2.2582452297210693, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.80658721923828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0637373998761177, + 0.40384504199028015, + -0.29242828488349915, + 0.10572875291109085, + 0.023374492302536964, + 0.010431193746626377, + -2.5006213188171387, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.0853271484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.29857853055000305, + 1.0033091306686401, + 0.7319855690002441, + 0.3954618573188782, + 0.24940426647663116, + 0.4646410644054413, + 0.8846869468688965, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.198925018310547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2049432396888733, + 0.7930189371109009, + 0.5714349150657654, + 0.26710253953933716, + 0.12996964156627655, + 0.27238354086875916, + 0.7039861083030701, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 24.03177833557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.017169194972515, + -0.004680851008743048, + -1.986572128868103, + -1.1477862263917924, + -0.8641180778265, + -1.1129386113166808, + -2.76129431829527, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 5.472231944561004, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.25645644221305847, + -0.0042553190141916275, + -1.9533517208099365, + -0.4285504687309265, + -0.31070470275878903, + -0.9370759090423584, + -2.835106372833252, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 4.873087328195572, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3155106456279755, + 2.578922155332752, + -0.00040344681739812316, + 1.0628037837743758, + 0.6523159398913383, + 1.4510601159095766, + -0.05701846262365562, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 97.88268118405342, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8619644447565078, + 2.462775818249583, + -0.00040225529670712135, + 1.0223374055862426, + 0.5530510427355766, + 0.9148953475952148, + -0.038330637861788475, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 100.52368333494664, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0035309582017362118, + -0.03238903358578682, + 0.02132692001760006, + -0.001851493027061224, + 0.001852226909250021, + 0.0021616152953356504, + -0.0008467381703667343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 77.51899719238281, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.001286643324419856, + -0.004494755994528532, + 0.004611603915691376, + 0.00022976390027906746, + -0.00047635435475967824, + 0.00019026569498237222, + -0.0002900872495956719, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.36774444580078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.23230241239070892, + 0.6766408681869507, + 0.4803682267665863, + 0.2520758807659149, + 0.18142449855804443, + 0.29774317145347595, + 0.7227979898452759, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 41.74575424194336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14992249011993408, + 0.4257671535015106, + 0.27494487166404724, + 0.15455301105976105, + 0.09703756123781204, + 0.15753188729286194, + 0.4973582923412323, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.825206756591797, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7381767271518707, + -2.1335647198200225, + -1.4483220024108887, + -0.8748203573703766, + -0.6415985270500184, + -0.9677291069030762, + -2.308521799659729, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6180614602565765, + -1.739781426525116, + -0.9139452539682389, + -0.6549412292242051, + -0.3491792736053465, + -0.5659440845727921, + -2.1506297883987426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.8003067836284639, + 1.9999838626384738, + 1.666527211999893, + 0.7973734945774078, + 0.5891278557777402, + 1.068362585258484, + 2.4429450938224795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6246776551246644, + 1.7485109654426578, + 1.1746477506160735, + 0.5350400135040285, + 0.35704151229858416, + 0.5749539126873016, + 2.408058779096603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json new file mode 100644 index 0000000..bd80a20 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s16_a18", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s16_a18_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_970/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9866, + "num_frames": 315700, + "estimated_total_batches": null, + "train_episodes": 922, + "train_bytes": 100400838947, + "elapsed_sec": 127.63867783546448, + "frames_per_sec": 2473.388202962743 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json new file mode 100644 index 0000000..3c4ce7f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "a9d0610a5115c532397c2f9a02c21890d70ef58ef0ad507847fa2ed1a15c88b5" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json new file mode 100644 index 0000000..cca4530 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2506558299064636, + 0.9469642043113708, + -0.6205059885978699, + -0.09196162223815918, + 0.012572923675179482, + 0.05519729480147362, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.500835657119751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.25365200638771057, + 1.2202755212783813, + -0.7921632528305054, + -0.1521870344877243, + -0.024248279631137848, + -0.07879133522510529, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990261554718018, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3049851357936859, + 0.9031018614768982, + 0.610549807548523, + 0.4732515215873718, + 0.2458823025226593, + 0.3754640817642212, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4639884829521179, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3309071660041809, + 0.8979148268699646, + 0.645177960395813, + 0.5483866333961487, + 0.3284341096878052, + 0.47655388712882996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.504631757736206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9940981630802155, + -0.003829787252470851, + -1.975389991865214, + -1.5265620398044586, + -0.6589046301603317, + -0.8917075432300567, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3503914684653282, + -0.0019148936262354255, + -2.000638246536255, + -1.5020018501758576, + -0.8032287443637849, + -1.7044098446369171, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20174685723781582, + 2.4619219403604045, + -0.000014638316631288006, + 0.8448675643444061, + 0.7823373777389526, + 1.5872856732606886, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.005140295803547, + 2.505199112719623, + -0.0003078718297184757, + 0.8889586254119872, + 0.8282026379823684, + 0.8900946237802505, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.002070083748549223, + -0.009222179651260376, + 0.006848389748483896, + 0.00026182294823229313, + 0.0015868792543187737, + 0.0003076336288359016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5008774995803833, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002750544575974345, + -0.015298927202820778, + 0.009401840157806873, + 0.0033589310478419065, + -0.00035418258630670607, + -0.001279053627513349, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990696668624878, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1416667252779007, + 0.3391159176826477, + 0.22186781466007233, + 0.23835258185863495, + 0.14790737628936768, + 0.2196711003780365, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4638553559780121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19731104373931885, + 0.3913874328136444, + 0.2852989435195923, + 0.30727827548980713, + 0.22789299488067627, + 0.291481077671051, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5044052600860596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4676544653892517, + -1.3689668506622314, + -0.673422367811203, + -0.8352519777297973, + -0.514826227092743, + -0.9340109244346619, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7339063465595246, + -1.6019817955970765, + -0.8888794917106628, + -1.093386752319336, + -0.7658062780380249, + -0.9442028461456298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5726149436473846, + 1.2395132839202878, + 0.8514690177440647, + 0.8724879892349242, + 0.4888856029987334, + 0.7179337068557738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6569907176494598, + 1.3284557864189144, + 0.9647411026954651, + 1.0813313362121582, + 0.9232138740777969, + 1.3054971899032592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..a232606 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_upper_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Galaxea_R1_Lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_3650/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 27171, + "num_frames": 869469, + "estimated_total_batches": null, + "train_episodes": 1337, + "train_bytes": 205435325084, + "elapsed_sec": 271.46593260765076, + "frames_per_sec": 3202.8659789758667 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json new file mode 100644 index 0000000..eaaba89 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "1fa4ae18cdd16834f62a84b6e7c7d297585f44534b6b912ad9d2e88896a34f45" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats.json new file mode 100644 index 0000000..c5a9296 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.14392921328544617, + -0.0496545284986496, + 0.03907515108585358, + -0.6383686661720276, + -0.33223956823349, + 0.1406169980764389, + -0.2197691947221756, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2658024728298187, + 1.0174024105072021, + 0.26580309867858887, + 0.26580342650413513, + 0.26580342650413513, + 0.26580342650413513, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26310673356056213, + -0.026430761441588402, + 0.22182564437389374, + -1.0583513975143433, + 0.5696671009063721, + -0.14421126246452332, + -0.14368979632854462, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6819911003112793, + 1.1796563863754272, + 0.681991696357727, + 0.6819922924041748, + 0.6819922924041748, + 0.6819922924041748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.005736132152378559, + -0.004845454357564449, + -0.5839594006538391, + 1.034613847732544, + -0.47432053089141846, + 0.0044976514764130116, + -0.011759890243411064, + 0.0016561566153541207, + -0.584376335144043, + 1.0361307859420776, + -0.48027747869491577, + 0.014017106033861637, + -0.006366158835589886, + 0.00004895150777883828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24559161067008972, + 0.1689794510602951, + 0.7688204646110535, + 0.5849611759185791, + 0.7876368165016174, + 0.2824043333530426, + 0.2779797911643982, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6225577592849731, + 0.8577785491943359, + 0.62255859375, + 0.6225588917732239, + 0.6225588917732239, + 0.6225588917732239, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37637755274772644, + 0.21900226175785065, + 0.6015813946723938, + 0.6487521529197693, + 0.6114912033081055, + 0.3323651850223541, + 0.33078810572624207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8369026184082031, + 0.813471257686615, + 0.8369022607803345, + 0.8369028568267822, + 0.8369029760360718, + 0.8369028568267822, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011689109727740288, + 0.03091302700340748, + 0.05732341855764389, + 0.07677125930786133, + 0.0554114505648613, + 0.02481386624276638, + 0.01102852076292038, + 0.030867384746670723, + 0.057295337319374084, + 0.08059525489807129, + 0.055565595626831055, + 0.024815795943140984, + 0.0376923643052578, + 0.0022193610202521086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9992702881813049, + -0.34700471043586734, + -1.499725185585022, + -2.03459240322113, + -1.5663648304462434, + -0.6925698574066161, + -0.703081022977829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2768910852432251, + -0.6715401140213013, + -1.3412932807922364, + -2.273264695763588, + -1.2518772483825684, + -0.7010021484375, + -0.700609602355957, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02395869474411011, + -0.11906609460711481, + -0.7370869652032852, + 0.9267490817084909, + -0.6330387302875519, + -0.049691598564386374, + -0.042447312104701984, + -0.10632696142792702, + -0.7380362022399902, + 0.9342303326725959, + -0.641259054350853, + -0.04123028814792634, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3458903924465182, + 0.5226744106411935, + 1.44677988114357, + -0.06136881568431818, + 1.476704307556152, + 0.6961594585418704, + 0.5051051949501038, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45043067569732687, + 0.3487966469764707, + 1.3253098982810974, + -0.12402725848555551, + 1.5689554569244386, + 0.7199650357246397, + 0.626018825149536, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.034869841480255126, + 0.09307707622647288, + -0.45076588833332076, + 1.2968151184253396, + -0.3549289156675338, + 0.06532029041647913, + 0.015565912073850607, + 0.10807942071557042, + -0.4488659531593323, + 1.2981121613249182, + -0.369503323701024, + 0.07134055135250089, + 0.09063195526599888, + 0.008523450748994951, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.025149166584014893, + -0.0007167551084421575, + 0.014958391897380352, + 0.029812512919306755, + -0.049611445516347885, + 0.018364058807492256, + -0.016904247924685478, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26187270879745483, + 1.0055816173553467, + 0.2618729770183563, + 0.2618747055530548, + 0.2618747055530548, + 0.2618747055530548, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.023009758442640305, + 0.008779775351285934, + -0.01961400918662548, + 0.035789959132671356, + 0.03110627271234989, + -0.02077949233353138, + -0.022412974387407303, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6611509919166565, + 1.1648931503295898, + 0.661152720451355, + 0.661155104637146, + 0.661155104637146, + 0.661155104637146, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006273355800658464, + -0.003994456026703119, + -0.5832089185714722, + 1.0329070091247559, + -0.4743139445781708, + 0.0038752786349505186, + -0.011729203164577484, + 0.0015189028345048428, + -0.5832836031913757, + 1.034032940864563, + -0.4801284670829773, + 0.013799047097563744, + -0.006342591252177954, + 0.000048941914428723976, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13706213235855103, + 0.0861985832452774, + 0.2623814046382904, + 0.21836024522781372, + 0.38968393206596375, + 0.18734091520309448, + 0.1748584508895874, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6187314391136169, + 0.859600305557251, + 0.6187315583229065, + 0.6187350153923035, + 0.6187350153923035, + 0.6187350153923035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18466579914093018, + 0.11489593982696533, + 0.2676655650138855, + 0.30678436160087585, + 0.3512946665287018, + 0.2122993916273117, + 0.19419464468955994, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.833325207233429, + 0.8184693455696106, + 0.8333248496055603, + 0.8333266377449036, + 0.8333266377449036, + 0.8333266377449036, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011661932803690434, + 0.03008849360048771, + 0.0570581778883934, + 0.07920322567224503, + 0.05598650872707367, + 0.02390815131366253, + 0.011079773306846619, + 0.030265456065535545, + 0.05669058859348297, + 0.08025062084197998, + 0.056270044296979904, + 0.02400575391948223, + 0.037728164345026016, + 0.0022195226047188044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.49717133016586335, + -0.29087378101348893, + -0.9207378339767456, + -0.8032954450130463, + -1.5487773138046266, + -0.5106261265754701, + -0.7538997879028321, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6092341652870177, + -0.3566183257102966, + -1.1042374740600585, + -1.0408703578948975, + -0.9910236114501954, + -0.8985654019355773, + -0.791315365076065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.023514607763290396, + -0.11017253985404968, + -0.7403963661193848, + 0.9252302796959877, + -0.6394320577383041, + -0.04950896456241605, + -0.04293521931767463, + -0.102585978269577, + -0.7395257719516755, + 0.9335625804424286, + -0.6478451603651046, + -0.039510283565521276, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4264512014865871, + 0.29491566400527924, + 1.1406259435176853, + 0.8118304628849029, + 1.1148114137649534, + 0.7137140592575073, + 0.44641688156127923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6106945888519291, + 0.36770981721878027, + 0.7981465461730957, + 1.0722906362533569, + 1.444993089199066, + 0.5342899666786192, + 0.5092106031179429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.035736719590425514, + 0.09176966729164115, + -0.45266616611480714, + 1.2868420163989067, + -0.35557454228401186, + 0.06286471080780032, + 0.01590245109796523, + 0.10124850861430168, + -0.4510058415412903, + 1.2875499872922898, + -0.3704874509572982, + 0.06893986749649039, + 0.0910177531242371, + 0.008582760252058508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats_meta.json new file mode 100644 index 0000000..8250431 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s118_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s118_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_17897/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 458510, + "num_frames": 14672292, + "estimated_total_batches": null, + "train_episodes": 17002, + "train_bytes": 4898931416952, + "elapsed_sec": 5203.681373596191, + "frames_per_sec": 2819.598462436255 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/unified_action_space.json new file mode 100644 index 0000000..d356add --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_leju_robot_s118_a54/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d97c871ea622a1d73832b3cfbbf5591efa01e5743172a70cab01099fbb596f69" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6e2759 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7575891017913818, + -2.018211841583252, + 1.2673600912094116, + 1.1146199703216553, + 0.6891690492630005, + -0.3179693818092346, + -0.9597281217575073, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 555.3607177734375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.8516546487808228, + 2.0185489654541016, + -1.024009346961975, + -0.8024208545684814, + -0.6040467619895935, + 0.35237857699394226, + 0.4313460886478424, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.1749267578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.227471724152565, + 0.06362287700176239, + 0.25554585456848145, + 0.4349750280380249, + 1.4009367227554321, + 1.5048906803131104, + 1.4070923328399658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 329.2973937988281, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2158181071281433, + 0.06811479479074478, + 0.2395617961883545, + 0.3499128818511963, + 1.5231932401657104, + 1.4194414615631104, + 1.436482548713684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.5093994140625, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2411617311716079, + -2.0655426728248596, + 0.7684333333969116, + 0.43966181900501256, + -0.9741751252412796, + -1.918311150074005, + -3.0002384185791016, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4035066569000483, + 1.6972570048332214, + -1.6375796434402465, + -1.7001429117143154, + -2.8975123698711394, + -1.826313526535034, + -1.312467015504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.1553316257953643, + -1.7997828578948973, + 1.9979852621555327, + 1.867020208358765, + 2.8710006383657456, + 1.9273102951049803, + 0.8647150281906129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 920.7366, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3617565359920263, + 2.079939349913597, + -0.5856861970901488, + -0.16072266962528237, + 1.2208031419515608, + 1.863077091884613, + 2.6855830742359164, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.62, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.004745005629956722, + 0.001093511818908155, + -0.002022324362769723, + -0.003611444029957056, + -0.011031363159418106, + -0.0013529028510674834, + 0.010191795416176319, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 545.743896484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002088882029056549, + -0.0009160805493593216, + -0.0011564826127141714, + -0.006964823696762323, + 0.008905000053346157, + -0.002275642240419984, + -0.00712719326838851, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.5043334960938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.05028748884797096, + 0.015297401696443558, + 0.071743443608284, + 0.09484060853719711, + 0.09587708115577698, + 0.099430613219738, + 0.055593136698007584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 331.8141784667969, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0730854719877243, + 0.03070250153541565, + 0.06939690560102463, + 0.1734410673379898, + 0.13651607930660248, + 0.14600589871406555, + 0.10842622071504593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.7297058105469, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.20747764117717743, + -0.04162785339355471, + -0.20748130631446837, + -0.3386043548583984, + -0.4205680692672731, + -0.3368758692741394, + -0.11896564942598342, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.27733808026313783, + -0.11711480379104616, + -0.253275782763958, + -0.695207809829712, + -0.4655322723388673, + -0.4588191899299622, + -0.3640655764102936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.12971830923557282, + 0.06903154182434079, + 0.28166046774387365, + 0.34935000658035276, + 0.20638658781051622, + 0.3108922860622405, + 0.23591858417987832, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 922.6905999999999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24794143097400667, + 0.09158638322353363, + 0.2413436704993247, + 0.45366472196578966, + 0.5544114936828612, + 0.48090295810699457, + 0.34896428358554843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.7984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..0c0cfa3 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aida_l_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Realman_RMC-AIDA-L_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_693/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9936, + "num_frames": 317940, + "estimated_total_batches": null, + "train_episodes": 658, + "train_bytes": 36471840854, + "elapsed_sec": 89.87298893928528, + "frames_per_sec": 3537.6591315416026 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json new file mode 100644 index 0000000..d51c279 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.47839146852493286, + -2.059580087661743, + 0.6078921556472778, + 0.443592369556427, + 1.4694907665252686, + 1.1243274211883545, + -1.0638837814331055, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.576416015625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5341330766677856, + 2.0288519859313965, + -0.7328935861587524, + -0.5111697316169739, + -1.5132325887680054, + -1.0845743417739868, + 1.057655930519104, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 554.112548828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.21434840559959412, + 0.07314120978116989, + 1.1213843822479248, + 0.6602405905723572, + 1.2446599006652832, + 0.9368466138839722, + 1.2627320289611816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.1611633300781, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.239162877202034, + 0.08330599218606949, + 0.8705637454986572, + 0.5838403701782227, + 1.1899601221084595, + 0.9443362951278687, + 1.3015942573547363, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.4317932128906, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0482353521347045, + -2.1750113368034363, + -2.646780677318573, + -1.6032505451679229, + -2.4177295753479005, + -1.6492822704315186, + -2.8623494152069093, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.013312339687347463, + 1.8281194995880128, + -2.3761580247879026, + -1.6655417486190796, + -2.8879985211372374, + -2.024796287918091, + -2.8088368267059325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.027407007861137256, + -1.8577467799186707, + 2.8453764088153832, + 1.6954893584251405, + 2.870450235891343, + 2.0029636798858643, + 2.808081196403503, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1564803113937376, + 2.1062067033290863, + 2.2962332958221428, + 1.4867680027008054, + 2.3619786128520968, + 1.6406866954803467, + 2.8881806318759917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007135526975616813, + -0.0003534950374159962, + 0.0011087273014709353, + 0.00018156379519496113, + -0.0018077408894896507, + 0.00005206819696468301, + 0.0025921647902578115, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.2557983398438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0009018750279210508, + 0.0002198505389969796, + -0.0011170865036547184, + -0.000418089737650007, + 0.0012902384623885155, + 0.0009497611899860203, + -0.0008871746831573546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 553.1741333007812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1037909984588623, + 0.03418908268213272, + 0.14360260963439941, + 0.16961778700351715, + 0.20701688528060913, + 0.2258588671684265, + 0.24374830722808838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.0868225097656, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11896975338459015, + 0.0325104221701622, + 0.1677417755126953, + 0.19693401455879211, + 0.24006836116313934, + 0.22501049935817719, + 0.28681400418281555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.21026611328125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.33542436039447776, + -0.11812768712043764, + -0.5185220909118653, + -0.5681056449890136, + -0.7323143272399903, + -0.7057940410137173, + -0.9256965145111082, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4231953330039977, + -0.12260290641784666, + -0.5584167864799499, + -0.7264892864227295, + -0.8738897808074952, + -0.7326278971195221, + -1.0107426010131837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3840171305179596, + 0.12214941902160636, + 0.49682519912719725, + 0.6064030448913575, + 0.6977665336608885, + 0.7309729760646824, + 0.8620825569152837, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37962152361869816, + 0.10668836259841918, + 0.6009062723159793, + 0.6464898212432861, + 0.8375270114898674, + 0.6645073395252226, + 1.1167047012329103, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..b2e9bcb --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aidal_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/realman_rmc_aidal_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_18412/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 492790, + "num_frames": 15769266, + "estimated_total_batches": null, + "train_episodes": 17481, + "train_bytes": 1684550435506, + "elapsed_sec": 4069.850043296814, + "frames_per_sec": 3874.655290057317 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats.json new file mode 100644 index 0000000..d3ba750 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.4022698402404785, + 0.4008525311946869, + -1.8359957933425903, + 1.3991795778274536, + 1.6781357526779175, + -0.39159268140792847, + -0.11824289709329605, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5900587439537048, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.10200242698192596, + -0.36888185143470764, + 1.6269876956939697, + -1.5651452541351318, + -1.710113763809204, + 0.14229054749011993, + 0.0901879221200943, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219226956367493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3285321593284607, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.47184816002845764, + 0.26041191816329956, + 0.30844730138778687, + 0.4104193449020386, + 0.3992116451263428, + 0.5433208346366882, + 0.4647732377052307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.39009591937065125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2526223659515381, + 0.1727783977985382, + 0.15735691785812378, + 0.30363792181015015, + 0.3119509518146515, + 0.3184160590171814, + 0.3587453365325928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384997248649597, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08604823052883148, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.15512949786186214, + -0.000247655253857372, + -2.7533860206604004, + 0.018561795279711076, + 0.348873460650444, + -1.5701000690460205, + -1.888011309146881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.1755216784477236, + -0.9503723105043173, + 1.2927916605830192, + -2.0496549903660024, + -2.4722114605903625, + -0.1814788004875183, + -0.865350887775421, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1337790972352028, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.5952690245151522, + 1.1460021360963584, + -1.3690508592128754, + 2.049136744551986, + 2.751842607951164, + 0.8992856348037717, + 0.8812080025672913, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03684061706066122, + -0.09100282496213907, + 2.4757759820103646, + -0.0374427558146424, + -0.6511100595712662, + 1.4296446043968203, + 1.5782729723930364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007815549615770578, + -0.0006295735365711153, + 0.00006955656135687605, + -0.00046953416313044727, + -0.0009421160793863237, + -0.000566480855923146, + 0.0007163064437918365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5906252264976501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00038199048140086234, + 0.0004900511703453958, + -0.00028768597985617816, + -0.00026881968369707465, + -0.0003086130600422621, + -0.00019033218268305063, + -0.0003762365668080747, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219077944755554, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.32853180170059204, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.19541341066360474, + 0.145516499876976, + 0.15332399308681488, + 0.19865047931671143, + 0.16601331532001495, + 0.20398183166980743, + 0.18197141587734222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3904857337474823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09083140641450882, + 0.059260159730911255, + 0.07308832556009293, + 0.12470908463001251, + 0.09311696887016296, + 0.08739949762821198, + 0.1316150426864624, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384832441806793, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0860481858253479, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6090426849842071, + -0.4968913494586945, + -0.5529850662708282, + -0.6974553999900817, + -0.5849689860343932, + -0.8470925182104112, + -0.6177244747161865, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3506921148777007, + -0.20023923506736763, + -0.2488031871795655, + -0.4694817880868911, + -0.3406314041137697, + -0.31274263751506814, + -0.5059143760204314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.13361177916526795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6863681363344192, + 0.5567416855335237, + 0.4736135180950165, + 0.6609690598249438, + 0.5248469697237015, + 0.5392340588569642, + 0.5923228402614593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2980546859979629, + 0.20376526083946223, + 0.24556429748535136, + 0.442152768421173, + 0.33779594779014577, + 0.34090128064155567, + 0.4569228596687318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json new file mode 100644 index 0000000..b186237 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s17_a17", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s17_a17_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_1719/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 32248, + "num_frames": 1031909, + "estimated_total_batches": null, + "train_episodes": 1633, + "train_bytes": 232098850893, + "elapsed_sec": 277.61806178092957, + "frames_per_sec": 3717.009597215209 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/unified_action_space.json new file mode 100644 index 0000000..46d05f0 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s17_a17/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "02e7c59245802e66825ab80d667297f376ddc17ad33bfbe771465efbd15789a2" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats.json new file mode 100644 index 0000000..fe95813 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -1.3547803163528442, + 0.755029022693634, + 0.6068242788314819, + -0.9906300902366638, + 1.0170456171035767, + 1.3017445802688599, + -0.18157915771007538, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7635851502418518, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3421299457550049, + -0.7070972323417664, + -0.5880898833274841, + 1.0016454458236694, + -0.9842587113380432, + -1.3245666027069092, + 0.13256670534610748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7062156200408936, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0004295064427424222, + 0.3654797077178955, + 0.4781149625778198, + 0.404465913772583, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.40673211216926575, + 0.25750458240509033, + 0.44406312704086304, + 0.4298768639564514, + 0.4682933986186981, + 0.3272894322872162, + 0.4376765787601471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.319647878408432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.36325040459632874, + 0.26303979754447937, + 0.4294496476650238, + 0.41202446818351746, + 0.4376407861709595, + 0.26321712136268616, + 0.406250536441803, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.34777307510375977, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13882064819335938, + 0.0587720051407814, + 0.06267630308866501, + 0.06288386881351471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.623746828877926, + 0.422594678670168, + 0.26733380875587465, + -1.3614243242025375, + 0.5744161965847017, + -0.005409026861190824, + -1.6480314255952835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1908386861205101, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9897309021949767, + -1.3695025413155555, + -2.06178382396698, + -0.01326705760955793, + -2.081861891722679, + -1.5936958384633064, + -0.853074108362198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1906825377225876, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26186463236808777, + 0.2617471218109131, + 0.3489969074726105, + 0.31707038768529894, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.7302417573094369, + 1.3694030942618847, + 2.445421035337448, + 0.009004551577567854, + 2.326905642080307, + 1.601938715982437, + 0.8492856928110122, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0012754402011632, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.3719133356809614, + -0.09056340849399569, + -0.16903709316253668, + 1.3555171401977542, + -0.2900681381464003, + -0.5199884833097457, + 1.707816768169403, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0010545860767364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26176494808197015, + 0.43632417860031125, + 0.6108229170560837, + 0.5188367841541767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010563352843746543, + 0.0017160391435027122, + 0.005159545224159956, + 0.0022106990218162537, + 0.0014503959100693464, + -0.005501764826476574, + 0.0010637474479153752, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6935475468635559, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0027838535606861115, + -0.0005895814974792302, + -0.0026668307837098837, + -0.002813382539898157, + -0.0016497792676091194, + 0.002556455321609974, + -0.000546303519513458, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6242499947547913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00042965743341483176, + 0.36547815799713135, + 0.47811827063560486, + 0.4044669568538666, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1597946286201477, + 0.11818362027406693, + 0.14702743291854858, + 0.2084183245897293, + 0.16728796064853668, + 0.16486595571041107, + 0.15998083353042603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4545469284057617, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14823907613754272, + 0.12344123423099518, + 0.14680664241313934, + 0.18301677703857422, + 0.1618991196155548, + 0.11924934387207031, + 0.1484396904706955, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4780848026275635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1388205587863922, + 0.058782149106264114, + 0.06265798956155777, + 0.06288007646799088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6110378967523575, + -0.393797745513916, + -0.4590578153133391, + -0.6687536456108094, + -0.469356360435486, + -0.5654164524078369, + -0.5650752035140991, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4784718633651732, + -0.3966371303558349, + -0.4847236261367798, + -0.6575335870981217, + -0.660990184020996, + -0.41581965608596794, + -0.47923130426406857, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2619338631629944, + 0.26169419288635254, + 0.3489546775817871, + 0.317028849452734, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.49575549707412714, + 0.43070048446655274, + 0.4998851660966874, + 0.8407508171796798, + 0.6952995580434798, + 0.6087248458862304, + 0.5395712120056153, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4941145238876343, + 0.4433111068725586, + 0.5403243355751037, + 0.6182873335599899, + 0.45763365707397474, + 0.4022696802139283, + 0.5173421204090118, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2617077342569828, + 0.43634983854293824, + 0.6108512703180313, + 0.5187769077837467, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json new file mode 100644 index 0000000..5858b0e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s41_a34", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s41_a34_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_6459/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 85004, + "num_frames": 2720116, + "estimated_total_batches": null, + "train_episodes": 6136, + "train_bytes": 1133795856617, + "elapsed_sec": 1135.4377226829529, + "frames_per_sec": 2395.654068611155 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/unified_action_space.json new file mode 100644 index 0000000..167fead --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_ruantong_a2d_s41_a34/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c67f9a1a94cc29d855336aa75853afc3fe9f40256c371694d4c7688007dd8e61" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6275d8 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1628706455230713, + 0.23347488045692444, + -0.04910242184996605, + 0.264553040266037, + 0.13043716549873352, + -0.33108076453208923, + -0.14998599886894226, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29194653034210205, + 0.6853201985359192, + 0.6170122027397156, + -0.6644286513328552, + -1.1213622093200684, + -0.6663221120834351, + -0.8499442934989929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.07948362082242966, + -0.17150138318538666, + 0.21232953667640686, + 0.0920492485165596, + -0.29347097873687744, + -0.30039313435554504, + 0.0853857547044754, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3021090030670166, + -0.6288666725158691, + -0.6771913170814514, + 0.6895211338996887, + 1.1751788854599, + 0.6504865884780884, + 0.8789990544319153, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3626730144023895, + 0.19216300547122955, + 0.2810690999031067, + 0.5205802321434021, + 0.5020791888237, + 0.5364598631858826, + 0.36660030484199524, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25213295221328735, + 0.207768052816391, + 0.4823054075241089, + 0.2749427855014801, + 0.6560249924659729, + 0.2500518560409546, + 0.6224695444107056, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3831944465637207, + 0.1589929163455963, + 0.24002577364444733, + 0.4983278810977936, + 0.46839040517807007, + 0.42183858156204224, + 0.32927024364471436, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25350189208984375, + 0.2528623938560486, + 0.5577102303504944, + 0.22081902623176575, + 0.6477662324905396, + 0.20423410832881927, + 0.6250683069229126, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0871391372680663, + -0.20876111135482786, + -0.8388713676452637, + -0.8200110165596008, + -0.7363758310317993, + -1.3833980978965759, + -0.7764279620170593, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.943547477543354, + 0.09146377477645873, + 0.017375269904732704, + -1.098071245956421, + -1.7251344782330096, + -1.131031814558804, + -1.6974872374732048, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0471447103023528, + -0.528865817463398, + -0.20733413085937502, + -0.8457812840938568, + -1.2295815105915069, + -1.2434954173088073, + -0.86912408721447, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.902100967156887, + -0.9165206720232963, + -1.7268712982222438, + 0.06079141880832613, + 0.014800074510276318, + 0.11157027700543404, + 0.01750687765069306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.47659769430160503, + 0.7076735383987427, + 0.45100675120353695, + 1.2377816146373748, + 1.335918707370758, + 0.9499077592849732, + 1.3439336926937102, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1254084028124809, + 0.9077776364326477, + 1.6320448531996459, + 0.013790484744310216, + -0.0170682890616356, + -0.011170641231536882, + -0.023183120945841296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5287259579181671, + 0.14627059165239342, + 0.8642253021240234, + 1.3658753696680068, + 0.684262245941162, + 0.594153723692894, + 0.7332529784440993, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21299966784715663, + 0.005030459719896352, + -0.014311032612621899, + 1.052727247415483, + 1.73224950031098, + 1.0908084644936025, + 1.6659874871112406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0016884017968550324, + 0.011546838097274303, + 0.00473940372467041, + -0.0024346469435840845, + -0.0031135918106883764, + -0.002420922042801976, + 0.0017203716561198235, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.2739558219909668, + 0.7384939193725586, + 0.6407151818275452, + -0.687782883644104, + -1.1394267082214355, + -0.6913239359855652, + -0.8725272417068481, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0007380479946732521, + -0.00810902751982212, + -0.0052103460766375065, + -0.002664201660081744, + 0.004933670163154602, + -0.002533601364120841, + -0.0018208746332675219, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26942676305770874, + -0.6645417809486389, + -0.6903152465820312, + 0.7051751017570496, + 1.1936242580413818, + 0.6750840544700623, + 0.8997586965560913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.15168355405330658, + 0.11104796826839447, + 0.14569349586963654, + 0.21772974729537964, + 0.2811240255832672, + 0.2331443876028061, + 0.23385126888751984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26519671082496643, + 0.20837455987930298, + 0.5007086396217346, + 0.2879154086112976, + 0.686345100402832, + 0.2576579451560974, + 0.6700758934020996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13862664997577667, + 0.07791885733604431, + 0.11473166942596436, + 0.2046445906162262, + 0.18303248286247253, + 0.15754161775112152, + 0.16820472478866577, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.27345746755599976, + 0.25550195574760437, + 0.5730949640274048, + 0.2446984052658081, + 0.6683359146118164, + 0.22920526564121246, + 0.6644843816757202, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4647418713569641, + -0.36247115948200226, + -0.4871022036075593, + -0.6902964536190033, + -0.9688063781738281, + -0.8738521937131882, + -0.7369811347961426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9890421652793884, + 0.19791983685493464, + -0.00033008601089240986, + -1.2235791976333363, + -1.7463293075561523, + -1.1852029679603175, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42307967765331267, + -0.26447365524768834, + -0.4067236483573914, + -0.6569536940097809, + -0.6593658556938171, + -0.4846822315454482, + -0.556758381319046, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9903689094781876, + -0.9210000038146973, + -1.7463293075561523, + -0.0010000000474974513, + -0.0003010683244559914, + 0.06110405158251524, + -0.0006505341859767214, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5710441195964813, + 0.37983955030441297, + 0.47168680982589706, + 0.7756827896118161, + 1.0283435638427734, + 0.7458742338418958, + 0.7903891201019286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2754032823443411, + 0.9206928329706192, + 1.6932202401782386, + 0.0006854407878826851, + 0.0006505341859766034, + 0.0006854407878826851, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5275774911642075, + 0.2503997765541076, + 0.3314345474720002, + 0.6707679876804353, + 0.5859755010604859, + 0.5634215530157092, + 0.5414131363868715, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24682292762994762, + -0.05346022585034371, + -0.00028526860064581605, + 1.091015984294936, + 1.7459798416946315, + 1.2084764054469996, + 1.7459798416946315, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..329799a --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_931/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 19765, + "num_frames": 632462, + "estimated_total_batches": null, + "train_episodes": 884, + "train_bytes": 137723586828, + "elapsed_sec": 202.07107949256897, + "frames_per_sec": 3129.898655404859 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats.json new file mode 100644 index 0000000..6633804 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7445161938667297, + 0.2046411782503128, + -0.24800196290016174, + 0.9919590950012207, + 0.3741361200809479, + -0.2801648676395416, + -0.13361211121082306, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6758849024772644, + 0.8352697491645813, + 0.2204723358154297, + -0.3820844292640686, + -0.8395292162895203, + -0.3996052145957947, + -0.5619040131568909, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.36609283089637756, + -0.08858122676610947, + -0.30266183614730835, + 0.8333971500396729, + 0.29706326127052307, + -0.2599102556705475, + 0.45701661705970764, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10622099041938782, + -0.8759199976921082, + -0.34643176198005676, + 0.814652144908905, + 1.2110474109649658, + 0.567145049571991, + 0.9029716849327087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3898758292198181, + 0.20100830495357513, + 0.3866082727909088, + 0.4276141822338104, + 0.5115737915039062, + 0.2632923424243927, + 0.42600882053375244, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21897515654563904, + 0.10531293600797653, + 0.23290933668613434, + 0.2559126913547516, + 0.630479633808136, + 0.24550874531269073, + 0.5936964750289917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17779535055160522, + 0.11882677674293518, + 0.14129222929477692, + 0.3587522506713867, + 0.23949897289276123, + 0.2896011471748352, + 0.5105559229850769, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7211710214614868, + 0.13480520248413086, + 0.32516923546791077, + 0.28521132469177246, + 0.520041286945343, + 0.3791837990283966, + 0.6520012617111206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2224115524291992, + -0.2226963701248169, + -0.7868920280456543, + -0.01173839816451075, + -0.6705473416090012, + -0.9839372223377227, + -1.1950472702026367, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.008761749792099, + 0.3164234099209309, + 0.015529673546552658, + -1.0354845005345996, + -1.7086090141598136, + -1.0038791944533587, + -1.6925374082896858, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7371529162883759, + -0.3936914521664381, + -0.7073566943407059, + 0.038411684036254876, + -0.06361387825012206, + -0.9945685440063476, + -0.2427892891407013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.8244225978851318, + -0.917671856868267, + -1.6727701947420834, + 0.20956130823493002, + 0.016465356573462486, + -0.07792163744568825, + 0.013376317918300629, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.08535512161254899, + 0.6966267797470093, + 0.5173972716808319, + 1.3934486828446386, + 1.0134924908161163, + 0.3364450139045716, + 0.7313213119506838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.21198543627262112, + 0.9117449419245124, + 0.8466709901146591, + -0.025526101072493645, + -0.036378498886898036, + -0.01881221437454217, + -0.020673312769085017, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.015156626367568982, + 0.11028196246623989, + -0.07709463704824449, + 1.2660695624351501, + 0.8034028644561768, + 0.18856437225341782, + 1.5178833255529405, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0496813233375548, + -0.12920548431873324, + -0.01758571497499939, + 1.5300610191166402, + 1.7329283000670372, + 1.1529876285791396, + 1.7253991491645575, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001059380709193647, + 0.004219536203891039, + 0.0023536814842373133, + 0.004847630392760038, + -0.0044314186088740826, + 0.0032603945583105087, + 0.0002796429907903075, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6260432600975037, + 0.8834512829780579, + 0.23747524619102478, + -0.4212741553783417, + -0.8709027171134949, + -0.433660089969635, + -0.5984626412391663, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007231731899082661, + -0.001023879274725914, + -0.0034783456940203905, + -0.00010531584121054038, + 0.004821954760700464, + -0.0008869097218848765, + -0.000642355706077069, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.46016982197761536, + -0.8851051330566406, + -0.34612372517585754, + 0.8203089833259583, + 1.2152869701385498, + 0.7640361189842224, + 0.907231867313385, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.264655739068985, + 0.1654302030801773, + 0.2674410343170166, + 0.2734619677066803, + 0.3695032000541687, + 0.23066960275173187, + 0.32287293672561646, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984951436519623, + 0.08304513990879059, + 0.2572486400604248, + 0.3235522210597992, + 0.7256113886833191, + 0.30972957611083984, + 0.689659059047699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04034788906574249, + 0.0261350329965353, + 0.01804332062602043, + 0.06059056892991066, + 0.022570159286260605, + 0.035094913095235825, + 0.03205068036913872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21764817833900452, + 0.1374056339263916, + 0.3252909779548645, + 0.2921648323535919, + 0.5298183560371399, + 0.2756422162055969, + 0.677844226360321, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6967882361650467, + -0.376699486553669, + -0.7184161659240723, + -0.8877626407623291, + -1.1069273098468781, + -0.7469617376804352, + -1.1573144844055174, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + 0.4381441333025694, + -0.0006127584492787719, + -1.1355026049411623, + -1.7463293075561523, + -1.1958755969752557, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.10971371923685075, + -0.05946463347375394, + -0.05702475812435151, + -0.1925968414545059, + -0.058742796063423156, + -0.11493266266584395, + -0.0876838384628296, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + -0.9210000038146973, + -1.6743681746596237, + 0.20299266990423204, + 0.0007594325964921152, + 0.03485975554860197, + -0.000051340521336533114, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.9039022744178773, + 0.5056628809690475, + 0.8582687198638914, + 0.8934240812301635, + 1.1677811064720154, + 0.6654134750127794, + 1.2087200176239015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.06332860741019242, + 0.9208353751510382, + 0.943756352857803, + 0.0006854407878826851, + 0.0006505341859766034, + 0.000687336620897927, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13810114730000494, + 0.09025129990279673, + 0.04996730821132658, + 0.19269111961126328, + 0.0708820892572403, + 0.08923030090332035, + 0.08276398012638092, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13738033704161645, + -0.12135625495314606, + -0.001795823647105177, + 1.5714997634455563, + 1.745979983987019, + 1.4648461497579701, + 1.7459799615573373, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json new file mode 100644 index 0000000..18bb906 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high__episodes_227/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2287, + "num_frames": 73184, + "estimated_total_batches": null, + "train_episodes": 216, + "train_bytes": 3159483310, + "elapsed_sec": 28.13194966316223, + "frames_per_sec": 2601.4549605081866 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unitree_g1_s28_a28_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats.json new file mode 100644 index 0000000..fce0f58 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.4601517915725708, + 0.28574568033218384, + -0.28942522406578064, + 0.6302258372306824, + -0.4861578345298767, + -0.5207346081733704, + -0.1987939476966858, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1725141853094101, + 0.0685783177614212, + 0.12817345559597015, + -0.16918662190437317, + -0.4351489543914795, + -0.12865182757377625, + -0.2854554355144501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.35936683416366577, + -0.39935022592544556, + 0.258500337600708, + 0.5848162770271301, + 0.21070364117622375, + -0.6088512539863586, + -0.01831921748816967, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29934221506118774, + 0.19203908741474152, + -0.325772225856781, + 0.21082274615764618, + 0.3784441351890564, + 0.1499779373407364, + 0.3509950637817383, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2189597487449646, + 0.14171771705150604, + 0.43653634190559387, + 0.362621009349823, + 0.499917209148407, + 0.36899834871292114, + 0.22155988216400146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4452809989452362, + 0.6484705805778503, + 0.27489814162254333, + 0.4036325514316559, + 0.6206685304641724, + 0.3343346416950226, + 0.5257602334022522, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22628849744796753, + 0.1428905427455902, + 0.3611524999141693, + 0.4151686429977417, + 0.3856017589569092, + 0.3003835678100586, + 0.255756139755249, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22143076360225677, + 0.45618167519569397, + 0.5058495998382568, + 0.4284057021141052, + 0.5871851444244385, + 0.3656456768512726, + 0.5761141777038574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.101659857749939, + -0.018607720243930814, + -1.584791460418701, + -0.30841166829466815, + -1.360724712395668, + -1.1547250646352767, + -0.7063347400903701, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7200000286102295, + 0.0, + -1.5700000524520874, + -1.745300054550171, + -1.3875660463571549, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9737500015258789, + -0.7816216490864754, + -0.6477329211235047, + -0.3947790165305138, + -1.0113668236732483, + -1.1912066125869751, + -0.5944325535297394, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6045961649179459, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.18273090934753422, + 0.7255914891004562, + 0.7783089427948, + 1.3746503059208395, + 1.1035205349683763, + 0.49836549907922745, + 0.3299396315336227, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 0.9196720166802406, + 1.7449509945392607, + -0.0003140000104904228, + -0.0003490600109101738, + -0.0003140000104904228, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23939910240173345, + -0.08035749015212068, + 1.2898316625356676, + 1.499683491653204, + 0.7804335985660553, + 0.2747516059875488, + 0.6979348600387574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7197225100278855, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014253475237637758, + 0.004040827043354511, + 0.00401429645717144, + -0.0006249065627343953, + -0.0007871320121921599, + 0.004092377610504627, + -0.007282583974301815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.17188459634780884, + 0.09245369583368301, + 0.1286001205444336, + -0.17128616571426392, + -0.43959158658981323, + -0.13044847548007965, + -0.28975656628608704, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0018386616138741374, + -0.0017423932440578938, + -0.002052909228950739, + -0.0004560645029414445, + 0.006413742434233427, + -0.0015468160854652524, + 0.0011579451384022832, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29914090037345886, + 0.1900770366191864, + -0.3282303512096405, + 0.21167583763599396, + 0.3810122311115265, + 0.15109674632549286, + 0.3544777035713196, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08548260480165482, + 0.059953778982162476, + 0.14716483652591705, + 0.15606258809566498, + 0.15485815703868866, + 0.13305547833442688, + 0.08386557549238205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44540083408355713, + 0.6780035495758057, + 0.27485981583595276, + 0.40709882974624634, + 0.6220939755439758, + 0.3366040885448456, + 0.5278019905090332, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0954136922955513, + 0.053427211940288544, + 0.13860651850700378, + 0.17628909647464752, + 0.143167182803154, + 0.10808171331882477, + 0.08713337779045105, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22215959429740906, + 0.45735371112823486, + 0.5071426630020142, + 0.42950281500816345, + 0.5888646245002747, + 0.36695989966392517, + 0.5784511566162109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.28645844354629524, + -0.18376410233974455, + -0.46031000661849975, + -0.5777189530849457, + -0.525499416065216, + -0.40847072732448586, + -0.3366838617324829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7243000268936157, + 0.0, + -1.5707999467849731, + -1.745300054550171, + -1.3876446729898453, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3106002992868423, + -0.17958201030492782, + -0.5006137095689773, + -0.6031595508575439, + -0.48816414699554445, + -0.34850764927864075, + -0.2802416110396385, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6044009449958802, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.29917649668455115, + 0.21889999203681954, + 0.531090847492218, + 0.5048572306632997, + 0.5642101072788241, + 0.5288397431373595, + 0.24146718263626088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 1.046845664525032, + 1.7449509945392607, + -0.0003141599893570213, + -0.0003490600109101738, + -0.0003141599893570213, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32684008424282074, + 0.16315318412780755, + 0.41679275200367005, + 0.5781977668762206, + 0.5312393463134764, + 0.4175895518779753, + 0.3207163540005684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7240216483116149, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats_meta.json new file mode 100644 index 0000000..345f7da --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unknown_s30_a30_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unknown_s30_a30_fps30_cam_high__episodes_891/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 8154, + "num_frames": 260914, + "estimated_total_batches": null, + "train_episodes": 846, + "train_bytes": 20178322671, + "elapsed_sec": 82.17656183242798, + "frames_per_sec": 3175.041571245681 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_unknown_s30_a30_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats.json b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats.json new file mode 100644 index 0000000..49a8dd4 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 1.524367094039917, + -1.3065650463104248, + -0.5391265749931335, + -1.9779719114303589, + 0.042856667190790176, + 0.1487847864627838, + -0.05886118486523628, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6645289063453674, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.49284985661506653, + 1.0417016744613647, + -0.322103887796402, + 1.5314422845840454, + 0.26630860567092896, + -0.10916095227003098, + -0.5114750862121582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7098702192306519, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2897261083126068, + 0.19842040538787842, + 0.2448112666606903, + 0.21612223982810974, + 0.6295380592346191, + 0.2960987687110901, + 0.1680130958557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2784114181995392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.934599757194519, + 0.27511605620384216, + 0.8904873728752136, + 0.42886051535606384, + 0.34848248958587646, + 0.3541565239429474, + 0.565496027469635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1976504921913147, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.7376339052915573, + -1.6099701312497259, + -0.885706602358818, + -2.3163964335680007, + -1.0850703057050706, + -0.47425655221939084, + -0.44927409212589264, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.891990763092041, + 0.4447629337310792, + -1.839495149588585, + 0.5765320897683501, + -0.5520781661987304, + -0.735830457687378, + -1.3432193279266358, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.904548677366972, + -0.795198133945465, + 0.18943803424835215, + -1.2896517002105712, + 1.6342880125045776, + 0.7360185463428499, + 0.3375669756293296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9615902823448184, + 1.5525214227437973, + 0.9610611121892929, + 2.3590748086735607, + 0.9761594358444214, + 0.7660390744209289, + 0.45407201790809637, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00006569585093529895, + -0.0002367628476349637, + -0.0004524707910604775, + 0.0005102173890918493, + -0.001635607099160552, + -0.006574156228452921, + 0.0007140140514820814, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.665635883808136, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.01432245783507824, + 0.009032520465552807, + 0.010951328091323376, + 0.006414332427084446, + 0.004951334558427334, + 0.008958633057773113, + 0.008657954633235931, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.711277961730957, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1834850162267685, + 0.10580053180456161, + 0.18292799592018127, + 0.18817037343978882, + 0.3076501786708832, + 0.15092547237873077, + 0.1127411350607872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2779955565929413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45669886469841003, + 0.2752196490764618, + 0.40178874135017395, + 0.2569642961025238, + 0.2553403973579407, + 0.24139155447483063, + 0.1890239715576172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19659824669361115, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6143484880447387, + -0.39371692562103267, + -0.6777150949001312, + -0.6583128417015075, + -1.4426410250663757, + -0.6675770700454713, + -0.4131294379234314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.7665856656551362, + -0.8687658917427064, + -1.09206223115921, + -0.84294264087677, + -0.609202272439003, + -0.8176013734817504, + -0.6940191761016845, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6324825129508973, + 0.3164169328212738, + 0.6923210113048555, + 0.5968620174407961, + 1.15903103017807, + 0.5463467423677444, + 0.44189159464836125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2043245237350462, + 0.669174746847153, + 1.794497901535034, + 0.7042711029052735, + 0.8618204277515411, + 0.7357967818260196, + 0.7027042475700376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats_meta.json new file mode 100644 index 0000000..63d08ff --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_yinhe_s49_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/yinhe_s49_a16_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5452/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 153600, + "num_frames": 4915186, + "estimated_total_batches": null, + "train_episodes": 5179, + "train_bytes": 711128217385, + "elapsed_sec": 1323.132462978363, + "frames_per_sec": 3714.810223109443 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/unified_action_space.json b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/unified_action_space.json new file mode 100644 index 0000000..285dfcf --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robocoin_yinhe_s49_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "df6e3ea1278ba06ec1cd8fc9405c482c55982b5ac43bbfb1dee1f5bfcd1a468a" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats.json new file mode 100644 index 0000000..f699bd5 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2912142872810364, + 0.7706507444381714, + 0.8166523575782776, + -0.5391867160797119, + 0.17443010210990906, + -0.03291980177164078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.037457823753357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3165360689163208, + 0.7844910025596619, + 0.8448988199234009, + -0.6473979949951172, + -0.19697701930999756, + 0.09821853041648865, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.071836233139038, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.31844455003738403, + 0.6649036407470703, + 0.6359055638313293, + 0.3965521454811096, + 0.26199185848236084, + 0.19108326733112335, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6735684871673584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2895064651966095, + 0.5852402448654175, + 0.5345459580421448, + 0.4037196934223175, + 0.25300946831703186, + 0.17583996057510376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6739572286605835, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.1008532051086426, + 0.0013943950653076175, + 0.014930963516235352, + -1.3446834449768066, + -0.46284152030944825, + -0.5668264865875243, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.01151485834121704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09137299480438232, + 0.0024674806594848636, + 0.013868572044372559, + -1.356740512084961, + -0.730856520652771, + -0.36164791870117186, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.015304181719198822, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11911020965576169, + 2.1889521074295044, + 2.31054425239563, + 0.27205753517150866, + 0.8036104869842529, + 0.5188723945617677, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.357991581296921, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0514802862167358, + 2.167783304977417, + 2.112537544631958, + 0.07684082565307637, + 0.48839656925201425, + 0.5515233222961426, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.254145598340035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00031540499185211957, + -0.007605055347084999, + -0.013626378029584885, + 0.01294397097080946, + -0.008090313524007797, + 0.013309093192219734, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3646289110183716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0019422572804614902, + -0.007419590372592211, + -0.011846384033560753, + 0.012537145055830479, + 0.006900215987116098, + -0.007588144391775131, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5834583044052124, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1662832796573639, + 0.3357270061969757, + 0.2942589521408081, + 0.2550986111164093, + 0.16362538933753967, + 0.1354900598526001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.0903167724609375, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.15850712358951569, + 0.3416793942451477, + 0.28663069009780884, + 0.2630174458026886, + 0.13510547578334808, + 0.12409359216690063, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.1895596981048584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.521558889389038, + -1.025707421875, + -1.1375078313827516, + -0.7164978378295899, + -0.5593309104919433, + -0.39902141418457027, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09417187500000002, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5945680046081545, + -1.064510614013672, + -1.072522581100464, + -0.7810182523727416, + -0.42451723403930663, + -0.4333285047531128, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.16773752975463874, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6086202415466309, + 0.9857216306686398, + 0.8020620159149168, + 0.9357657577514651, + 0.5060111686706543, + 0.4612753326416015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.653624244689942, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5080000579833981, + 1.0137772064208983, + 0.8535642738342282, + 0.9668074893951419, + 0.47746843833923336, + 0.33230566730499245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.698792873382567, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..af277e0 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_agilex_cobot_magic_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 196965, + "num_frames": 6302870, + "estimated_total_batches": null, + "train_episodes": 9855, + "train_bytes": 1015824843385, + "elapsed_sec": 1625.2714269161224, + "frames_per_sec": 3878.0414739459275 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats.json new file mode 100644 index 0000000..56764de --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.02872992493212223, + -0.03250863403081894, + -0.044107649475336075, + -1.9217846393585205, + -0.03335548937320709, + 1.8634817600250244, + -0.09915560483932495, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27069082856178284, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007103583309799433, + 0.09939762949943542, + 0.17450419068336487, + -1.4917900562286377, + -0.14953744411468506, + 1.5298478603363037, + 0.17748871445655823, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17512521147727966, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24050824344158173, + 0.18076345324516296, + 0.162387877702713, + 0.3688068687915802, + 0.26190441846847534, + 0.38791725039482117, + 0.42700111865997314, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.38373228907585144, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20354995131492615, + 0.18818333745002747, + 0.14312860369682312, + 0.09749498218297958, + 0.42516154050827026, + 0.23171094059944153, + 0.315849632024765, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3484148383140564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7479126671791076, + -0.4948742458820343, + -0.4937059134244919, + -2.6657454515457153, + -0.7740779214859008, + 1.3427923250198364, + -1.4256502631664276, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26181291670799256, + -0.12531252807974816, + -0.14902960658073428, + -1.8273668120980262, + -1.7342645349979402, + 1.3332580568790435, + -0.24545768320560457, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.004200000000000001, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6294316546440124, + 0.4177898835539817, + 0.3835556173324586, + -1.4613578771591187, + 0.8686296574592591, + 2.6317525205612182, + 1.02927272901535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665686247253418, + 0.6005449758857488, + 0.5071338846683502, + -1.253091666698456, + 0.17801692837476724, + 2.4559928531885147, + 1.320400775194168, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00579951424151659, + 0.0009321922552771866, + 0.0001605675497557968, + 0.01468118466436863, + 0.004086125176399946, + -0.009518737904727459, + -0.0008803497767075896, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3470822870731354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.009737007319927216, + -0.0050971596501767635, + 0.003751665586605668, + 0.002095873700454831, + 0.007014834322035313, + -0.006377325858920813, + -0.0024907798506319523, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17645229399204254, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.18581676483154297, + 0.1604117602109909, + 0.09761915355920792, + 0.279049277305603, + 0.22557272017002106, + 0.3101310133934021, + 0.3323877155780792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4602535367012024, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1281752586364746, + 0.11369078606367111, + 0.07542045414447784, + 0.07059511542320251, + 0.24174679815769196, + 0.14355233311653137, + 0.23310133814811707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.35898837447166443, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6203167253017425, + -0.5089887523770332, + -0.31527611851692194, + -0.861568698644638, + -0.7907215990066527, + -0.9439559233188629, + -0.9502868450164795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5435035077095032, + -0.4396112471818924, + -0.27968518979549417, + -0.2505410222053528, + -1.0277889500141142, + -0.5418802068948746, + -0.8036095057487488, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.00437053572118748, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6547829939365386, + 0.47977734111547465, + 0.3555985690355301, + 0.6909391857385636, + 0.7429793606758119, + 0.839421225786209, + 1.1230383680343627, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3702085198402405, + 0.3635676041245459, + 0.25351028020381916, + 0.2524659325599672, + 1.0453574712753295, + 0.48159508218765246, + 1.0040429187774658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998000744047633, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..3c018d2 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_fr3_dual_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 11198, + "num_frames": 358321, + "estimated_total_batches": null, + "train_episodes": 1685, + "train_bytes": 186172127608, + "elapsed_sec": 205.53938150405884, + "frames_per_sec": 1743.3204156689756 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_fr3_dual_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats.json new file mode 100644 index 0000000..64bb6f7 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.050074514001607895, + 0.2168712615966797, + -0.04304725304245949, + -1.6480380296707153, + -0.04889731854200363, + 1.981959581375122, + 0.027210397645831108, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.31860384345054626, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20079824328422546, + 0.21306701004505157, + 0.14047782123088837, + 0.21161852777004242, + 0.18164995312690735, + 0.34882527589797974, + 0.35608425736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3863016366958618, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.43048445436954497, + -0.1407027938723564, + -0.4342776439547539, + -2.307061647772789, + -0.8071739921569825, + 1.4752378027439117, + -0.8850302599906921, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.605513199532032, + 0.7539548544883727, + 0.3651459789872169, + -1.2252477578639984, + 0.34580575790405277, + 2.9056127210855482, + 1.1405179331779483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006179585587233305, + -0.029241317883133888, + -0.004109390079975128, + -0.010029942728579044, + 0.002001858549192548, + -0.020291229709982872, + 0.00541237648576498, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3327816426753998, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17788256704807281, + 0.24914397299289703, + 0.10994547605514526, + 0.2059284746646881, + 0.1720099151134491, + 0.399440199136734, + 0.3174999952316284, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4199410378932953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5027609734058381, + -0.659905499958992, + -0.3669868229150772, + -0.6224279801130295, + -0.5189719449043273, + -1.0841700080633165, + -0.9586771881103513, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5086506120204923, + 0.5854389501810073, + 0.3575911468267441, + 0.6135797002315522, + 0.5958229855537414, + 1.0015189151763915, + 0.94854157409668, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..2c43271 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_panda_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 57958, + "num_frames": 1854642, + "estimated_total_batches": null, + "train_episodes": 14956, + "train_bytes": 282424151738, + "elapsed_sec": 465.4217314720154, + "frames_per_sec": 3984.8633499218436 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_panda_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats.json new file mode 100644 index 0000000..e18c97f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.05431849882006645, + 0.2290264517068863, + 0.06054431572556496, + -1.7516008615493774, + -0.0009821689454838634, + 1.9669047594070435, + 0.10469292104244232, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3105355203151703, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.282229483127594, + 0.34571757912635803, + 0.26973626017570496, + 0.3954300284385681, + 0.2093062847852707, + 0.34419673681259155, + 0.6092366576194763, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32808253169059753, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7128893469333648, + -0.7831290235042573, + -0.7018777868747712, + -2.654962126095593, + -0.7293025332927703, + 1.2178158522874118, + -1.579328977584839, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008327009677886466, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7805238378047945, + 0.996611042022705, + 0.6962547571659083, + -0.801373397190869, + 0.5592271712780001, + 2.9440562456270682, + 1.834556310653686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7858265437364578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0003964641073253006, + -0.015292207710444927, + -0.005603020079433918, + 0.008090371266007423, + 0.0009030065848492086, + -0.013399748131632805, + 0.0025455045979470015, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3059731125831604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14430563151836395, + 0.23040126264095306, + 0.12359558790922165, + 0.25404950976371765, + 0.1299935132265091, + 0.2845810651779175, + 0.23000602424144745, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32761436700820923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4282694184303284, + -0.7556568478345871, + -0.3945588711738588, + -0.8038546324968339, + -0.384043906879425, + -0.9643010272979735, + -0.766740892744064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007800394535064648, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44182890958786025, + 0.5628056311607361, + 0.3584979928016665, + 0.8073955500125884, + 0.43689187560081466, + 0.7673846399307251, + 0.7996728756904603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7859916551351547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..b68a98f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_franka_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 48250, + "num_frames": 1543972, + "estimated_total_batches": null, + "train_episodes": 8445, + "train_bytes": 675920469639, + "elapsed_sec": 665.9570224285126, + "frames_per_sec": 2318.4258863577616 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_franka_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats.json new file mode 100644 index 0000000..61b96fe --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041941363364458084, + 0.23306936025619507, + 0.05907498672604561, + -1.8461532592773438, + -0.008388909511268139, + 2.0598065853118896, + 0.03718278184533119, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16530641913414001, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3363783061504364, + 0.24904070794582367, + 0.27618101239204407, + 0.3934434950351715, + 0.12503312528133392, + 0.2713543772697449, + 0.481111615896225, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115025877952576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.842514001083374, + -0.14554469878673554, + -0.6748853764891625, + -2.5493086941719056, + -0.3112471418917179, + 1.444778957772255, + -1.0551550045967102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0010764459133148496, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8897254436969759, + 1.0443386925697327, + 0.5906232087850571, + -0.7863341999053957, + 0.31217047451734536, + 2.5325355393886566, + 2.0018143637895585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7445413999080657, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0013613005867227912, + -0.0019828719086945057, + -0.004892994649708271, + 0.040003255009651184, + 0.003110992955043912, + -0.026717711240053177, + 0.002946416148915887, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1649303436279297, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1734810769557953, + 0.18704959750175476, + 0.1274677813053131, + 0.26024433970451355, + 0.07944203168153763, + 0.23101893067359924, + 0.20181050896644592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115633845329285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5883622665405273, + -0.5670622599601746, + -0.4257954135894776, + -0.7182313198089599, + -0.22942946300506595, + -0.6761015580177308, + -0.6581925751209259, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007068812847137451, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5921108510971069, + 0.532150031197071, + 0.4482104328155516, + 0.7808476925373078, + 0.2439403713226318, + 0.6174762445449828, + 0.6635519044399261, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7441247965335847, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..fc6ca81 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_none_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1107, + "num_frames": 35418, + "estimated_total_batches": null, + "train_episodes": 211, + "train_bytes": 6706236456, + "elapsed_sec": 11.181196451187134, + "frames_per_sec": 3167.6395414946483 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_none_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json new file mode 100644 index 0000000..f9b87d7 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12862539291381836, + 0.10420803725719452, + 0.1507907211780548, + -1.6999670267105103, + -0.14460554718971252, + 1.9053664207458496, + 0.4335462749004364, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06511421501636505, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6245681643486023, + 0.34309419989585876, + 0.5870680809020996, + 0.40795278549194336, + 0.20813338458538055, + 0.2701113522052765, + 1.0759789943695068, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12459228187799454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -2.8998490468978884, + -0.7582584895730018, + -0.744865327835083, + -2.576282403945923, + -0.6427169109582901, + 1.281201576291985, + -2.211445552444458, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.001115015268325692, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8701619072914122, + 0.8050513436913491, + 2.8916868991851805, + -0.970624508154392, + 0.5479656597852707, + 2.4191241051438204, + 2.5220915309906005, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5271702873706818, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.004356690216809511, + -0.010021368972957134, + -0.005047916434705257, + -0.016711799427866936, + -0.011854293756186962, + 0.03055323101580143, + 0.029920563101768494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06573743373155594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17619915306568146, + 0.17244896292686462, + 0.18936899304389954, + 0.22039532661437988, + 0.11159107834100723, + 0.18016842007637024, + 0.2773687541484833, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12432067841291428, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.559387174797058, + -0.5706956774711609, + -0.5846574388504027, + -0.8416802699804307, + -0.3643048192501068, + -0.4927735840797425, + -0.7364192728042602, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008005832195281393, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5136722531795503, + 0.43214548578262324, + 0.5519980060100553, + 0.5205945446729658, + 0.3414099413871765, + 0.6120740163803098, + 1.1303667816162108, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5277051842689515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..a224597 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_no_front_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1067, + "num_frames": 34125, + "estimated_total_batches": null, + "train_episodes": 150, + "train_bytes": 7133719955, + "elapsed_sec": 11.634025812149048, + "frames_per_sec": 2933.2064885367827 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats.json new file mode 100644 index 0000000..4454c2c --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.058677639812231064, + -0.020728396251797676, + 0.061011988669633865, + -1.6386123895645142, + -0.0016661359695717692, + 1.85384202003479, + 0.0318516306579113, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.14600756764411926, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5181325078010559, + 0.3683291971683502, + 0.47908589243888855, + 0.40745365619659424, + 0.24538974463939667, + 0.3270070254802704, + 1.1062960624694824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22717800736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9134195173263548, + -0.9667847575187684, + -1.4075731660842894, + -2.5127280881881715, + -0.7051276074171067, + 1.1881394446477294, + -2.1848897399902345, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008432700586318953, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7120905005455018, + 0.8496470478296279, + 1.7842719498634345, + -0.7269027355104685, + 0.7306575120687486, + 2.559558767311461, + 2.2310024108886717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7833485061168672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0030864360742270947, + -0.014526627026498318, + -0.008263246156275272, + -0.021576467901468277, + 0.0018557735020294785, + 0.007785191759467125, + -0.005972929298877716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1463216096162796, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2138717919588089, + 0.20189231634140015, + 0.20727543532848358, + 0.25472593307495117, + 0.12306797504425049, + 0.25284504890441895, + 0.3214346170425415, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2268107682466507, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6992091821670527, + -0.6429719269752503, + -0.6553837590217593, + -0.8025883827686309, + -0.3720137566566468, + -0.8318469825267791, + -1.1202265443801882, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.009108828496933175, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665241785526276, + 0.5787899346351622, + 0.5988114666938777, + 0.802218522644043, + 0.40542664546966556, + 0.7172769757270818, + 1.1334667954444884, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.783179182076454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..8576f0d --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 53134, + "num_frames": 1700279, + "estimated_total_batches": null, + "train_episodes": 8662, + "train_bytes": 465501426716, + "elapsed_sec": 452.24869179725647, + "frames_per_sec": 3759.6106541359254 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_franka_sim_simulation_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..13cf76b --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.854895830154419, + 0.2895817458629608, + -0.21138238906860352, + -0.6613888740539551, + 0.4681619107723236, + -0.15557539463043213, + -0.1758464127779007, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9139211773872375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26177895069122314, + -0.08320410549640656, + 0.13457360863685608, + 0.3343433141708374, + -0.2124287337064743, + 0.036814019083976746, + 0.17251014709472656, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9292864799499512, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.5788174271583557, + 0.25051409006118774, + 0.3781653642654419, + 0.4176454544067383, + 0.6007633805274963, + 0.24877780675888062, + 0.2531377375125885, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1635691225528717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4761202931404114, + 0.1770811527967453, + 0.3033520579338074, + 0.3387700021266937, + 0.3307650685310364, + 0.14587220549583435, + 0.18914712965488434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10804925858974457, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.9158795733362437, + -0.0012460584171116347, + -1.2030685099601746, + -1.5389836430072785, + -0.4265326317191124, + -0.6112608863592148, + -0.6116086971282959, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4938, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.1381313104391098, + -0.7465972574207931, + -0.48163455011844636, + 0.06347694122642278, + -1.4407999408245087, + -0.28010992536544804, + -0.1230062010616064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4978, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.15307473979890363, + 0.8836218490540981, + 0.8103051093101503, + -0.08349389228224768, + 1.8251103843450545, + 0.40191861500740034, + 0.5704657346725464, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5632996891856195, + -0.0001370591828597778, + 1.187215044903755, + 1.339963426311314, + 0.27724807739257784, + 0.5678760509967802, + 0.6107980014324189, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0002876046346500516, + 0.000031505733204539865, + 0.0002759836206678301, + 0.00006468334322562441, + -0.0006845134194009006, + 0.00026760270702652633, + 0.00043154990999028087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.909492552280426, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00037748011527583003, + 0.0005291275447234511, + -0.00015418844122905284, + -0.00017428975843358785, + 0.0007537910132668912, + -0.00006510389357572421, + -0.00021084601758047938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9276549816131592, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08800079673528671, + 0.07691292464733124, + 0.125771164894104, + 0.12257508188486099, + 0.21586425602436066, + 0.07356905937194824, + 0.06248171627521515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17170776426792145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05351067706942558, + 0.052141688764095306, + 0.07220736891031265, + 0.05641496554017067, + 0.0876786857843399, + 0.03790133446455002, + 0.0318601094186306, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11763474345207214, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3049057404041289, + -0.23326391571760174, + -0.449493436717987, + -0.46661893243789676, + -0.8206052811384201, + -0.264598342704773, + -0.22057663996219634, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.179220182299614, + -0.19677410819530483, + -0.2365414365530012, + -0.17656873760223402, + -0.29757825162410745, + -0.13061386151313792, + -0.11544653077125544, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2864243935346604, + 0.27934236091375353, + 0.4529821054458618, + 0.3896261790275575, + 0.7331835649967196, + 0.24467797489166254, + 0.2423023993253708, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1760005448102948, + 0.19438928351402285, + 0.2754443703889846, + 0.20665088987350444, + 0.28490007309913645, + 0.1408833035707473, + 0.10577272950410843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..f366f10 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 102313, + "num_frames": 3274013, + "estimated_total_batches": null, + "train_episodes": 5402, + "train_bytes": 214477074867, + "elapsed_sec": 861.7713775634766, + "frames_per_sec": 3799.1665599950165 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..bcdcf46 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.5683960318565369, + 0.22078832983970642, + -0.9512513875961304, + -0.4187726676464081, + -0.10543768852949142, + -0.6398162841796875, + -0.42031657695770264, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7417075634002686, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.4049739837646484, + -0.5157197117805481, + -0.6557912826538086, + 0.9174462556838989, + -0.31378185749053955, + 0.3021593987941742, + 0.06857848912477493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4635191261768341, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.064997598528862, + 0.07037549465894699, + 0.13303446769714355, + 0.11096090823411942, + 0.08682478964328766, + 0.11328177899122238, + 0.13669514656066895, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4326043128967285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6458616256713867, + 0.26487383246421814, + 0.6870888471603394, + 0.4772903025150299, + 0.3747406303882599, + 0.3143857717514038, + 0.2010403573513031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4886818826198578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7200056463241578, + 0.07263180047273636, + -1.2190638768672943, + -0.5876646458387375, + -0.2917385724902153, + -0.785775899887085, + -0.6443712908029556, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.3306755208015443, + -1.236551355423592, + -1.5572463144063948, + -0.05791391396522516, + -1.486474338889122, + -0.3266377056598663, + -0.3021904477119446, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.4484194566011429, + 0.3981429322063923, + -0.6136722717881203, + -0.19492976818084717, + 0.20381019022464752, + -0.33462102080285544, + -0.0783482120037079, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.5609298336505892, + -0.0006793295465874483, + 1.1604881446361541, + 1.7160904976725577, + 0.3718464797258374, + 0.7852976964950562, + 0.6216807430744171, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -1.9119422631774796e-6, + 0.00003626890611485578, + 0.000042202664189971983, + 2.2855781480757287e-6, + -0.000019521587091730908, + -0.00001689448436081875, + -0.00002351773582631722, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.995136022567749, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.020838096737861633, + 0.0010361943859606981, + -0.01129057165235281, + 0.014121136628091335, + 0.000757455884013325, + 0.00705363554880023, + -0.0017818119376897812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.627912700176239, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0007892947178333998, + 0.0006520548486150801, + 0.0009216390899382532, + 0.0005412636674009264, + 0.0006694264011457562, + 0.0009917672723531723, + 0.0009289574227295816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49194738268852234, + 0.19771817326545715, + 0.34000205993652344, + 0.36470067501068115, + 0.19369961321353912, + 0.24002011120319366, + 0.07210414856672287, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4697430729866028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.0017566436529159544, + -0.0015661208927631384, + -0.001643378257751467, + -0.0015505292415618896, + -0.001824682950973511, + -0.002112814867496482, + -0.0026672667026519936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9796605706214905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.3261862396717072, + -0.548191284418106, + -1.2032444964885711, + -1.0167676458120347, + -0.6221477860212326, + -0.6264349913597107, + -0.27403422360420227, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.002321670353412627, + 0.0019566214606165887, + 0.0028617384910583493, + 0.00153787824511528, + 0.0016360209584236132, + 0.0017452585577964752, + 0.0024165729403495817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999959321141243, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2985927095890046, + 0.5280053668022155, + 0.9517922229290008, + 1.048540046620369, + 0.6327526432275774, + 0.715945652127266, + 0.2349968707561494, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..94e52cb --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_prod1_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 50624, + "num_frames": 1619947, + "estimated_total_batches": null, + "train_episodes": 2811, + "train_bytes": 247276602528, + "elapsed_sec": 426.9908273220062, + "frames_per_sec": 3793.868383918118 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats.json new file mode 100644 index 0000000..e0dfdfa --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.29493895173072815, + 0.22533413767814636, + -0.1456715613603592, + -0.37044036388397217, + 0.25953322649002075, + -0.2537669241428375, + -0.14796751737594604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6502549648284912, + 0.28052079677581787, + 0.018628237769007683, + -0.00005931760824751109, + -0.06009761989116669, + -0.08868148177862167, + -0.05306922644376755, + -0.08859807997941971, + -0.04932575672864914, + -0.08857344835996628, + -0.04816029965877533, + -0.0868636965751648, + 0.33901673555374146, + -0.36104950308799744, + 0.3739446997642517, + 0.5144957900047302, + -0.25866034626960754, + 0.25732022523880005, + 0.2567217946052551, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.649032711982727, + -0.2628367841243744, + 0.0007943143136799335, + 0.0005952698993496597, + -0.07441623508930206, + -0.11178402602672577, + -0.06531063467264175, + -0.10965787619352341, + -0.05747656151652336, + -0.11185495555400848, + -0.05255016312003136, + -0.11343297362327576, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.42973142862319946, + 0.34801846742630005, + 0.22365431487560272, + 0.386581152677536, + 0.2664882242679596, + 0.27903592586517334, + 0.29781287908554077, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07958385348320007, + 0.15354761481285095, + 0.0561688095331192, + 0.00017206600750796497, + 0.13671790063381195, + 0.20638827979564667, + 0.11897336691617966, + 0.20618008077144623, + 0.11050467938184738, + 0.2060556411743164, + 0.11131685972213745, + 0.20966513454914093, + 0.38633567094802856, + 0.40089690685272217, + 0.3132394552230835, + 0.5028060674667358, + 0.2161499261856079, + 0.31141015887260437, + 0.23277568817138672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08685781061649323, + 0.16592749953269958, + 0.04572189226746559, + 0.021475350484251976, + 0.1447831094264984, + 0.2241557538509369, + 0.1266137659549713, + 0.21892304718494415, + 0.11279409378767014, + 0.22407935559749603, + 0.11696896702051163, + 0.22903063893318176, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.551503319787979, + -0.00008664713095640764, + -1.0151768641114236, + -1.3711347912874714, + -0.09397810050845146, + -0.6224041401863099, + -0.6123663410186768, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.4750549368372108, + -0.1695621688306332, + -0.0018915223360061462, + -0.00034682036133017397, + -0.5079660029932856, + -0.7161228560261428, + -0.41106695767641066, + -0.7180858494855463, + -0.3930065343528986, + -0.7158253021121025, + -0.43914203009605407, + -0.7168896266222, + -0.09407012546062465, + -1.2874860653210445, + -0.17408913574218754, + -0.001973554491996765, + -0.709429707813263, + -0.6109878363609313, + -0.16301011209487914, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6588345624923706, + -0.35074032955169676, + -0.12010887455940245, + -0.0012235018730163416, + -0.4831454958856106, + -0.7578432049751282, + -0.4005000331997871, + -0.7217107752307659, + -0.37308507491350174, + -0.7606093155652285, + -0.38641987323760985, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.0888273763179781, + 1.1172733630652465, + 0.2808457560360431, + -0.0002945801234921497, + 0.9796338315457105, + 0.4171795751750469, + 0.3170011445522307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.3117895703554154, + 0.00018126516474876553, + 0.00030309055969124366, + 0.000028632073849399475, + 0.0002895187854766723, + 0.00010798151530322375, + 0.0008826640248298379, + 0.00007219264842572848, + 0.001360881042480444, + 0.00013528634309745158, + 1.1458640512943268, + -0.00027783659604163624, + 1.2385047981381414, + 1.7348896422088147, + 0.18065005381107335, + 0.614627125453949, + 0.694216549706459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.4432021089196205, + 0.1512626721620559, + 0.17926564176082604, + 0.000026741600036628288, + -0.00002473595589402855, + 0.00024811214208597665, + 0.004195320993661933, + -0.00017910952835265004, + 0.004062597829103454, + 0.0002905553966761065, + 0.01533390641212462, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007787835202179849, + 0.0004752471577376127, + -0.0004414436989463866, + -0.001414016354829073, + 0.0013652392663061619, + -0.00017888400179799646, + -0.0015178258763626218, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6531866788864136, + 0.28111645579338074, + 0.018650267273187637, + -0.00005974648956907913, + -0.0601251944899559, + -0.0887242928147316, + -0.053092923015356064, + -0.08864081650972366, + -0.04934830963611603, + -0.08861598372459412, + -0.048186045140028, + -0.0869021937251091, + -0.00015493706450797617, + -0.0017026631394401193, + 0.002548813121393323, + 0.00300780707038939, + -0.003767275018617511, + 0.0016496209427714348, + 0.004904294386506081, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.6519732475280762, + -0.26343226432800293, + 0.0008141772705130279, + 0.0005978844128549099, + -0.07443948835134506, + -0.11183939129114151, + -0.06535311043262482, + -0.10971058905124664, + -0.05751331150531769, + -0.11190853267908096, + -0.052590757608413696, + -0.11349154263734818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.03156838193535805, + 0.04225211963057518, + 0.021983617916703224, + 0.055804066359996796, + 0.027310846373438835, + 0.01656007580459118, + 0.03123629465699196, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.056290168315172195, + 0.1533438116312027, + 0.05616537109017372, + 0.0001719870779197663, + 0.1367076188325882, + 0.20637281239032745, + 0.11896534264087677, + 0.20616476237773895, + 0.11049602925777435, + 0.20604068040847778, + 0.11130741983652115, + 0.20963548123836517, + 0.04685088247060776, + 0.09096518158912659, + 0.04924608767032623, + 0.10160861164331436, + 0.05757398530840874, + 0.05817423388361931, + 0.06416540592908859, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06600471585988998, + 0.16580142080783844, + 0.04570968449115753, + 0.021479224786162376, + 0.1447719931602478, + 0.2241283804178238, + 0.12659254670143127, + 0.21889713406562805, + 0.11277542263269424, + 0.22405214607715607, + 0.116791270673275, + 0.22902773320674896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.09061183040142051, + -0.12404775338172913, + -0.0704024293661118, + -0.2184853252649307, + -0.06330916590690605, + -0.04272201628684996, + -0.06422994765043255, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.5703161955150513, + -0.1695621688306332, + -0.0015250724613666555, + -0.0003453201183583588, + -0.5081007151834667, + -0.7161228560261428, + -0.4112192991763354, + -0.7180858494855463, + -0.39313467007130387, + -0.7158253021121025, + -0.43934326486587527, + -0.7167883361458778, + -0.14155023992061622, + -0.38511696057319633, + -0.11559314941167831, + -0.28750722980499266, + -0.24779948472976687, + -0.16634117028713225, + -0.09492523908615103, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.65917573107481, + -0.35003675141334534, + -0.11971547834873197, + -0.0012235018730163416, + -0.48335779817700386, + -0.7578432049751282, + -0.400345036894083, + -0.7218900377564061, + -0.3732176400005818, + -0.7603991222307086, + -0.386447157740593, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.09489202313423162, + 0.1605967822551727, + 0.05606685764789576, + 0.17829083396196377, + 0.08422680478096012, + 0.03788482583761216, + 0.03299186817407607, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.31197279529273514, + 0.00017976492177695035, + 0.00016837836951022478, + 0.000028632073849399475, + 0.00028995392620556615, + 0.00010798151530322375, + 0.0004982568696141332, + 0.00007219264842572848, + 0.0011596462726592982, + 0.00015841935873028845, + 0.15761798739433286, + 0.2344477727532388, + 0.1723205381035804, + 0.43932262992858884, + 0.1318270815849305, + 0.22612803225517264, + 0.25317158517837535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.5372755635619164, + 0.1512626721620559, + 0.17887224555015568, + 0.000026741600036628288, + -0.00006495730280886569, + 0.00024811214208597665, + 0.003885328382253639, + -0.00017910952835265004, + 0.003930032742023526, + 0.0000803620621562251, + 0.015655354213714556, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats_meta.json new file mode 100644 index 0000000..18a2a87 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_real_s38_a38", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 3735, + "num_frames": 119501, + "estimated_total_batches": null, + "train_episodes": 139, + "train_bytes": 6479063622, + "elapsed_sec": 51.39154028892517, + "frames_per_sec": 2325.304891197284 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/unified_action_space.json new file mode 100644 index 0000000..710243d --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_real_s38_a38/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "b214ec84bd00be699f7085aa13f8ce94a5ec68921992fce7c0a2940630f38cc4" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats.json new file mode 100644 index 0000000..8f7426a --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2495279163122177, + 0.17678681015968323, + -0.9840797781944275, + -0.6926301717758179, + 1.2251882553100586, + 0.08307325094938278, + 0.08522151410579681, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34397265315055847, + -0.25304967164993286, + 0.9509468078613281, + 0.7654147744178772, + -1.22251558303833, + -0.13512815535068512, + -0.06612176448106766, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.26420679688453674, + 0.13415028154850006, + 0.47677046060562134, + 0.511353075504303, + 0.6439276337623596, + 0.20034494996070862, + 0.2428995817899704, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3252720534801483, + 0.1595543771982193, + 0.486541211605072, + 0.5197448134422302, + 0.6544333100318909, + 0.1909613460302353, + 0.23475730419158936, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0170531200945376, + 0.0, + -1.9335804850578309, + -1.6159020401239395, + -0.25997581577301027, + -0.4047948722839355, + -0.5596908693313598, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.08971182259917254, + -0.7222377280950547, + 0.0475586646986194, + 0.18000000715255737, + -2.268928050994873, + -0.6213911081552506, + -0.6453999876976013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11371559751033788, + 0.5683805625915528, + -0.04447098979949926, + -0.1803198071599008, + 2.268323050069809, + 0.5785365489721299, + 0.6123555083274841, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1841395626425744, + -0.0002228440999985093, + 2.0089757517626508, + 1.6936134419083595, + 0.35395139241218576, + 0.32321631383895877, + 0.5418778296709061, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014831935986876488, + 0.00015102946781553328, + -0.004482831805944443, + -0.0021639675833284855, + -0.005934550892561674, + 0.0005814277101308107, + -0.00021758537332061678, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.005549073684960604, + -0.0006271626916714013, + 0.011006377637386322, + 0.00345456856302917, + 0.01563883200287819, + -0.0009500636951997876, + 0.005533472169190645, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.07221410423517227, + 0.039718322455883026, + 0.10084698349237442, + 0.08547154814004898, + 0.1351594477891922, + 0.0650010034441948, + 0.07518996298313141, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0988258570432663, + 0.05644811689853668, + 0.13093487918376923, + 0.0978231281042099, + 0.16362877190113068, + 0.06877110153436661, + 0.09312713146209717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.21402704918384552, + -0.13221379663944244, + -0.42410457556247705, + -0.35352271614074704, + -0.5879369888305663, + -0.23091356999874113, + -0.27450559234619143, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42848923683166507, + -0.21466804106235504, + -0.3375219912767411, + -0.2965521077394486, + -0.4419407671213149, + -0.23360881233215336, + -0.27623119473457325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2823349166870117, + 0.14318757643699642, + 0.28834942476749426, + 0.26326848864555363, + 0.3942917404174806, + 0.23076029906272888, + 0.2654346179962157, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984188953399658, + 0.186484931564331, + 0.5955430841207503, + 0.3762691063404082, + 0.7537251217126846, + 0.2303286559104918, + 0.3970500724315644, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..4499b07 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_xsens_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 103821, + "num_frames": 3322263, + "estimated_total_batches": null, + "train_episodes": 5775, + "train_bytes": 286470910041, + "elapsed_sec": 845.7928259372711, + "frames_per_sec": 3927.986734007127 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/unified_action_space.json new file mode 100644 index 0000000..afc0e4f --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_tienkung_xsens_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "f93c8bfa8b83fa2fe49ad228c9db87bc4dd52e69118c7113e7db614a87543653" +} diff --git a/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats.json b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats.json new file mode 100644 index 0000000..3128de2 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.695399284362793, + -1.8317350149154663, + -1.590991497039795, + -1.160853624343872, + 1.3332312107086182, + 1.140396237373352, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2627898156642914, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5578770637512207, + 0.2017889767885208, + 0.21438661217689514, + 0.2472410500049591, + 0.4078080952167511, + 0.5581804513931274, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.306593120098114, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.819643810081482, + -2.436006836152077, + -2.2742806310653685, + -1.6289931789040566, + 0.1827675726890564, + 0.06774346570968626, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.018836079356074332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 4.076547850751877, + -1.423432668375969, + -1.087432373046875, + -0.6889212518930434, + 2.1168328925490383, + 2.24854149518013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9015686275437474, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.19636471569538116, + -0.0574476420879364, + 0.013684072531759739, + 0.09973897784948349, + -0.03993012756109238, + -0.14549808204174042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3047395348548889, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5691956281661987, + 0.24521367251873016, + 0.22722239792346954, + 0.256473571062088, + 0.4543776214122772, + 0.5897438526153564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37293967604637146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.8262648647785187, + -0.6060506603240967, + -0.6010523344516754, + -0.47804851830005646, + -1.4664543380737305, + -1.7500526297569277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6849125693798066, + 0.605481555557251, + 0.5930862262487411, + 0.7191051467657088, + 1.1790077186584473, + 1.1551714324951172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats_meta.json b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats_meta.json new file mode 100644 index 0000000..34a61b6 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_ur5e_s7_a7", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 118080, + "num_frames": 3778539, + "estimated_total_batches": null, + "train_episodes": 25061, + "train_bytes": 185868082632, + "elapsed_sec": 956.0188310146332, + "frames_per_sec": 3952.3688000892153 +} \ No newline at end of file diff --git a/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/unified_action_space.json b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/unified_action_space.json new file mode 100644 index 0000000..eee1142 --- /dev/null +++ b/assets/cotrain_full_all_full_norm/robomind_ur5e_s7_a7/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "6e093b089d4d4b4b7aa30decfa7266d28c6c842db12723952347da59fbb2cae4" +} diff --git a/assets/cotrain_real_only/piper2/norm_stats.json b/assets/cotrain_real_only/piper2/norm_stats.json new file mode 100644 index 0000000..f4b690f --- /dev/null +++ b/assets/cotrain_real_only/piper2/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.08570596575737, + 0.9424582123756409, + -0.5610473155975342, + -0.018378613516688347, + 0.15650981664657593, + -0.04922034963965416, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008945055305957794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22233717143535614, + 1.3927223682403564, + -0.8957882523536682, + 0.17042388021945953, + 0.3040333390235901, + -0.07112878561019897, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350892148911953, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1714383214712143, + 0.7361369132995605, + 0.5368331670761108, + 0.3496498763561249, + 0.4911200702190399, + 0.28332507610321045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.02536850981414318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2436714768409729, + 0.651149570941925, + 0.6894615888595581, + 0.3136552572250366, + 0.6569122076034546, + 0.2134801149368286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030022503808140755, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4991710331201553, + 0.0054144344157539305, + -1.7947804824004416, + -1.1790875864982606, + -0.9716636402130128, + -0.539963323020935, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2646023983061313, + 0.08680244942149147, + -2.2326956740360706, + -0.39387080802917473, + -0.9721601041316986, + -0.6741397899150849, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.38600136826038356, + 2.2529563539030497, + -0.002522718032682114, + 0.6737772881984712, + 1.2084734504699708, + 0.8707268574714662, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7167606556713582, + 2.391043433867162, + 0.00008864541053776875, + 1.1195562719345094, + 1.2258558490276337, + 0.3745928731918333, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010017158929258585, + 0.0017170342616736889, + -0.0017244319897145033, + -0.005731134209781885, + 0.002714053960517049, + 0.002033872064203024, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008943209424614906, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0010065166279673576, + 0.0033344815019518137, + -0.00027303790557198226, + 0.0020667631179094315, + 0.001737685059197247, + -0.0029692337848246098, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350709330290556, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08381801843643188, + 0.31304702162742615, + 0.23983915150165558, + 0.10776226967573166, + 0.18366022408008575, + 0.09571901708841324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025366676971316338, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1489294171333313, + 0.33599135279655457, + 0.27681979537010193, + 0.1537630707025528, + 0.19053618609905243, + 0.09432122856378555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030021704733371735, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3243094861030579, + -0.9993304105758667, + -0.7881305526733398, + -0.4524798871994018, + -0.6921295278072357, + -0.2691142694234848, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5554006125926971, + -1.084025181722641, + -0.9235458539009094, + -0.5143094916582107, + -0.686023402261734, + -0.3556695580482483, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3279062141418456, + 1.0899867341041567, + 0.9700191698074341, + 0.33629278821945197, + 0.6258798820972444, + 0.406562376332283, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4854212229251862, + 1.2325074484825134, + 0.9927912852764131, + 0.5601088427543641, + 0.6361501549243929, + 0.30015870928764343, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_only/piper2/norm_stats_meta.json b/assets/cotrain_real_only/piper2/norm_stats_meta.json new file mode 100644 index 0000000..c3f6eff --- /dev/null +++ b/assets/cotrain_real_only/piper2/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 +} \ No newline at end of file diff --git a/assets/cotrain_real_only/piper2/unified_action_space.json b/assets/cotrain_real_only/piper2/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_only/piper2/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_only/piper30/norm_stats.json b/assets/cotrain_real_only/piper30/norm_stats.json new file mode 100644 index 0000000..7e4b702 --- /dev/null +++ b/assets/cotrain_real_only/piper30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.08737307041883469, + 1.0953994989395142, + -0.821331262588501, + 0.15251709520816803, + 0.4993223249912262, + -0.08671002835035324, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.016357315704226494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.051994405686855316, + 0.6898560523986816, + -0.4541918933391571, + -0.24467997252941132, + 0.26987171173095703, + 0.18143217265605927, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007753136567771435, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2868099808692932, + 0.8798884749412537, + 0.7222753167152405, + 0.7446919679641724, + 0.5128063559532166, + 0.629437267780304, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03423196077346802, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18338783085346222, + 0.8041480183601379, + 0.5695235729217529, + 0.677094042301178, + 0.45993149280548096, + 0.5101659893989563, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025858882814645767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.48970193145275115, + -0.00043919531644787645, + -2.29064900592342, + -1.597105912566185, + -0.2944919108390809, + -1.6354926676750183, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.45787846466302873, + -0.005599666852504015, + -1.818879740881827, + -1.7327060890197754, + -0.7119369508743285, + -0.9796926288843155, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.890928191637993, + 2.508617184537439, + 0.0021993396155535194, + 1.7347798178911207, + 1.2541333590745922, + 1.6585437088012696, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5623895115494728, + 2.186986375693791, + 0.00564035423500453, + 1.408437099456787, + 1.2125430245399476, + 1.5564807460308074, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001188037102110684, + -0.0033542870078235865, + 0.004400196485221386, + -0.0028323382139205933, + -0.0015195368323475122, + 0.002721932251006365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.017288101837038994, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00031630470766685903, + 0.00013673616922460496, + -0.0002151419030269608, + -0.0006771574262529612, + 0.0002553860249463469, + -0.00034903758205473423, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008260202594101429, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13685013353824615, + 0.4660901427268982, + 0.3690923750400543, + 0.3494621515274048, + 0.28257957100868225, + 0.31252312660217285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03510034456849098, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08642010390758514, + 0.30906790494918823, + 0.224879652261734, + 0.20891116559505463, + 0.18015824258327484, + 0.202719584107399, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.026628535240888596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.5632874671697616, + -1.625787436580658, + -1.1869233741760252, + -1.3135088970661164, + -1.0423710818052292, + -1.049885765504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3428865031480789, + -1.169913307905197, + -0.913574746274948, + -0.7581958461761471, + -0.6523888399124145, + -0.7960410856246949, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.41478261446952813, + 1.6800629229068758, + 1.425927872848511, + 1.3184264080047603, + 1.0416255737543105, + 1.189476832151413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32284709212780016, + 1.305864639520645, + 0.9142873680591586, + 0.8233775739669804, + 0.7752770959854125, + 0.6917715557098387, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_only/piper30/norm_stats_meta.json b/assets/cotrain_real_only/piper30/norm_stats_meta.json new file mode 100644 index 0000000..7fcf00e --- /dev/null +++ b/assets/cotrain_real_only/piper30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 +} \ No newline at end of file diff --git a/assets/cotrain_real_only/piper30/unified_action_space.json b/assets/cotrain_real_only/piper30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_only/piper30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/agibot/norm_stats.json b/assets/cotrain_real_robot/agibot/norm_stats.json new file mode 100644 index 0000000..3b0685f --- /dev/null +++ b/assets/cotrain_real_robot/agibot/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.9210807681083679, + 0.5359001755714417, + 0.6545957326889038, + -0.7835156917572021, + 0.49938780069351196, + 1.1667169332504272, + 0.18891742825508118, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 68.11420440673828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9076082110404968, + -0.46920207142829895, + -0.6356353163719177, + 0.7388717532157898, + -0.563096821308136, + -1.190690040588379, + -0.2128467708826065, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 62.9249153137207, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158376656472683, + 0.43660369515419006, + 0.46915775537490845, + 0.28688758611679077, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.1222560405731201, + 0.7990611791610718, + 0.9331700801849365, + 0.4298188388347626, + 0.5488388538360596, + 0.4325656592845917, + 0.7940273284912109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 38.27954864501953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0739389657974243, + 0.7449344992637634, + 0.9927517175674438, + 0.43602320551872253, + 0.58744877576828, + 0.409100741147995, + 0.741567075252533, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 36.552215576171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.044218555092811584, + 0.09825704991817474, + 0.14466187357902527, + 0.10195881873369217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.3409746315956115, + -1.636828637123108, + -1.6977303141593931, + -1.4809685335159302, + -0.8208179449558255, + -0.6260671993255615, + -2.3568282432556154, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.4988072265625, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9538713235855103, + -1.5447361523151397, + -2.1905040143489836, + -0.29421191997528084, + -2.4507909409999846, + -1.73033405251503, + -2.070129588508606, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.645408143234256, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.9056857607841486, + 1.5327249885797505, + 2.1687543660163886, + 0.024525047016143775, + 1.6984838352680205, + 1.7286521408081055, + 1.8420831871032712, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 122.81813722076416, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.2422985345840454, + 1.4218171607971195, + 1.6568048201084142, + 1.475336287808418, + 0.9665897595882411, + 0.12981792721748353, + 2.1170754617691045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 121.32148989295959, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0007903198711574078, + 0.00011111732601420954, + 0.003278969321399927, + 0.0018502098973840475, + -0.0018388478783890605, + -0.0026262151077389717, + 0.0018169175600633025, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.42531853914260864, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0017990715568885207, + 0.00021451868815347552, + -0.005517459008842707, + -0.0024181653279811144, + 0.002791187958791852, + 0.002916863653808832, + -0.0025791008956730366, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3584616482257843, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158386901021004, + 0.43660271167755127, + 0.4691601097583771, + 0.28689104318618774, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.06166767701506615, + 0.06289893388748169, + 0.054367028176784515, + 0.06547970324754715, + 0.0702083557844162, + 0.07014007121324539, + 0.09278079867362976, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4933164119720459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06577219814062119, + 0.07637953013181686, + 0.06400372833013535, + 0.0757603719830513, + 0.07687703520059586, + 0.07965576648712158, + 0.10504146665334702, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.477949857711792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04421856254339218, + 0.09826167672872543, + 0.14465774595737457, + 0.10195144265890121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2101372690677643, + -0.2321174460649491, + -0.17257755661010732, + -0.20412157559394828, + -0.2611778012275696, + -0.27466095159053805, + -0.31812099928855897, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21728988885879508, + -0.24020811669826514, + -0.24614887866973878, + -0.2764002819538116, + -0.24440300831794737, + -0.2453194079399108, + -0.3429291203022, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20963992025852196, + 0.1999978750944138, + 0.2047261504173281, + 0.24245942616462712, + 0.22355237565040564, + 0.21409198014736175, + 0.31090978384017953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22425809392929086, + 0.27321109790802, + 0.18851629810333237, + 0.22489868850708006, + 0.27490250425338747, + 0.2988687011241915, + 0.3503418828487397, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/agibot/norm_stats_meta.json b/assets/cotrain_real_robot/agibot/norm_stats_meta.json new file mode 100644 index 0000000..dbd5f23 --- /dev/null +++ b/assets/cotrain_real_robot/agibot/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "agibot", + "builder_dir": "/mnt/bos/bo23lu/AgiBot/agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986/agibot_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1059832, + "num_frames": 33914594, + "estimated_total_batches": null, + "train_episodes": 21837, + "train_bytes": 7547826566949, + "elapsed_sec": 9102.592523097992, + "frames_per_sec": 3725.8170036658357 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/agibot/unified_action_space.json b/assets/cotrain_real_robot/agibot/unified_action_space.json new file mode 100644 index 0000000..cf12aa9 --- /dev/null +++ b/assets/cotrain_real_robot/agibot/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "5e45fd3b2852b2a3e91da045db1d52fa4b8cd7429974403773734c355b6a795c" +} diff --git a/assets/cotrain_real_robot/droid/norm_stats.json b/assets/cotrain_real_robot/droid/norm_stats.json new file mode 100644 index 0000000..c9937ea --- /dev/null +++ b/assets/cotrain_real_robot/droid/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.014264719560742378, + 0.23982040584087372, + -0.014591705054044724, + -2.0273144245147705, + -0.03576287254691124, + 2.323211669921875, + 0.0828426331281662, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3599560260772705, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32424554228782654, + 0.5158682465553284, + 0.28870725631713867, + 0.5025275349617004, + 0.5316236019134521, + 0.46866557002067566, + 0.7423588037490845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4027109742164612, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9240023367881773, + -0.8884155247688293, + -0.932663969230652, + -2.7749946952819826, + -1.845044603061676, + 1.1692317866563797, + -2.0730253297805787, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.982635237503052, + 1.4446059867143632, + 0.8277577193260188, + -0.44634648761749274, + 1.7120736752033237, + 3.5038524341106414, + 2.212446826171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0009084727498702705, + 0.04833802580833435, + -0.0012050201185047626, + 0.03542366996407509, + -0.0021518415305763483, + 0.019638868048787117, + 0.006257439497858286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.40670886635780334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17263764142990112, + 0.32643333077430725, + 0.16556227207183838, + 0.29040563106536865, + 0.2672358453273773, + 0.28381240367889404, + 0.3206557035446167, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.43752798438072205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5209945830345153, + -0.7863647277832031, + -0.5066786664962768, + -0.82759104347229, + -0.8665996181488036, + -0.7820417912006377, + -0.9812896099090573, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5199369877338409, + 1.044959797668457, + 0.4928590750694273, + 0.9082127244472509, + 0.8440616558074954, + 0.8804159455299381, + 0.9947045337677007, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/droid/norm_stats_meta.json b/assets/cotrain_real_robot/droid/norm_stats_meta.json new file mode 100644 index 0000000..3eaccb2 --- /dev/null +++ b/assets/cotrain_real_robot/droid/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "droid", + "builder_dir": "/mnt/bos/bo23lu/DROID/droid_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 578829, + "num_frames": 18522518, + "estimated_total_batches": null, + "train_episodes": 64124, + "train_bytes": 1185946441420, + "elapsed_sec": 4512.591522216797, + "frames_per_sec": 4104.629880371018 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/droid/unified_action_space.json b/assets/cotrain_real_robot/droid/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/droid/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/full_norm_run_meta.json b/assets/cotrain_real_robot/full_norm_run_meta.json new file mode 100644 index 0000000..ebae671 --- /dev/null +++ b/assets/cotrain_real_robot/full_norm_run_meta.json @@ -0,0 +1,527 @@ +{ + "config_name": "cotrain_real_robot", + "output_assets_dir": "/data/wudi/Atom-0/assets/cotrain_real_robot", + "dataset_id": null, + "skip_dataset_ids": [], + "copy_from_assets_name": null, + "datasets": [ + { + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "agibot", + "builder_dir": "/mnt/bos/bo23lu/AgiBot/agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986/agibot_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1059832, + "num_frames": 33914594, + "estimated_total_batches": null, + "train_episodes": 21837, + "train_bytes": 7547826566949, + "elapsed_sec": 9102.592523097992, + "frames_per_sec": 3725.8170036658357 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "droid", + "builder_dir": "/mnt/bos/bo23lu/DROID/droid_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 578829, + "num_frames": 18522518, + "estimated_total_batches": null, + "train_episodes": 64124, + "train_bytes": 1185946441420, + "elapsed_sec": 4512.591522216797, + "frames_per_sec": 4104.629880371018 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_cobot_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Agilex_Cobot_Magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_8284/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 187608, + "num_frames": 6003434, + "estimated_total_batches": null, + "train_episodes": 7870, + "train_bytes": 690618678004, + "elapsed_sec": 1551.8257114887238, + "frames_per_sec": 3868.6264543462707 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_airbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Airbot_MMK2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10532/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 81017, + "num_frames": 2592540, + "estimated_total_batches": null, + "train_episodes": 10005, + "train_bytes": 431087330611, + "elapsed_sec": 690.6267569065094, + "frames_per_sec": 3753.8945227269173 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_upper_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Galaxea_R1_Lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_3650/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 27171, + "num_frames": 869469, + "estimated_total_batches": null, + "train_episodes": 1337, + "train_bytes": 205435325084, + "elapsed_sec": 271.46593260765076, + "frames_per_sec": 3202.8659789758667 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aida_l_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Realman_RMC-AIDA-L_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_693/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9936, + "num_frames": 317940, + "estimated_total_batches": null, + "train_episodes": 658, + "train_bytes": 36471840854, + "elapsed_sec": 89.87298893928528, + "frames_per_sec": 3537.6591315416026 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_7778/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 142767, + "num_frames": 4568537, + "estimated_total_batches": null, + "train_episodes": 7389, + "train_bytes": 1807557839316, + "elapsed_sec": 1851.0555272102356, + "frames_per_sec": 2468.0712884314917 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps50_cam_high_cam_left_wrist_cam_right_wrist__episodes_3397/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 54108, + "num_frames": 1731438, + "estimated_total_batches": null, + "train_episodes": 3227, + "train_bytes": 264209590712, + "elapsed_sec": 452.58451652526855, + "frames_per_sec": 3825.667774260525 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_23712/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 413112, + "num_frames": 13219572, + "estimated_total_batches": null, + "train_episodes": 18406, + "train_bytes": 1649570846072, + "elapsed_sec": 3489.1643438339233, + "frames_per_sec": 3788.750169753891 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_aloha_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/aloha_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_4879/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 198055, + "num_frames": 6337741, + "estimated_total_batches": null, + "train_episodes": 4634, + "train_bytes": 962548578236, + "elapsed_sec": 1664.1732065677643, + "frames_per_sec": 3808.3421695456377 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_alpha_bot_2_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/alpha_bot_2_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_857/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 22703, + "num_frames": 726485, + "estimated_total_batches": null, + "train_episodes": 814, + "train_bytes": 109263908150, + "elapsed_sec": 205.29979014396667, + "frames_per_sec": 3538.6543721771545 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_discover_aitbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/discover_robotics_aitbot_mmk2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5747/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 36260, + "num_frames": 1160293, + "estimated_total_batches": null, + "train_episodes": 5460, + "train_bytes": 194302774076, + "elapsed_sec": 348.6094217300415, + "frames_per_sec": 3328.34664720713 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5167/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 245253, + "num_frames": 7848088, + "estimated_total_batches": null, + "train_episodes": 4886, + "train_bytes": 3346209600799, + "elapsed_sec": 3871.8957114219666, + "frames_per_sec": 2026.9368249894735 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s16_a18", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s16_a18_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_970/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9866, + "num_frames": 315700, + "estimated_total_batches": null, + "train_episodes": 922, + "train_bytes": 100400838947, + "elapsed_sec": 127.63867783546448, + "frames_per_sec": 2473.388202962743 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s118_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s118_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_17897/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 458510, + "num_frames": 14672292, + "estimated_total_batches": null, + "train_episodes": 17002, + "train_bytes": 4898931416952, + "elapsed_sec": 5203.681373596191, + "frames_per_sec": 2819.598462436255 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s54_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s54_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_394/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2062, + "num_frames": 65982, + "estimated_total_batches": null, + "train_episodes": 374, + "train_bytes": 22504353358, + "elapsed_sec": 31.398486614227295, + "frames_per_sec": 2101.4388626648715 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aidal_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/realman_rmc_aidal_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_18412/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 492790, + "num_frames": 15769266, + "estimated_total_batches": null, + "train_episodes": 17481, + "train_bytes": 1684550435506, + "elapsed_sec": 4069.850043296814, + "frames_per_sec": 3874.655290057317 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s17_a17", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s17_a17_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_1719/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 32248, + "num_frames": 1031909, + "estimated_total_batches": null, + "train_episodes": 1633, + "train_bytes": 232098850893, + "elapsed_sec": 277.61806178092957, + "frames_per_sec": 3717.009597215209 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s41_a34", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s41_a34_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_6459/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 85004, + "num_frames": 2720116, + "estimated_total_batches": null, + "train_episodes": 6136, + "train_bytes": 1133795856617, + "elapsed_sec": 1135.4377226829529, + "frames_per_sec": 2395.654068611155 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high__episodes_227/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2287, + "num_frames": 73184, + "estimated_total_batches": null, + "train_episodes": 216, + "train_bytes": 3159483310, + "elapsed_sec": 28.13194966316223, + "frames_per_sec": 2601.4549605081866 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_931/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 19765, + "num_frames": 632462, + "estimated_total_batches": null, + "train_episodes": 884, + "train_bytes": 137723586828, + "elapsed_sec": 202.07107949256897, + "frames_per_sec": 3129.898655404859 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unknown_s30_a30_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unknown_s30_a30_fps30_cam_high__episodes_891/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 8154, + "num_frames": 260914, + "estimated_total_batches": null, + "train_episodes": 846, + "train_bytes": 20178322671, + "elapsed_sec": 82.17656183242798, + "frames_per_sec": 3175.041571245681 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_yinhe_s49_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/yinhe_s49_a16_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5452/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 153600, + "num_frames": 4915186, + "estimated_total_batches": null, + "train_episodes": 5179, + "train_bytes": 711128217385, + "elapsed_sec": 1323.132462978363, + "frames_per_sec": 3714.810223109443 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_agilex_cobot_magic_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 196965, + "num_frames": 6302870, + "estimated_total_batches": null, + "train_episodes": 9855, + "train_bytes": 1015824843385, + "elapsed_sec": 1625.2714269161224, + "frames_per_sec": 3878.0414739459275 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_fr3_dual_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 11198, + "num_frames": 358321, + "estimated_total_batches": null, + "train_episodes": 1685, + "train_bytes": 186172127608, + "elapsed_sec": 205.53938150405884, + "frames_per_sec": 1743.3204156689756 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_panda_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 57958, + "num_frames": 1854642, + "estimated_total_batches": null, + "train_episodes": 14956, + "train_bytes": 282424151738, + "elapsed_sec": 465.4217314720154, + "frames_per_sec": 3984.8633499218436 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_franka_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 48250, + "num_frames": 1543972, + "estimated_total_batches": null, + "train_episodes": 8445, + "train_bytes": 675920469639, + "elapsed_sec": 665.9570224285126, + "frames_per_sec": 2318.4258863577616 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 53134, + "num_frames": 1700279, + "estimated_total_batches": null, + "train_episodes": 8662, + "train_bytes": 465501426716, + "elapsed_sec": 452.24869179725647, + "frames_per_sec": 3759.6106541359254 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_no_front_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1067, + "num_frames": 34125, + "estimated_total_batches": null, + "train_episodes": 150, + "train_bytes": 7133719955, + "elapsed_sec": 11.634025812149048, + "frames_per_sec": 2933.2064885367827 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_none_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1107, + "num_frames": 35418, + "estimated_total_batches": null, + "train_episodes": 211, + "train_bytes": 6706236456, + "elapsed_sec": 11.181196451187134, + "frames_per_sec": 3167.6395414946483 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 102313, + "num_frames": 3274013, + "estimated_total_batches": null, + "train_episodes": 5402, + "train_bytes": 214477074867, + "elapsed_sec": 861.7713775634766, + "frames_per_sec": 3799.1665599950165 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_prod1_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 50624, + "num_frames": 1619947, + "estimated_total_batches": null, + "train_episodes": 2811, + "train_bytes": 247276602528, + "elapsed_sec": 426.9908273220062, + "frames_per_sec": 3793.868383918118 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_xsens_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 103821, + "num_frames": 3322263, + "estimated_total_batches": null, + "train_episodes": 5775, + "train_bytes": 286470910041, + "elapsed_sec": 845.7928259372711, + "frames_per_sec": 3927.986734007127 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_real_s38_a38", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 3735, + "num_frames": 119501, + "estimated_total_batches": null, + "train_episodes": 139, + "train_bytes": 6479063622, + "elapsed_sec": 51.39154028892517, + "frames_per_sec": 2325.304891197284 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_ur5e_s7_a7", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 118080, + "num_frames": 3778539, + "estimated_total_batches": null, + "train_episodes": 25061, + "train_bytes": 185868082632, + "elapsed_sec": 956.0188310146332, + "frames_per_sec": 3952.3688000892153 + } + ] +} diff --git a/assets/cotrain_real_robot/piper2/norm_stats.json b/assets/cotrain_real_robot/piper2/norm_stats.json new file mode 100644 index 0000000..f4b690f --- /dev/null +++ b/assets/cotrain_real_robot/piper2/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.08570596575737, + 0.9424582123756409, + -0.5610473155975342, + -0.018378613516688347, + 0.15650981664657593, + -0.04922034963965416, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008945055305957794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22233717143535614, + 1.3927223682403564, + -0.8957882523536682, + 0.17042388021945953, + 0.3040333390235901, + -0.07112878561019897, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350892148911953, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1714383214712143, + 0.7361369132995605, + 0.5368331670761108, + 0.3496498763561249, + 0.4911200702190399, + 0.28332507610321045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.02536850981414318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2436714768409729, + 0.651149570941925, + 0.6894615888595581, + 0.3136552572250366, + 0.6569122076034546, + 0.2134801149368286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030022503808140755, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4991710331201553, + 0.0054144344157539305, + -1.7947804824004416, + -1.1790875864982606, + -0.9716636402130128, + -0.539963323020935, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2646023983061313, + 0.08680244942149147, + -2.2326956740360706, + -0.39387080802917473, + -0.9721601041316986, + -0.6741397899150849, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.38600136826038356, + 2.2529563539030497, + -0.002522718032682114, + 0.6737772881984712, + 1.2084734504699708, + 0.8707268574714662, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7167606556713582, + 2.391043433867162, + 0.00008864541053776875, + 1.1195562719345094, + 1.2258558490276337, + 0.3745928731918333, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010017158929258585, + 0.0017170342616736889, + -0.0017244319897145033, + -0.005731134209781885, + 0.002714053960517049, + 0.002033872064203024, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008943209424614906, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0010065166279673576, + 0.0033344815019518137, + -0.00027303790557198226, + 0.0020667631179094315, + 0.001737685059197247, + -0.0029692337848246098, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350709330290556, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08381801843643188, + 0.31304702162742615, + 0.23983915150165558, + 0.10776226967573166, + 0.18366022408008575, + 0.09571901708841324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025366676971316338, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1489294171333313, + 0.33599135279655457, + 0.27681979537010193, + 0.1537630707025528, + 0.19053618609905243, + 0.09432122856378555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030021704733371735, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3243094861030579, + -0.9993304105758667, + -0.7881305526733398, + -0.4524798871994018, + -0.6921295278072357, + -0.2691142694234848, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5554006125926971, + -1.084025181722641, + -0.9235458539009094, + -0.5143094916582107, + -0.686023402261734, + -0.3556695580482483, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3279062141418456, + 1.0899867341041567, + 0.9700191698074341, + 0.33629278821945197, + 0.6258798820972444, + 0.406562376332283, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4854212229251862, + 1.2325074484825134, + 0.9927912852764131, + 0.5601088427543641, + 0.6361501549243929, + 0.30015870928764343, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/piper2/norm_stats_meta.json b/assets/cotrain_real_robot/piper2/norm_stats_meta.json new file mode 100644 index 0000000..c3f6eff --- /dev/null +++ b/assets/cotrain_real_robot/piper2/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/piper2/unified_action_space.json b/assets/cotrain_real_robot/piper2/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/piper2/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/piper30/norm_stats.json b/assets/cotrain_real_robot/piper30/norm_stats.json new file mode 100644 index 0000000..7e4b702 --- /dev/null +++ b/assets/cotrain_real_robot/piper30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.08737307041883469, + 1.0953994989395142, + -0.821331262588501, + 0.15251709520816803, + 0.4993223249912262, + -0.08671002835035324, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.016357315704226494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.051994405686855316, + 0.6898560523986816, + -0.4541918933391571, + -0.24467997252941132, + 0.26987171173095703, + 0.18143217265605927, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007753136567771435, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2868099808692932, + 0.8798884749412537, + 0.7222753167152405, + 0.7446919679641724, + 0.5128063559532166, + 0.629437267780304, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03423196077346802, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18338783085346222, + 0.8041480183601379, + 0.5695235729217529, + 0.677094042301178, + 0.45993149280548096, + 0.5101659893989563, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025858882814645767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.48970193145275115, + -0.00043919531644787645, + -2.29064900592342, + -1.597105912566185, + -0.2944919108390809, + -1.6354926676750183, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.45787846466302873, + -0.005599666852504015, + -1.818879740881827, + -1.7327060890197754, + -0.7119369508743285, + -0.9796926288843155, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.890928191637993, + 2.508617184537439, + 0.0021993396155535194, + 1.7347798178911207, + 1.2541333590745922, + 1.6585437088012696, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5623895115494728, + 2.186986375693791, + 0.00564035423500453, + 1.408437099456787, + 1.2125430245399476, + 1.5564807460308074, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001188037102110684, + -0.0033542870078235865, + 0.004400196485221386, + -0.0028323382139205933, + -0.0015195368323475122, + 0.002721932251006365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.017288101837038994, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00031630470766685903, + 0.00013673616922460496, + -0.0002151419030269608, + -0.0006771574262529612, + 0.0002553860249463469, + -0.00034903758205473423, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008260202594101429, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13685013353824615, + 0.4660901427268982, + 0.3690923750400543, + 0.3494621515274048, + 0.28257957100868225, + 0.31252312660217285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03510034456849098, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08642010390758514, + 0.30906790494918823, + 0.224879652261734, + 0.20891116559505463, + 0.18015824258327484, + 0.202719584107399, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.026628535240888596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.5632874671697616, + -1.625787436580658, + -1.1869233741760252, + -1.3135088970661164, + -1.0423710818052292, + -1.049885765504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3428865031480789, + -1.169913307905197, + -0.913574746274948, + -0.7581958461761471, + -0.6523888399124145, + -0.7960410856246949, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.41478261446952813, + 1.6800629229068758, + 1.425927872848511, + 1.3184264080047603, + 1.0416255737543105, + 1.189476832151413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32284709212780016, + 1.305864639520645, + 0.9142873680591586, + 0.8233775739669804, + 0.7752770959854125, + 0.6917715557098387, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/piper30/norm_stats_meta.json b/assets/cotrain_real_robot/piper30/norm_stats_meta.json new file mode 100644 index 0000000..7fcf00e --- /dev/null +++ b/assets/cotrain_real_robot/piper30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/piper30/unified_action_space.json b/assets/cotrain_real_robot/piper30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/piper30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json new file mode 100644 index 0000000..6693060 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.19811221957206726, + 0.772533118724823, + -0.8077450394630432, + -0.028649263083934784, + 0.8329925537109375, + 0.1338183581829071, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6504519581794739, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.213411346077919, + 0.936856210231781, + -0.8555614352226257, + 0.052240047603845596, + 0.8344802260398865, + -0.13020701706409454, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6270856261253357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.28874093294143677, + 0.9208551049232483, + 0.47005847096443176, + 0.3561064600944519, + 0.4977680742740631, + 0.4375063478946686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40372464060783386, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.29861217737197876, + 0.9481472373008728, + 0.46235257387161255, + 0.424010694026947, + 0.45311257243156433, + 0.437126100063324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40041401982307434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0729224056005477, + -0.01197078370004892, + -2.2129377588272092, + -1.6497411670684814, + -1.1689142931699754, + -0.6284993870735169, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14700397849082947, + -0.01449557845443487, + -2.117433346748352, + -1.4916880182743073, + -1.008069571685791, + -1.5053448512077332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.1663727890253066, + 2.4838475979313257, + -0.36945127830505387, + 1.2129275941848756, + 1.2130273148536679, + 2.074979570531845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0338315951824188, + 2.445226298929751, + -0.36191145629882815, + 1.535950502681732, + 1.217853112411499, + 0.877599804019928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00009146828961092979, + -0.0016088075935840607, + 0.0007087555713951588, + -0.000026479769076104276, + 0.00020575610687956214, + 0.00001443375185772311, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6503733396530151, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0000202807059395127, + -0.0018799782264977694, + 0.0007903146906755865, + -0.00026286765933036804, + 0.0001462479995097965, + 0.00015752519539091736, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6271259188652039, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.12023629993200302, + 0.322498619556427, + 0.1985558718442917, + 0.14494362473487854, + 0.19618654251098633, + 0.1817934215068817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4035850465297699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13321657478809357, + 0.34202784299850464, + 0.2128268927335739, + 0.15731655061244965, + 0.1797640025615692, + 0.19996008276939392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40015628933906555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4558506237030029, + -1.2673018789291381, + -0.63129927778244, + -0.4630223393440245, + -0.5986795719146729, + -0.6356411955833434, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5149496856689453, + -1.3162814127922058, + -0.6802423383712766, + -0.5557396152496339, + -0.549421439886093, + -0.7112965393543245, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4595871042251587, + 1.1543425884246825, + 0.8348300868988039, + 0.4428232517242434, + 0.6962429767608644, + 0.6384128303527827, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49019248924255354, + 1.2172323634624478, + 0.8798893958568579, + 0.5399059474945069, + 0.6080126795768739, + 0.7685098371028896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..f32d261 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_cobot_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Agilex_Cobot_Magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_8284/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 187608, + "num_frames": 6003434, + "estimated_total_batches": null, + "train_episodes": 7870, + "train_bytes": 690618678004, + "elapsed_sec": 1551.8257114887238, + "frames_per_sec": 3868.6264543462707 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json new file mode 100644 index 0000000..ed9f81b --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9fbd0a367f6d113a176cae2124ffec508f6202dee702a6b29236e6e8f60d0775" +} diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json new file mode 100644 index 0000000..8c2d277 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.17712397873401642, + 0.810139000415802, + -0.6855402588844299, + -0.11222872883081436, + 0.6206351518630981, + -0.015597881749272346, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.12833420932292938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.20979192852973938, + 0.7679632306098938, + -0.6718887686729431, + 0.12151588499546051, + 0.6151161789894104, + -0.0631631389260292, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1681675761938095, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2495959997177124, + 0.8154167532920837, + 0.6811779141426086, + 0.31063228845596313, + 0.35135722160339355, + 0.36757487058639526, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16275501251220703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2519766390323639, + 0.8133144378662109, + 3.9310410022735596, + 0.27127107977867126, + 3.887181282043457, + 0.3052545189857483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16318519413471222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.8187637863636017, + -0.02233026457130909, + -2.2677624532647433, + -1.1966205580234528, + -0.281935452222824, + -0.8411327709198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.20716872844696044, + -0.017633342403545978, + -2.928503234863282, + -0.45736086540222165, + -0.40014072451591487, + -1.0153934538841247, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.28984460719823835, + 2.3611703608632086, + 0.030060533820092772, + 0.5438134195804598, + 1.2402318687438965, + 1.1925266407012938, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8714975715160369, + 2.347538023441285, + -0.006531738281250199, + 0.9904942384719853, + 1.255498284292221, + 0.6571380303382872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.000010739619938249234, + -0.00011467040894785896, + 0.00014792964793741703, + 0.0007788547081872821, + 0.0009138808236457407, + 0.0005021721590310335, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1263725459575653, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00003737088627531193, + -9.091671017813496e-6, + 0.000014992138858360704, + -0.0002670294779818505, + -0.000504948606248945, + -0.0003584008663892746, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16686192154884338, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13647353649139404, + 0.3363063931465149, + 0.29653409123420715, + 0.17680639028549194, + 0.2150084674358368, + 0.16584904491901398, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16264137625694275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1296338587999344, + 0.3418736457824707, + 4.995156764984131, + 0.17120759189128876, + 4.817986965179443, + 0.17061470448970795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16310515999794006, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.46183118805885304, + -1.1268640749931336, + -0.9779461513519287, + -0.6261398021697997, + -0.6543991428375244, + -0.5273366480827333, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4657173981189727, + -1.2373619970321654, + -2.843096435547068, + -0.5746413822174072, + -1.665887695312449, + -0.6153451510906218, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4982637989044192, + 1.243240743112564, + 1.0069862585067746, + 0.5738323686599736, + 0.8133578369140624, + 0.5755800625801086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44999427776336676, + 1.1858594246387484, + -0.3609619140625, + 0.5913829717636108, + -0.011474609375, + 0.5490435281276707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json new file mode 100644 index 0000000..442082b --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_7778/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 142767, + "num_frames": 4568537, + "estimated_total_batches": null, + "train_episodes": 7389, + "train_bytes": 1807557839316, + "elapsed_sec": 1851.0555272102356, + "frames_per_sec": 2468.0712884314917 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json new file mode 100644 index 0000000..1b7d607 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.18395932018756866, + 0.6204625964164734, + -0.4631445109844208, + -0.23754161596298218, + 0.4260796904563904, + 0.19697996973991394, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.03740339353680611, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34836313128471375, + 0.9311373829841614, + -0.6445428133010864, + 0.1876247376203537, + 0.5610071420669556, + -0.2014002650976181, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06348947435617447, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 8.889402389526367, + 0.8190888166427612, + 6.3224287033081055, + 0.5763419270515442, + 8.891359329223633, + 0.6356603503227234, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1149676963686943, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 7.469509124755859, + 0.8587527275085449, + 10.9024019241333, + 0.5616274476051331, + 17.77461051940918, + 0.497711181640625, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1467103362083435, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2224408164978016, + -0.048768813323974314, + -3.1735438541412364, + -1.754286388516423, + -1.0873907352447496, + -1.7334829847335815, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.010585385131834713, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.32128357887268066, + -0.029370736694339428, + -2.3842309326171893, + -1.6665922879934314, + -1.6808630374908446, + -1.864675362110138, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.030337583923339295, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.028758340454100306, + 2.2350878536224386, + -0.252602658843994, + 1.732205913901332, + 0.9988536895751956, + 2.2490956929683685, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4851716857910162, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1486983525276184, + 2.3825244842529294, + -0.2982371582031256, + 1.6962036300897623, + 0.811102850341797, + 0.850507028102875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5553146308898924, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000168978440342471, + -0.00004291267759981565, + -0.008930332958698273, + 0.0005509143229573965, + 0.001174811739474535, + 0.00036979885771870613, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.03738488256931305, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.052020419389009476, + -0.00030458776745945215, + 0.0002838746877387166, + -0.0010981028899550438, + 0.0015408481704071164, + -0.00013526561087928712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06346680968999863, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 11.449225425720215, + 0.2850877344608307, + 6.8585004806518555, + 0.2127268761396408, + 11.449126243591309, + 0.19846822321414948, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.114939384162426, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 12.08963680267334, + 0.3889652192592621, + 14.02609634399414, + 0.2564218044281006, + 22.619991302490234, + 0.21812041103839874, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1467045396566391, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -3.307166406249962, + -1.0169535324096692, + -1.7231761718749112, + -0.7101557079315199, + -0.9217864257811925, + -0.6735999629974365, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.010585385131834713, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0927529046773912, + -1.2218059524536145, + -1.4543429687500975, + -0.8870759811401356, + -3.3070429687504657, + -0.7426593418121337, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.030337583923339295, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.0, + 1.06085080718994, + -0.069580078125, + 0.7230888339996326, + -0.094970703125, + 0.7179217052459719, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4851716857910162, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.35748368697166444, + 1.2583869689941416, + 0.199462890625, + 0.7453906723022463, + 0.0, + 0.7603769851684574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5553146308898924, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json new file mode 100644 index 0000000..a931283 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps50_cam_high_cam_left_wrist_cam_right_wrist__episodes_3397/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 54108, + "num_frames": 1731438, + "estimated_total_batches": null, + "train_episodes": 3227, + "train_bytes": 264209590712, + "elapsed_sec": 452.58451652526855, + "frames_per_sec": 3825.667774260525 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json new file mode 100644 index 0000000..507448d --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1473880410194397, + 1.0951837301254272, + -0.8093733787536621, + -0.044470593333244324, + 0.6143806576728821, + 0.10511482506990433, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34241217374801636, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2605332136154175, + 1.1816539764404297, + -0.9464854001998901, + 0.11799541115760803, + 0.8017933964729309, + -0.17529724538326263, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.405638188123703, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 41.68538284301758, + 0.9224587678909302, + 38.59687042236328, + 0.6133480072021484, + 47.269283294677734, + 0.5478372573852539, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21091148257255554, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 32.797828674316406, + 0.9076418876647949, + 48.98924255371094, + 0.5494855046272278, + 36.38861846923828, + 0.5369770526885986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19287677109241486, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -5.736323272705079, + -0.33980635690687677, + -5.736323272705079, + -2.075542514848678, + -5.736323272705079, + -1.100138540649425, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.01225560375750065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7841103076934814, + -0.041734788560859215, + -5.736323272705079, + -1.6427277302742027, + -1.374133825302124, + -2.087989719390862, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008527963295578964, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -5.736323272705079, + 2.2613047045707617, + -5.736323272705079, + 1.2822194180488964, + 0.9365347900390475, + 1.9173174562931194, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6947139580100774, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.7841103076934814, + 2.5007953918457133, + -5.736323272705079, + 1.6563580117225456, + -1.374133825302124, + 0.8698811097145267, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6936624691188336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000662580132484436, + -0.01188171748071909, + 0.004983395803719759, + 0.004785665310919285, + 0.059429604560136795, + -0.003149193711578846, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3419666290283203, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0008587968768551946, + -0.011704837903380394, + -0.00011223426554352045, + -0.004071489907801151, + 0.0016946460818871856, + 0.0025044300127774477, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4053061008453369, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 58.244407653808594, + 0.4607780873775482, + 54.42818832397461, + 0.4003729224205017, + 79.35120391845703, + 0.3238682746887207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21048828959465027, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 46.16695022583008, + 0.3498035669326782, + 67.50092315673828, + 0.35201311111450195, + 51.13288497924805, + 0.336516410112381, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1928727924823761, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -66.19360546875396, + -1.297709326171855, + -66.14727343749837, + -0.8074677490234308, + -39.68732343750162, + -0.7606428283691571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.012083003766834736, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -26.45730312500382, + -1.2876695068359254, + -132.03077109374863, + -0.841793878173803, + -39.69122031250299, + -1.0079220458984537, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008527963295578964, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.048828125, + 0.931832128906251, + 0.0, + 0.597741333007832, + 0.0, + 0.6446259460449255, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6948865580007434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.0535477783203078, + -12.442476562500815, + 0.4462808105469094, + -0.00390625, + 0.7484962890625297, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6936624691188336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..a788d2f --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_23712/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 413112, + "num_frames": 13219572, + "estimated_total_batches": null, + "train_episodes": 18406, + "train_bytes": 1649570846072, + "elapsed_sec": 3489.1643438339233, + "frames_per_sec": 3788.750169753891 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json new file mode 100644 index 0000000..ed9f81b --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9fbd0a367f6d113a176cae2124ffec508f6202dee702a6b29236e6e8f60d0775" +} diff --git a/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..2950c4d --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.656104564666748, + -0.9286631345748901, + 1.1376307010650635, + 0.26833200454711914, + -0.7974550127983093, + 0.666283369064331, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6109161972999573, + 1.1354148387908936, + 0.05313194915652275, + 0.04620625823736191, + 0.2840001881122589, + 0.20867326855659485, + 0.2837749719619751, + 0.229059636592865, + 0.28277507424354553, + 0.29497388005256653, + 0.19066499173641205, + 0.6302139759063721, + -0.5758194327354431, + -0.9821283221244812, + 1.1268115043640137, + -0.312242329120636, + 0.6558502316474915, + -0.5029338598251343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7588454484939575, + 1.1244360208511353, + 0.027878623455762863, + 0.028719335794448853, + 0.41041722893714905, + 0.3171558082103729, + 0.4310058355331421, + 0.3283737301826477, + 0.4280836880207062, + 0.4432540833950043, + 0.3348432183265686, + 0.7939622402191162, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.37944644689559937, + 0.20388081669807434, + 0.32835978269577026, + 1.0097854137420654, + 0.5454671382904053, + 0.9213322997093201, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5214293003082275, + 1.5734562873840332, + 0.1687859445810318, + 0.26329222321510315, + 0.6345346570014954, + 0.9055659770965576, + 0.566385805606842, + 1.1926363706588745, + 0.7770596742630005, + 1.4154009819030762, + 1.1830897331237793, + 2.1479766368865967, + 0.3583245575428009, + 0.25541460514068604, + 0.28430697321891785, + 0.8124368786811829, + 0.4906386733055115, + 0.7573658227920532, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3276747465133667, + 2.0278005599975586, + 0.0906292200088501, + 0.18109284341335297, + 0.7365971207618713, + 0.843729555606842, + 0.5977146625518799, + 1.1447561979293823, + 0.7890268564224243, + 1.423203706741333, + 0.937105655670166, + 1.9108370542526245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2660007301330565, + -1.4333736974075437, + 0.4356580541580915, + -1.9504818211078643, + -1.6451347438812256, + -1.8191361523151397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6425251462459565, + -0.045348355709016325, + -0.027506217300891866, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.09911597261428828, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -1.4152819886207582, + -1.6223039834365247, + 0.5030766827851535, + -2.9765801676273345, + -1.0918529442310332, + -2.2726008594036102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.533134201271506, + -0.018681111001968342, + -0.06725717177391055, + -0.014882088518142697, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.09312500059604645, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.3870359558820726, + -0.4766218247368932, + 2.0458251606374978, + 2.9873292702674874, + 1.2033420748710633, + 2.8095779489994044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.436717178581655, + 1.5006087846755982, + 0.7540547889098526, + 0.16416254246234896, + 1.1690624284669757, + 1.8746440391540524, + 1.3250284303724764, + 1.9000630604505542, + 1.4752081572890283, + 1.8975300592899322, + 1.5322988895563174, + 1.916251375775039, + 0.09408731651306135, + -0.44272861089557414, + 1.842128035542369, + 1.3823009697437287, + 1.6149869574546818, + 2.057234740734101, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5501983883857726, + 0.1652949625492096, + 1.2420855182886126, + 1.8982259277343752, + 1.4232810721755027, + 1.844093188524246, + 1.5325359046399594, + 1.9072029188483954, + 1.5810911833979189, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.008245001547038555, + 0.003524184925481677, + -0.0033301268704235554, + -0.005722424481064081, + -0.028624283149838448, + -0.013749456964433193, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6072289347648621, + 1.1415867805480957, + 0.04519025981426239, + 0.048069972544908524, + 0.2835055887699127, + 0.21826808154582977, + 0.28481268882751465, + 0.23658189177513123, + 0.28419241309165955, + 0.29990312457084656, + 0.1941748708486557, + 0.6240943074226379, + 0.005694512277841568, + -0.0015219070482999086, + 0.0012326255673542619, + 0.0017124107107520103, + 0.013287597335875034, + 0.003072197549045086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7632090449333191, + 1.1186587810516357, + 0.026140810921788216, + 0.03224867209792137, + 0.4089101254940033, + 0.32769083976745605, + 0.4338189363479614, + 0.3394289016723633, + 0.4323977828025818, + 0.4540572166442871, + 0.3410424292087555, + 0.7965958714485168, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.14493174850940704, + 0.11448817700147629, + 0.1269613653421402, + 0.1739502102136612, + 0.18158121407032013, + 0.1614755392074585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5181316137313843, + 1.554349660873413, + 0.16171063482761383, + 0.26538777351379395, + 0.6293736100196838, + 0.9130929708480835, + 0.5623818039894104, + 1.1972023248672485, + 0.7720032334327698, + 1.4170503616333008, + 1.183464765548706, + 2.0660579204559326, + 0.15685060620307922, + 0.1503192037343979, + 0.15110182762145996, + 0.2234863042831421, + 0.1935572475194931, + 0.17087143659591675, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3793450593948364, + 1.940362811088562, + 0.08931182324886322, + 0.1979440450668335, + 0.7187049388885498, + 0.8383364677429199, + 0.5950126051902771, + 1.1504135131835938, + 0.7922107577323914, + 1.421832799911499, + 0.9409822821617126, + 1.8833327293395996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.463122957611084, + -0.3534732172966003, + -0.47352954545021053, + -0.495609849691391, + -0.6788331735134125, + -0.6095462135314942, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6563652049303055, + -0.045348355709016325, + -0.02539996719360349, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.07714697225093836, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -0.5393749005317688, + -0.4192069751739502, + -0.516749444961548, + -0.7370876592636111, + -0.5087261302947998, + -0.5691930844306947, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.5849964947166852, + -0.018681111001968342, + -0.06725717177391055, + -0.005501733243465423, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.07114337510764598, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4853410655975341, + 0.4104335291147232, + 0.4124767607688904, + 0.5189733442783355, + 0.48261117458343517, + 0.4103264465332028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.4217746837437153, + 1.5006087846755982, + 0.7503308612175286, + 0.16416254246234896, + 1.2192262910589577, + 1.8746440391540524, + 1.3543629234284162, + 1.9000630604505542, + 1.4936742093384268, + 1.8975300592899322, + 1.5541991586680406, + 1.916251375775039, + 0.47509324531555164, + 0.49790313148498533, + 0.4241397476196289, + 0.7494047117233276, + 0.7297798655986787, + 0.6161350169181823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5355839768886566, + 0.1652949625492096, + 1.2702265841126443, + 1.8982259277343752, + 1.4551351802021264, + 1.844093188524246, + 1.5616740235239268, + 1.9291845443367959, + 1.6142681298069657, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..730f37f --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_airbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Airbot_MMK2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10532/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 81017, + "num_frames": 2592540, + "estimated_total_batches": null, + "train_episodes": 10005, + "train_bytes": 431087330611, + "elapsed_sec": 690.6267569065094, + "frames_per_sec": 3753.8945227269173 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_airbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats.json b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats.json new file mode 100644 index 0000000..de7f907 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.10469576716423035, + 0.662298321723938, + -0.8370406031608582, + -0.10997393727302551, + 0.904748260974884, + 0.07077445834875107, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7056493759155273, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27609941363334656, + 1.1175321340560913, + -0.9066898822784424, + 0.14160014688968658, + 0.6277921199798584, + -0.06411521136760712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5476592779159546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.22630704939365387, + 0.9324061870574951, + 0.5762600898742676, + 0.2787526547908783, + 0.4267621338367462, + 0.27670159935951233, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3804008364677429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.28160029649734497, + 0.9456371068954468, + 0.5779625177383423, + 0.4162033498287201, + 0.7083861827850342, + 0.6169491410255432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3376106917858124, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7981000185012819, + -0.00996200017258525, + -2.4786146493900567, + -1.187614440536499, + -0.8754767679214477, + -0.5012200522422794, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.12335600751638409, + -0.011225800144672393, + -2.364402155338973, + -0.8539300444126129, + -1.2095284074306487, + -1.7727100169658663, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.17913497328758243, + 2.635528483106941, + -0.2574722047377378, + 0.6021799695491787, + 1.2177728406429291, + 1.1242267260074614, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9938087919116021, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9705784217238427, + 2.609351033627987, + -0.2859095926374198, + 1.5181279491424564, + 1.2223220269680022, + 1.4456859633922576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9828610047101975, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00021051804651506245, + -0.008932504802942276, + 0.0005696771549992263, + -0.0027484409511089325, + -0.0041058543138206005, + -0.0012933430261909962, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7096610069274902, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0023133684881031513, + -0.007879610173404217, + -0.00265696132555604, + -0.005429517012089491, + -0.00999925285577774, + -0.0018341426039114594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5347478985786438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.10313262045383453, + 0.26865464448928833, + 0.1893138587474823, + 0.1421351581811905, + 0.21144385635852814, + 0.11594098061323166, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3865589499473572, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11798860132694244, + 0.32088905572891235, + 0.22832293808460236, + 0.20490100979804993, + 0.25481829047203064, + 0.2950364947319031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3538452088832855, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3765264230728149, + -1.035756023645401, + -0.6352756193161011, + -0.5489855407714845, + -0.7912163681030273, + -0.38275416326522826, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.41121598720550545, + -1.0773520893096924, + -0.7255493785858156, + -0.6334800750732423, + -0.9088775737762451, + -1.1001116996288298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4181219642162324, + 0.9378215560436245, + 0.7591589970588686, + 0.4850448505401608, + 0.8666135650634765, + 0.399302637004852, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0348727851867676, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4695387895107268, + 1.0134398870468138, + 0.8453243877410888, + 0.7469199135780338, + 0.9517094232559207, + 1.151939422655106, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.986791200876236, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..b0badf7 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_aloha_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/aloha_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_4879/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 198055, + "num_frames": 6337741, + "estimated_total_batches": null, + "train_episodes": 4634, + "train_bytes": 962548578236, + "elapsed_sec": 1664.1732065677643, + "frames_per_sec": 3808.3421695456377 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_aloha_s26_a26/unified_action_space.json b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/unified_action_space.json new file mode 100644 index 0000000..0667d62 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_aloha_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "67e063860a9fbe208d546d4b111c935599875ffd6e1810a7b5d300da746fc215" +} diff --git a/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats.json b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats.json new file mode 100644 index 0000000..1fb88cd --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.12981835007667542, + 0.3803384602069855, + 0.2765718102455139, + -1.5070769786834717, + -0.2064417600631714, + -0.05623231828212738, + -0.3460264205932617, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.6767578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.19400940835475922, + 0.31934040784835815, + -0.35299500823020935, + -1.4869228601455688, + 0.357273131608963, + 0.013851415365934372, + 0.2367955446243286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 779.4723510742188, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2857164740562439, + 0.19170787930488586, + 0.20447394251823425, + 0.2694042921066284, + 0.38139572739601135, + 0.24085566401481628, + 0.34607115387916565, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.1971435546875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2606230676174164, + 0.24536000192165375, + 0.14477461576461792, + 0.2577556073665619, + 0.5735127925872803, + 0.18255352973937988, + 0.37184131145477295, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 382.7496643066406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.899166699886322, + 0.07630084578692914, + -0.059025124704837784, + -2.0594145153187213, + -1.1295509833812714, + -0.7071796939969063, + -1.1954483671784402, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21597237800359725, + -0.05071561908125878, + -0.7550483275800943, + -2.029019742440432, + -1.0360802779436111, + -0.3993901081085205, + -0.2278318267703056, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.37486589574813856, + 0.901134452560544, + 0.8977918334484101, + -0.7051934836871923, + 1.031851346349716, + 0.6692254953861236, + 0.42736211544275293, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9338733216404915, + 0.9485346036761999, + -0.05054059450328352, + -0.7290169551871717, + 1.6272616389274597, + 0.5994619083404542, + 1.411613534462452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0006919320439919829, + -0.0019002234330400825, + -0.0010903198271989822, + -0.0009687251294963062, + 0.0009565133950673044, + 0.0017697216244414449, + -0.0055458988063037395, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.5861206054688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.003108932636678219, + -0.003951332066208124, + 0.0004939803038723767, + 0.002362956991419196, + -0.002410163637250662, + 0.00205172598361969, + 0.005838938523083925, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 778.9148559570312, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08611934632062912, + 0.051137592643499374, + 0.06047236919403076, + 0.10187217593193054, + 0.0747617855668068, + 0.06468275189399719, + 0.08414533734321594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.2435607910156, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07241197675466537, + 0.043015606701374054, + 0.04393547773361206, + 0.09733308106660843, + 0.08626998215913773, + 0.06080825254321098, + 0.06849385052919388, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 383.0844421386719, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2659748669624329, + -0.16955485401153564, + -0.22237293572425842, + -0.38058049020767215, + -0.25508818566799163, + -0.19396575808525085, + -0.33569938838481905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26165361976623525, + -0.1465015360713005, + -0.14308811855316161, + -0.3606649603843688, + -0.2566977259159088, + -0.18858413553237918, + -0.19983974138498306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.31394535303115845, + 0.18444163522720336, + 0.19062521643638597, + 0.29662441864013656, + 0.2051439446210861, + 0.24560414199829106, + 0.26784982144832603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23274346752166752, + 0.15374321049451822, + 0.16777842110395425, + 0.3051075954437257, + 0.3131138361454009, + 0.2351794544696808, + 0.2710840149283409, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..65587db --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_alpha_bot_2_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/alpha_bot_2_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_857/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 22703, + "num_frames": 726485, + "estimated_total_batches": null, + "train_episodes": 814, + "train_bytes": 109263908150, + "elapsed_sec": 205.29979014396667, + "frames_per_sec": 3538.6543721771545 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/unified_action_space.json b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/unified_action_space.json new file mode 100644 index 0000000..7c12829 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_alpha_bot_2_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c8188bef9dda322c15e6f6fd6d51c66ced6ac424e8fb05dc7e607aa1709e3e58" +} diff --git a/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..9a50eed --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.789222240447998, + -0.9489473104476929, + 1.102475643157959, + 0.06056652218103409, + -0.8004094958305359, + 0.8569042086601257, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 43.4145393371582, + 58.51406478881836, + 6.561944484710693, + 3.8180127143859863, + 19.267641067504883, + 14.541945457458496, + 19.904767990112305, + 16.158863067626953, + 19.30022430419922, + 21.157934188842773, + 12.348743438720703, + 44.948116302490234, + -0.7468658089637756, + -0.9740761518478394, + 1.1814908981323242, + -0.2708401083946228, + 0.7773710489273071, + -0.5048773288726807, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.62311935424805, + 59.72103500366211, + 1.6600639820098877, + 2.397747278213501, + 21.124330520629883, + 16.384376525878906, + 23.463788986206055, + 16.421628952026367, + 23.28516960144043, + 26.225006103515625, + 18.233783721923828, + 47.79250717163086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3196251094341278, + 0.19099053740501404, + 0.267301082611084, + 0.7343452572822571, + 0.5074834823608398, + 0.8002901077270508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.43718147277832, + 11.881536483764648, + 12.745183944702148, + 3.668595314025879, + 17.491971969604492, + 25.543888092041016, + 18.778554916381836, + 28.954769134521484, + 20.36393928527832, + 33.26520919799805, + 20.258453369140625, + 38.15335464477539, + 0.3138468265533447, + 0.20916512608528137, + 0.2719564437866211, + 0.7614434361457825, + 0.5056568384170532, + 0.7291929721832275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.863088607788086, + 12.029555320739746, + 5.3629679679870605, + 3.2656631469726562, + 17.44062042236328, + 25.945985794067383, + 20.877904891967773, + 27.181493759155273, + 22.829547882080078, + 35.53911209106445, + 24.12516212463379, + 39.613216400146484, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.1670591546058655, + -1.460646178598702, + 0.6757955211639405, + -0.8247669435024263, + -1.6326164110422134, + -2.040982316064835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1410077957153328, + 35.85638677425385, + -1.2471387302875518, + -1.260823583698273, + 0.6530760291576385, + -1.0140843429565431, + 0.6394474706172943, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8760666087865829, + -1.524050800561905, + -1.514172021174431, + 0.6718438099384307, + -2.9777743816375732, + -1.145575943374634, + -1.595018073940277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.098736600399015, + -1.2586004912137985, + -1.7484696573257446, + 0.609222595214844, + -0.9381469581604005, + 0.5784229578018187, + -1.1616932260990143, + 0.6429713370800019, + -0.5089542884826661, + 0.42454957976341245, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.4689757689952851, + -0.5967689686983824, + 1.8580087474823, + 2.982538466739655, + 1.0367245502233509, + 2.3800237551689145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.29060504226685, + 84.12461102142335, + 48.262709696531296, + 9.748627821445465, + 61.9573547662735, + 105.95414351844786, + 69.24682767877579, + 109.27585434875488, + 82.92672660541534, + 109.9159403591156, + 89.5799179440558, + 110.60623623168469, + -0.051988855361938535, + -0.5652352955192328, + 1.8889653580904007, + 0.7004047698974611, + 1.6166751742362973, + 2.2183819183826445, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.63163614215851, + 82.51696020936966, + 31.86803058552742, + 9.559157132148743, + 61.57964798583985, + 109.06843588314057, + 77.23728513393402, + 108.36883417010307, + 88.44751836946011, + 110.32461710197926, + 91.96601235146522, + 110.372048163414, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.01735016703605652, + 0.007876871153712273, + -0.008764179423451424, + -0.016196714714169502, + -0.050610072910785675, + -0.01787901297211647, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 42.77833557128906, + 59.01993179321289, + 5.597373008728027, + 3.9695675373077393, + 18.594154357910156, + 14.54702091217041, + 19.29161262512207, + 15.878710746765137, + 18.78414535522461, + 20.612062454223633, + 12.175747871398926, + 43.39402389526367, + 0.0064604626968503, + 0.0005611882661469281, + -0.002839392749592662, + 0.005142479669302702, + 0.02126043289899826, + 0.004430062603205442, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.64952087402344, + 59.36911392211914, + 1.4767431020736694, + 2.656665325164795, + 20.36819076538086, + 16.421306610107422, + 22.942644119262695, + 16.397327423095703, + 22.899627685546875, + 26.112388610839844, + 18.08662986755371, + 46.756378173828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.17858079075813293, + 0.14265654981136322, + 0.1634504795074463, + 0.16256660223007202, + 0.22381845116615295, + 0.16158242523670197, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.521772384643555, + 11.979036331176758, + 12.285548210144043, + 3.6960418224334717, + 17.73102569580078, + 25.79263687133789, + 19.03911781311035, + 28.994144439697266, + 20.55314064025879, + 33.25821304321289, + 20.360509872436523, + 38.552024841308594, + 0.1852763444185257, + 0.14883209764957428, + 0.1630040854215622, + 0.19241678714752197, + 0.22506338357925415, + 0.11058518290519714, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.7370662689209, + 11.900763511657715, + 5.080607891082764, + 3.428765296936035, + 17.76552391052246, + 26.203529357910156, + 21.202436447143555, + 27.423065185546875, + 23.11931610107422, + 35.659122467041016, + 24.31511878967285, + 40.17205047607422, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.530792695760727, + -0.4047769084453583, + -0.5680815444231033, + -0.5259286925792694, + -0.7873582234382629, + -0.6316696793556211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1191337959289553, + 36.04583902816773, + -1.2471387302875518, + -1.2319020826339724, + 0.612784028673172, + -1.1057648468017578, + 0.6174649713516236, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8989019842147827, + -0.6441029361724854, + -0.3842984503507614, + -0.5623678423643113, + -0.5740927570819856, + -0.5532707916736603, + -0.31753806543350205, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.50419783921242, + -1.2795799915790558, + -1.7369956575393677, + 0.609222595214844, + -1.0078890859127045, + 0.5372969587802885, + -1.207598727941513, + 0.6429713370800019, + -0.5318018604040147, + 0.44674683067798604, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5975871762037279, + 0.46891435046195973, + 0.4889618165016174, + 0.5089293518066405, + 0.5531848000526427, + 0.45593350839614866, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.44372304077149, + 84.31406327533722, + 48.388156947612764, + 9.75184132156372, + 62.259544769906995, + 106.59590704536437, + 70.23604014573097, + 109.41469885177612, + 83.82831159305573, + 109.93952148437499, + 90.24482296959758, + 110.60623623168469, + 0.5124633223056794, + 0.4904771469831468, + 0.44247493512630465, + 0.6567382140159608, + 0.8311843288183209, + 0.3665271113872528, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.65422906808853, + 82.55221770839691, + 29.686162547540665, + 9.607921631240846, + 61.768294104003914, + 109.09168325905799, + 77.54573012659549, + 108.78198368668556, + 88.99643401732445, + 110.3474646739006, + 92.43215462067127, + 110.39570791435241, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..f5f3479 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_discover_aitbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/discover_robotics_aitbot_mmk2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5747/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 36260, + "num_frames": 1160293, + "estimated_total_batches": null, + "train_episodes": 5460, + "train_bytes": 194302774076, + "elapsed_sec": 348.6094217300415, + "frames_per_sec": 3328.34664720713 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json new file mode 100644 index 0000000..7db58db --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1465437263250351, + 0.7869630455970764, + -0.5143190622329712, + -0.10306041687726974, + -0.017123211175203323, + -0.07089352607727051, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24394427239894867, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.11253274977207184, + 0.9243168234825134, + -0.6134981513023376, + -0.08301904797554016, + 0.0349244549870491, + 0.0044456711038947105, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28358498215675354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3259853720664978, + 0.9173845052719116, + 0.6484797596931458, + 0.4867860972881317, + 0.29930099844932556, + 0.3141402006149292, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4647968113422394, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3464672863483429, + 0.9285209774971008, + 0.66539466381073, + 0.4866812229156494, + 0.318434476852417, + 0.42792943120002747, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5048031210899353, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0725928758382797, + -0.005822717398405078, + -1.9497726845741272, + -1.5304360511302948, + -1.0978304373025893, + -1.0819920077323915, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9586778641700744, + -0.006923790359497084, + -1.9687591208517552, + -1.5304557082414627, + -0.838190191078186, + -1.5145600032806397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6792541539669039, + 2.5427422587573525, + 0.026177544593811053, + 1.1008840367794037, + 0.7871663888692857, + 0.968535971164703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9739351847410203, + 2.5719604786753654, + 0.030489080250263534, + 1.004168446135521, + 1.0753058356285097, + 1.1564639692306518, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00018698995700106025, + -0.0027333006728440523, + 0.0018787827575579286, + 0.00032728881342336535, + 0.0004975892370566726, + 0.0002555204264353961, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24358518421649933, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00009762104309629649, + -0.0025566816329956055, + 0.002047769259661436, + -0.0003735595673788339, + -0.00020275445422157645, + -0.0001948690478457138, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28345298767089844, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.16635392606258392, + 0.3440786600112915, + 0.258118212223053, + 0.2430180013179779, + 0.15079589188098907, + 0.15765906870365143, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4644833207130432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18295352160930634, + 0.4124230444431305, + 0.29375508427619934, + 0.27331775426864624, + 0.16929855942726135, + 0.18614333868026733, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5047915577888489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6040997364997862, + -1.3266730127334594, + -0.92285426902771, + -0.8444594205856322, + -0.5463665382385252, + -0.5456839828491211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6485135001182556, + -1.5401852423667908, + -0.9946665182113648, + -0.9465401615142826, + -0.5940469908714294, + -0.6444087917327881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6266800019741057, + 1.3451034955978391, + 0.9451263523101807, + 0.9366976721286777, + 0.516585234260559, + 0.55905809340477, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.642640541267395, + 1.5440051584720607, + 1.0398419427871701, + 1.007892139816284, + 0.5927413930892942, + 0.6252514398574824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..31311e3 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5167/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 245253, + "num_frames": 7848088, + "estimated_total_batches": null, + "train_episodes": 4886, + "train_bytes": 3346209600799, + "elapsed_sec": 3871.8957114219666, + "frames_per_sec": 2026.9368249894735 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json new file mode 100644 index 0000000..4bc585b --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.16373606026172638, + 0.9926406741142273, + -0.7024933695793152, + 0.13910958170890808, + -0.07944614440202713, + 0.0691065564751625, + -2.2582452297210693, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.80658721923828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0637373998761177, + 0.40384504199028015, + -0.29242828488349915, + 0.10572875291109085, + 0.023374492302536964, + 0.010431193746626377, + -2.5006213188171387, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.0853271484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.29857853055000305, + 1.0033091306686401, + 0.7319855690002441, + 0.3954618573188782, + 0.24940426647663116, + 0.4646410644054413, + 0.8846869468688965, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.198925018310547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2049432396888733, + 0.7930189371109009, + 0.5714349150657654, + 0.26710253953933716, + 0.12996964156627655, + 0.27238354086875916, + 0.7039861083030701, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 24.03177833557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.017169194972515, + -0.004680851008743048, + -1.986572128868103, + -1.1477862263917924, + -0.8641180778265, + -1.1129386113166808, + -2.76129431829527, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 5.472231944561004, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.25645644221305847, + -0.0042553190141916275, + -1.9533517208099365, + -0.4285504687309265, + -0.31070470275878903, + -0.9370759090423584, + -2.835106372833252, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 4.873087328195572, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3155106456279755, + 2.578922155332752, + -0.00040344681739812316, + 1.0628037837743758, + 0.6523159398913383, + 1.4510601159095766, + -0.05701846262365562, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 97.88268118405342, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8619644447565078, + 2.462775818249583, + -0.00040225529670712135, + 1.0223374055862426, + 0.5530510427355766, + 0.9148953475952148, + -0.038330637861788475, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 100.52368333494664, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0035309582017362118, + -0.03238903358578682, + 0.02132692001760006, + -0.001851493027061224, + 0.001852226909250021, + 0.0021616152953356504, + -0.0008467381703667343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 77.51899719238281, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.001286643324419856, + -0.004494755994528532, + 0.004611603915691376, + 0.00022976390027906746, + -0.00047635435475967824, + 0.00019026569498237222, + -0.0002900872495956719, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.36774444580078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.23230241239070892, + 0.6766408681869507, + 0.4803682267665863, + 0.2520758807659149, + 0.18142449855804443, + 0.29774317145347595, + 0.7227979898452759, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 41.74575424194336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14992249011993408, + 0.4257671535015106, + 0.27494487166404724, + 0.15455301105976105, + 0.09703756123781204, + 0.15753188729286194, + 0.4973582923412323, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.825206756591797, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7381767271518707, + -2.1335647198200225, + -1.4483220024108887, + -0.8748203573703766, + -0.6415985270500184, + -0.9677291069030762, + -2.308521799659729, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6180614602565765, + -1.739781426525116, + -0.9139452539682389, + -0.6549412292242051, + -0.3491792736053465, + -0.5659440845727921, + -2.1506297883987426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.8003067836284639, + 1.9999838626384738, + 1.666527211999893, + 0.7973734945774078, + 0.5891278557777402, + 1.068362585258484, + 2.4429450938224795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6246776551246644, + 1.7485109654426578, + 1.1746477506160735, + 0.5350400135040285, + 0.35704151229858416, + 0.5749539126873016, + 2.408058779096603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json new file mode 100644 index 0000000..bd80a20 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s16_a18", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s16_a18_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_970/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9866, + "num_frames": 315700, + "estimated_total_batches": null, + "train_episodes": 922, + "train_bytes": 100400838947, + "elapsed_sec": 127.63867783546448, + "frames_per_sec": 2473.388202962743 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json new file mode 100644 index 0000000..3c4ce7f --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "a9d0610a5115c532397c2f9a02c21890d70ef58ef0ad507847fa2ed1a15c88b5" +} diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json new file mode 100644 index 0000000..cca4530 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2506558299064636, + 0.9469642043113708, + -0.6205059885978699, + -0.09196162223815918, + 0.012572923675179482, + 0.05519729480147362, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.500835657119751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.25365200638771057, + 1.2202755212783813, + -0.7921632528305054, + -0.1521870344877243, + -0.024248279631137848, + -0.07879133522510529, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990261554718018, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3049851357936859, + 0.9031018614768982, + 0.610549807548523, + 0.4732515215873718, + 0.2458823025226593, + 0.3754640817642212, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4639884829521179, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3309071660041809, + 0.8979148268699646, + 0.645177960395813, + 0.5483866333961487, + 0.3284341096878052, + 0.47655388712882996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.504631757736206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9940981630802155, + -0.003829787252470851, + -1.975389991865214, + -1.5265620398044586, + -0.6589046301603317, + -0.8917075432300567, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3503914684653282, + -0.0019148936262354255, + -2.000638246536255, + -1.5020018501758576, + -0.8032287443637849, + -1.7044098446369171, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20174685723781582, + 2.4619219403604045, + -0.000014638316631288006, + 0.8448675643444061, + 0.7823373777389526, + 1.5872856732606886, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.005140295803547, + 2.505199112719623, + -0.0003078718297184757, + 0.8889586254119872, + 0.8282026379823684, + 0.8900946237802505, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.002070083748549223, + -0.009222179651260376, + 0.006848389748483896, + 0.00026182294823229313, + 0.0015868792543187737, + 0.0003076336288359016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5008774995803833, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002750544575974345, + -0.015298927202820778, + 0.009401840157806873, + 0.0033589310478419065, + -0.00035418258630670607, + -0.001279053627513349, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990696668624878, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1416667252779007, + 0.3391159176826477, + 0.22186781466007233, + 0.23835258185863495, + 0.14790737628936768, + 0.2196711003780365, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4638553559780121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19731104373931885, + 0.3913874328136444, + 0.2852989435195923, + 0.30727827548980713, + 0.22789299488067627, + 0.291481077671051, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5044052600860596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4676544653892517, + -1.3689668506622314, + -0.673422367811203, + -0.8352519777297973, + -0.514826227092743, + -0.9340109244346619, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7339063465595246, + -1.6019817955970765, + -0.8888794917106628, + -1.093386752319336, + -0.7658062780380249, + -0.9442028461456298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5726149436473846, + 1.2395132839202878, + 0.8514690177440647, + 0.8724879892349242, + 0.4888856029987334, + 0.7179337068557738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6569907176494598, + 1.3284557864189144, + 0.9647411026954651, + 1.0813313362121582, + 0.9232138740777969, + 1.3054971899032592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..a232606 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_upper_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Galaxea_R1_Lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_3650/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 27171, + "num_frames": 869469, + "estimated_total_batches": null, + "train_episodes": 1337, + "train_bytes": 205435325084, + "elapsed_sec": 271.46593260765076, + "frames_per_sec": 3202.8659789758667 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json new file mode 100644 index 0000000..eaaba89 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "1fa4ae18cdd16834f62a84b6e7c7d297585f44534b6b912ad9d2e88896a34f45" +} diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats.json b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats.json new file mode 100644 index 0000000..c5a9296 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.14392921328544617, + -0.0496545284986496, + 0.03907515108585358, + -0.6383686661720276, + -0.33223956823349, + 0.1406169980764389, + -0.2197691947221756, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2658024728298187, + 1.0174024105072021, + 0.26580309867858887, + 0.26580342650413513, + 0.26580342650413513, + 0.26580342650413513, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26310673356056213, + -0.026430761441588402, + 0.22182564437389374, + -1.0583513975143433, + 0.5696671009063721, + -0.14421126246452332, + -0.14368979632854462, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6819911003112793, + 1.1796563863754272, + 0.681991696357727, + 0.6819922924041748, + 0.6819922924041748, + 0.6819922924041748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.005736132152378559, + -0.004845454357564449, + -0.5839594006538391, + 1.034613847732544, + -0.47432053089141846, + 0.0044976514764130116, + -0.011759890243411064, + 0.0016561566153541207, + -0.584376335144043, + 1.0361307859420776, + -0.48027747869491577, + 0.014017106033861637, + -0.006366158835589886, + 0.00004895150777883828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24559161067008972, + 0.1689794510602951, + 0.7688204646110535, + 0.5849611759185791, + 0.7876368165016174, + 0.2824043333530426, + 0.2779797911643982, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6225577592849731, + 0.8577785491943359, + 0.62255859375, + 0.6225588917732239, + 0.6225588917732239, + 0.6225588917732239, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37637755274772644, + 0.21900226175785065, + 0.6015813946723938, + 0.6487521529197693, + 0.6114912033081055, + 0.3323651850223541, + 0.33078810572624207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8369026184082031, + 0.813471257686615, + 0.8369022607803345, + 0.8369028568267822, + 0.8369029760360718, + 0.8369028568267822, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011689109727740288, + 0.03091302700340748, + 0.05732341855764389, + 0.07677125930786133, + 0.0554114505648613, + 0.02481386624276638, + 0.01102852076292038, + 0.030867384746670723, + 0.057295337319374084, + 0.08059525489807129, + 0.055565595626831055, + 0.024815795943140984, + 0.0376923643052578, + 0.0022193610202521086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9992702881813049, + -0.34700471043586734, + -1.499725185585022, + -2.03459240322113, + -1.5663648304462434, + -0.6925698574066161, + -0.703081022977829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2768910852432251, + -0.6715401140213013, + -1.3412932807922364, + -2.273264695763588, + -1.2518772483825684, + -0.7010021484375, + -0.700609602355957, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02395869474411011, + -0.11906609460711481, + -0.7370869652032852, + 0.9267490817084909, + -0.6330387302875519, + -0.049691598564386374, + -0.042447312104701984, + -0.10632696142792702, + -0.7380362022399902, + 0.9342303326725959, + -0.641259054350853, + -0.04123028814792634, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3458903924465182, + 0.5226744106411935, + 1.44677988114357, + -0.06136881568431818, + 1.476704307556152, + 0.6961594585418704, + 0.5051051949501038, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45043067569732687, + 0.3487966469764707, + 1.3253098982810974, + -0.12402725848555551, + 1.5689554569244386, + 0.7199650357246397, + 0.626018825149536, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.034869841480255126, + 0.09307707622647288, + -0.45076588833332076, + 1.2968151184253396, + -0.3549289156675338, + 0.06532029041647913, + 0.015565912073850607, + 0.10807942071557042, + -0.4488659531593323, + 1.2981121613249182, + -0.369503323701024, + 0.07134055135250089, + 0.09063195526599888, + 0.008523450748994951, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.025149166584014893, + -0.0007167551084421575, + 0.014958391897380352, + 0.029812512919306755, + -0.049611445516347885, + 0.018364058807492256, + -0.016904247924685478, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26187270879745483, + 1.0055816173553467, + 0.2618729770183563, + 0.2618747055530548, + 0.2618747055530548, + 0.2618747055530548, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.023009758442640305, + 0.008779775351285934, + -0.01961400918662548, + 0.035789959132671356, + 0.03110627271234989, + -0.02077949233353138, + -0.022412974387407303, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6611509919166565, + 1.1648931503295898, + 0.661152720451355, + 0.661155104637146, + 0.661155104637146, + 0.661155104637146, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006273355800658464, + -0.003994456026703119, + -0.5832089185714722, + 1.0329070091247559, + -0.4743139445781708, + 0.0038752786349505186, + -0.011729203164577484, + 0.0015189028345048428, + -0.5832836031913757, + 1.034032940864563, + -0.4801284670829773, + 0.013799047097563744, + -0.006342591252177954, + 0.000048941914428723976, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13706213235855103, + 0.0861985832452774, + 0.2623814046382904, + 0.21836024522781372, + 0.38968393206596375, + 0.18734091520309448, + 0.1748584508895874, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6187314391136169, + 0.859600305557251, + 0.6187315583229065, + 0.6187350153923035, + 0.6187350153923035, + 0.6187350153923035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18466579914093018, + 0.11489593982696533, + 0.2676655650138855, + 0.30678436160087585, + 0.3512946665287018, + 0.2122993916273117, + 0.19419464468955994, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.833325207233429, + 0.8184693455696106, + 0.8333248496055603, + 0.8333266377449036, + 0.8333266377449036, + 0.8333266377449036, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011661932803690434, + 0.03008849360048771, + 0.0570581778883934, + 0.07920322567224503, + 0.05598650872707367, + 0.02390815131366253, + 0.011079773306846619, + 0.030265456065535545, + 0.05669058859348297, + 0.08025062084197998, + 0.056270044296979904, + 0.02400575391948223, + 0.037728164345026016, + 0.0022195226047188044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.49717133016586335, + -0.29087378101348893, + -0.9207378339767456, + -0.8032954450130463, + -1.5487773138046266, + -0.5106261265754701, + -0.7538997879028321, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6092341652870177, + -0.3566183257102966, + -1.1042374740600585, + -1.0408703578948975, + -0.9910236114501954, + -0.8985654019355773, + -0.791315365076065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.023514607763290396, + -0.11017253985404968, + -0.7403963661193848, + 0.9252302796959877, + -0.6394320577383041, + -0.04950896456241605, + -0.04293521931767463, + -0.102585978269577, + -0.7395257719516755, + 0.9335625804424286, + -0.6478451603651046, + -0.039510283565521276, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4264512014865871, + 0.29491566400527924, + 1.1406259435176853, + 0.8118304628849029, + 1.1148114137649534, + 0.7137140592575073, + 0.44641688156127923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6106945888519291, + 0.36770981721878027, + 0.7981465461730957, + 1.0722906362533569, + 1.444993089199066, + 0.5342899666786192, + 0.5092106031179429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.035736719590425514, + 0.09176966729164115, + -0.45266616611480714, + 1.2868420163989067, + -0.35557454228401186, + 0.06286471080780032, + 0.01590245109796523, + 0.10124850861430168, + -0.4510058415412903, + 1.2875499872922898, + -0.3704874509572982, + 0.06893986749649039, + 0.0910177531242371, + 0.008582760252058508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats_meta.json new file mode 100644 index 0000000..8250431 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s118_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s118_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_17897/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 458510, + "num_frames": 14672292, + "estimated_total_batches": null, + "train_episodes": 17002, + "train_bytes": 4898931416952, + "elapsed_sec": 5203.681373596191, + "frames_per_sec": 2819.598462436255 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/unified_action_space.json b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/unified_action_space.json new file mode 100644 index 0000000..d356add --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s118_a54/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d97c871ea622a1d73832b3cfbbf5591efa01e5743172a70cab01099fbb596f69" +} diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats.json b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats.json new file mode 100644 index 0000000..9454472 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.12607264518737793, + 0.00008398429054068401, + -0.4544186294078827, + -0.20619818568229675, + 0.29890182614326477, + 0.2209627479314804, + -0.017372645437717438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.001351677579805255, + 0.5195144414901733, + 0.001351677579805255, + 0.001351677579805255, + 0.001351677579805255, + 0.001351677579805255, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.5108049511909485, + -0.08366616070270538, + 0.6188738346099854, + -1.1367301940917969, + 0.9034554362297058, + -0.2741541564464569, + 0.19831663370132446, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.031201720237732, + 1.7022472620010376, + 1.031201720237732, + 1.031201720237732, + 1.031201720237732, + 1.031201720237732, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.009635113179683685, + -0.0028679377865046263, + -0.5325427055358887, + 0.9934707880020142, + -0.5009011626243591, + -0.004597402177751064, + -0.01032357569783926, + -0.0036452405620366335, + -0.5363783836364746, + 0.9893509745597839, + -0.49731943011283875, + 0.014525534585118294, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.052721500396728516, + 0.12329746037721634, + 0.9935592412948608, + 0.08448720723390579, + 1.079892873764038, + 0.2286582589149475, + 0.15934748947620392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04720721393823624, + 0.7929924130439758, + 0.04720721393823624, + 0.04720721393823624, + 0.04720721393823624, + 0.04720721393823624, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2641383111476898, + 0.1964256912469864, + 0.29711970686912537, + 0.3846171796321869, + 0.3384343981742859, + 0.21793775260448456, + 0.27180108428001404, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6186614036560059, + 0.2665689289569855, + 0.6186614036560059, + 0.6186614036560059, + 0.6186614036560059, + 0.6186614036560059, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.005319930147379637, + 0.008804247714579105, + 0.026858242228627205, + 0.026859907433390617, + 0.01961347460746765, + 0.008071155287325382, + 0.006057468242943287, + 0.009226891212165356, + 0.019773883745074272, + 0.01892995275557041, + 0.018627624958753586, + 0.011728359386324883, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2895899209499359, + -0.2557414261460304, + -1.5707963705062866, + -0.44021003832817074, + -1.5707963705062866, + -0.3109862658381462, + -0.3420334379673004, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.1022463934540747, + -0.534395228278637, + -0.6099578330993651, + -1.928462313339114, + -0.31661461296081544, + -0.6981316804885864, + -0.48562039694786074, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0037947557039558887, + -0.023079702201485634, + -0.5913913312196731, + 0.9475534757256507, + -0.5512317831277848, + -0.020031942911073564, + -0.025517087894678117, + -0.02475028370320797, + -0.5832356173038483, + 0.9467111015081405, + -0.5315918558120728, + -0.008798553790897131, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.049132818818092394, + 0.23467275539636612, + 1.4445043423175812, + -0.06639479804039006, + 1.5632565479278564, + 0.6979118290841579, + 0.45560135209560393, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.7449801949739454, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05763647654056547, + 0.3462985385417938, + 1.09225891494751, + -0.3024392062425614, + 1.4563934411764143, + 0.24852478170394898, + 0.6978524278163911, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.023831854006648064, + 0.018483441022038465, + -0.475257759898901, + 1.0377141551017761, + -0.4545027549982071, + 0.018488670980185272, + 0.0033708639562129994, + 0.015092507733032112, + -0.4920614863157272, + 1.031601612663269, + -0.453053707498312, + 0.04167234658449888, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000044160395191283897, + -0.0004345428023952991, + 0.00018526075291447341, + 0.0004296721890568733, + 0.0005998000269755721, + 0.00017635914264246821, + -0.001342334202490747, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0027007008902728558, + 0.5137023329734802, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.003517469158396125, + 0.0013488056138157845, + -0.03338310495018959, + -0.0008356410544365644, + -0.06255348771810532, + -0.02151239477097988, + -0.03775149583816528, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9106055498123169, + 1.6855394840240479, + 0.9106055498123169, + 0.9106055498123169, + 0.9106055498123169, + 0.9106055498123169, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00968371331691742, + -0.0032853996381163597, + -0.5326474905014038, + 0.9934975504875183, + -0.5008286237716675, + -0.004591429140418768, + -0.010270550847053528, + -0.0040542385540902615, + -0.5363346338272095, + 0.9892792105674744, + -0.49734926223754883, + 0.01452939584851265, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.01366458274424076, + 0.011578992940485477, + 0.02847292833030224, + 0.008184446953237057, + 0.02868589758872986, + 0.02419445477426052, + 0.020024960860610008, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06765764206647873, + 0.7898082137107849, + 0.06765764206647873, + 0.06765764206647873, + 0.06765764206647873, + 0.06765764206647873, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1943008303642273, + 0.1138172596693039, + 0.16575030982494354, + 0.32405945658683777, + 0.24188394844532013, + 0.14207221567630768, + 0.1356537789106369, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6900458931922913, + 0.3119781017303467, + 0.6900458931922913, + 0.6900458931922913, + 0.6900458931922913, + 0.6900458931922913, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.005321471020579338, + 0.008934310637414455, + 0.026879318058490753, + 0.026879871264100075, + 0.019663553684949875, + 0.008062909357249737, + 0.006070638541132212, + 0.009430455975234509, + 0.01970670185983181, + 0.018973983824253082, + 0.018652407452464104, + 0.011722862720489502, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.045795693865418444, + -0.03490671157836914, + -0.08407489075660707, + -0.014965300846099844, + -0.0787550156712532, + -0.07334953966140745, + -0.06483746516704561, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5524677794218064, + -0.3814485204219818, + -0.7671195118427279, + -1.0123560002803802, + -1.083412933397293, + -0.5203610343933105, + -0.5161401920318603, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003876279680989683, + -0.02480562933534384, + -0.5915251564919949, + 0.9474930867910385, + -0.5510238276004791, + -0.020000744584202767, + -0.025240602546930314, + -0.027418407713994383, + -0.5830148566961288, + 0.9471505891680717, + -0.531629569208622, + -0.008798553790897131, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.04847865233421325, + 0.029357151687145228, + 0.08701096346378329, + 0.020059467208385473, + 0.08130935577154164, + 0.06256101837754252, + 0.05499121507108207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.7449801949739454, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7217966253280639, + 0.3419604907035827, + 0.28069199728965755, + 1.0181266004562377, + 0.43407146964073196, + 0.3849238431930544, + 0.33047570610046373, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.023847550930455326, + 0.01867716753706336, + -0.4757930609881878, + 1.0378349329710006, + -0.45402742807865143, + 0.01857039732933044, + 0.003428067821264265, + 0.015092507733032112, + -0.4920860152721405, + 1.031601612663269, + -0.45256343334317206, + 0.04163807480968535, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats_meta.json new file mode 100644 index 0000000..29b3d90 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s54_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s54_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_394/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2062, + "num_frames": 65982, + "estimated_total_batches": null, + "train_episodes": 374, + "train_bytes": 22504353358, + "elapsed_sec": 31.398486614227295, + "frames_per_sec": 2101.4388626648715 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/unified_action_space.json b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/unified_action_space.json new file mode 100644 index 0000000..d356add --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_leju_robot_s54_a54/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d97c871ea622a1d73832b3cfbbf5591efa01e5743172a70cab01099fbb596f69" +} diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6e2759 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7575891017913818, + -2.018211841583252, + 1.2673600912094116, + 1.1146199703216553, + 0.6891690492630005, + -0.3179693818092346, + -0.9597281217575073, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 555.3607177734375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.8516546487808228, + 2.0185489654541016, + -1.024009346961975, + -0.8024208545684814, + -0.6040467619895935, + 0.35237857699394226, + 0.4313460886478424, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.1749267578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.227471724152565, + 0.06362287700176239, + 0.25554585456848145, + 0.4349750280380249, + 1.4009367227554321, + 1.5048906803131104, + 1.4070923328399658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 329.2973937988281, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2158181071281433, + 0.06811479479074478, + 0.2395617961883545, + 0.3499128818511963, + 1.5231932401657104, + 1.4194414615631104, + 1.436482548713684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.5093994140625, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2411617311716079, + -2.0655426728248596, + 0.7684333333969116, + 0.43966181900501256, + -0.9741751252412796, + -1.918311150074005, + -3.0002384185791016, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4035066569000483, + 1.6972570048332214, + -1.6375796434402465, + -1.7001429117143154, + -2.8975123698711394, + -1.826313526535034, + -1.312467015504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.1553316257953643, + -1.7997828578948973, + 1.9979852621555327, + 1.867020208358765, + 2.8710006383657456, + 1.9273102951049803, + 0.8647150281906129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 920.7366, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3617565359920263, + 2.079939349913597, + -0.5856861970901488, + -0.16072266962528237, + 1.2208031419515608, + 1.863077091884613, + 2.6855830742359164, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.62, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.004745005629956722, + 0.001093511818908155, + -0.002022324362769723, + -0.003611444029957056, + -0.011031363159418106, + -0.0013529028510674834, + 0.010191795416176319, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 545.743896484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002088882029056549, + -0.0009160805493593216, + -0.0011564826127141714, + -0.006964823696762323, + 0.008905000053346157, + -0.002275642240419984, + -0.00712719326838851, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.5043334960938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.05028748884797096, + 0.015297401696443558, + 0.071743443608284, + 0.09484060853719711, + 0.09587708115577698, + 0.099430613219738, + 0.055593136698007584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 331.8141784667969, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0730854719877243, + 0.03070250153541565, + 0.06939690560102463, + 0.1734410673379898, + 0.13651607930660248, + 0.14600589871406555, + 0.10842622071504593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.7297058105469, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.20747764117717743, + -0.04162785339355471, + -0.20748130631446837, + -0.3386043548583984, + -0.4205680692672731, + -0.3368758692741394, + -0.11896564942598342, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.27733808026313783, + -0.11711480379104616, + -0.253275782763958, + -0.695207809829712, + -0.4655322723388673, + -0.4588191899299622, + -0.3640655764102936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.12971830923557282, + 0.06903154182434079, + 0.28166046774387365, + 0.34935000658035276, + 0.20638658781051622, + 0.3108922860622405, + 0.23591858417987832, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 922.6905999999999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24794143097400667, + 0.09158638322353363, + 0.2413436704993247, + 0.45366472196578966, + 0.5544114936828612, + 0.48090295810699457, + 0.34896428358554843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.7984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..0c0cfa3 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aida_l_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Realman_RMC-AIDA-L_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_693/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9936, + "num_frames": 317940, + "estimated_total_batches": null, + "train_episodes": 658, + "train_bytes": 36471840854, + "elapsed_sec": 89.87298893928528, + "frames_per_sec": 3537.6591315416026 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json new file mode 100644 index 0000000..d51c279 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.47839146852493286, + -2.059580087661743, + 0.6078921556472778, + 0.443592369556427, + 1.4694907665252686, + 1.1243274211883545, + -1.0638837814331055, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.576416015625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5341330766677856, + 2.0288519859313965, + -0.7328935861587524, + -0.5111697316169739, + -1.5132325887680054, + -1.0845743417739868, + 1.057655930519104, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 554.112548828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.21434840559959412, + 0.07314120978116989, + 1.1213843822479248, + 0.6602405905723572, + 1.2446599006652832, + 0.9368466138839722, + 1.2627320289611816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.1611633300781, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.239162877202034, + 0.08330599218606949, + 0.8705637454986572, + 0.5838403701782227, + 1.1899601221084595, + 0.9443362951278687, + 1.3015942573547363, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.4317932128906, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0482353521347045, + -2.1750113368034363, + -2.646780677318573, + -1.6032505451679229, + -2.4177295753479005, + -1.6492822704315186, + -2.8623494152069093, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.013312339687347463, + 1.8281194995880128, + -2.3761580247879026, + -1.6655417486190796, + -2.8879985211372374, + -2.024796287918091, + -2.8088368267059325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.027407007861137256, + -1.8577467799186707, + 2.8453764088153832, + 1.6954893584251405, + 2.870450235891343, + 2.0029636798858643, + 2.808081196403503, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1564803113937376, + 2.1062067033290863, + 2.2962332958221428, + 1.4867680027008054, + 2.3619786128520968, + 1.6406866954803467, + 2.8881806318759917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007135526975616813, + -0.0003534950374159962, + 0.0011087273014709353, + 0.00018156379519496113, + -0.0018077408894896507, + 0.00005206819696468301, + 0.0025921647902578115, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.2557983398438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0009018750279210508, + 0.0002198505389969796, + -0.0011170865036547184, + -0.000418089737650007, + 0.0012902384623885155, + 0.0009497611899860203, + -0.0008871746831573546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 553.1741333007812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1037909984588623, + 0.03418908268213272, + 0.14360260963439941, + 0.16961778700351715, + 0.20701688528060913, + 0.2258588671684265, + 0.24374830722808838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.0868225097656, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11896975338459015, + 0.0325104221701622, + 0.1677417755126953, + 0.19693401455879211, + 0.24006836116313934, + 0.22501049935817719, + 0.28681400418281555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.21026611328125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.33542436039447776, + -0.11812768712043764, + -0.5185220909118653, + -0.5681056449890136, + -0.7323143272399903, + -0.7057940410137173, + -0.9256965145111082, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4231953330039977, + -0.12260290641784666, + -0.5584167864799499, + -0.7264892864227295, + -0.8738897808074952, + -0.7326278971195221, + -1.0107426010131837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3840171305179596, + 0.12214941902160636, + 0.49682519912719725, + 0.6064030448913575, + 0.6977665336608885, + 0.7309729760646824, + 0.8620825569152837, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37962152361869816, + 0.10668836259841918, + 0.6009062723159793, + 0.6464898212432861, + 0.8375270114898674, + 0.6645073395252226, + 1.1167047012329103, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..b2e9bcb --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aidal_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/realman_rmc_aidal_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_18412/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 492790, + "num_frames": 15769266, + "estimated_total_batches": null, + "train_episodes": 17481, + "train_bytes": 1684550435506, + "elapsed_sec": 4069.850043296814, + "frames_per_sec": 3874.655290057317 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats.json new file mode 100644 index 0000000..d3ba750 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.4022698402404785, + 0.4008525311946869, + -1.8359957933425903, + 1.3991795778274536, + 1.6781357526779175, + -0.39159268140792847, + -0.11824289709329605, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5900587439537048, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.10200242698192596, + -0.36888185143470764, + 1.6269876956939697, + -1.5651452541351318, + -1.710113763809204, + 0.14229054749011993, + 0.0901879221200943, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219226956367493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3285321593284607, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.47184816002845764, + 0.26041191816329956, + 0.30844730138778687, + 0.4104193449020386, + 0.3992116451263428, + 0.5433208346366882, + 0.4647732377052307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.39009591937065125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2526223659515381, + 0.1727783977985382, + 0.15735691785812378, + 0.30363792181015015, + 0.3119509518146515, + 0.3184160590171814, + 0.3587453365325928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384997248649597, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08604823052883148, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.15512949786186214, + -0.000247655253857372, + -2.7533860206604004, + 0.018561795279711076, + 0.348873460650444, + -1.5701000690460205, + -1.888011309146881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.1755216784477236, + -0.9503723105043173, + 1.2927916605830192, + -2.0496549903660024, + -2.4722114605903625, + -0.1814788004875183, + -0.865350887775421, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1337790972352028, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.5952690245151522, + 1.1460021360963584, + -1.3690508592128754, + 2.049136744551986, + 2.751842607951164, + 0.8992856348037717, + 0.8812080025672913, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03684061706066122, + -0.09100282496213907, + 2.4757759820103646, + -0.0374427558146424, + -0.6511100595712662, + 1.4296446043968203, + 1.5782729723930364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007815549615770578, + -0.0006295735365711153, + 0.00006955656135687605, + -0.00046953416313044727, + -0.0009421160793863237, + -0.000566480855923146, + 0.0007163064437918365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5906252264976501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00038199048140086234, + 0.0004900511703453958, + -0.00028768597985617816, + -0.00026881968369707465, + -0.0003086130600422621, + -0.00019033218268305063, + -0.0003762365668080747, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219077944755554, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.32853180170059204, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.19541341066360474, + 0.145516499876976, + 0.15332399308681488, + 0.19865047931671143, + 0.16601331532001495, + 0.20398183166980743, + 0.18197141587734222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3904857337474823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09083140641450882, + 0.059260159730911255, + 0.07308832556009293, + 0.12470908463001251, + 0.09311696887016296, + 0.08739949762821198, + 0.1316150426864624, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384832441806793, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0860481858253479, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6090426849842071, + -0.4968913494586945, + -0.5529850662708282, + -0.6974553999900817, + -0.5849689860343932, + -0.8470925182104112, + -0.6177244747161865, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3506921148777007, + -0.20023923506736763, + -0.2488031871795655, + -0.4694817880868911, + -0.3406314041137697, + -0.31274263751506814, + -0.5059143760204314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.13361177916526795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6863681363344192, + 0.5567416855335237, + 0.4736135180950165, + 0.6609690598249438, + 0.5248469697237015, + 0.5392340588569642, + 0.5923228402614593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2980546859979629, + 0.20376526083946223, + 0.24556429748535136, + 0.442152768421173, + 0.33779594779014577, + 0.34090128064155567, + 0.4569228596687318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json new file mode 100644 index 0000000..b186237 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s17_a17", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s17_a17_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_1719/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 32248, + "num_frames": 1031909, + "estimated_total_batches": null, + "train_episodes": 1633, + "train_bytes": 232098850893, + "elapsed_sec": 277.61806178092957, + "frames_per_sec": 3717.009597215209 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/unified_action_space.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/unified_action_space.json new file mode 100644 index 0000000..46d05f0 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s17_a17/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "02e7c59245802e66825ab80d667297f376ddc17ad33bfbe771465efbd15789a2" +} diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats.json new file mode 100644 index 0000000..fe95813 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -1.3547803163528442, + 0.755029022693634, + 0.6068242788314819, + -0.9906300902366638, + 1.0170456171035767, + 1.3017445802688599, + -0.18157915771007538, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7635851502418518, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3421299457550049, + -0.7070972323417664, + -0.5880898833274841, + 1.0016454458236694, + -0.9842587113380432, + -1.3245666027069092, + 0.13256670534610748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7062156200408936, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0004295064427424222, + 0.3654797077178955, + 0.4781149625778198, + 0.404465913772583, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.40673211216926575, + 0.25750458240509033, + 0.44406312704086304, + 0.4298768639564514, + 0.4682933986186981, + 0.3272894322872162, + 0.4376765787601471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.319647878408432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.36325040459632874, + 0.26303979754447937, + 0.4294496476650238, + 0.41202446818351746, + 0.4376407861709595, + 0.26321712136268616, + 0.406250536441803, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.34777307510375977, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13882064819335938, + 0.0587720051407814, + 0.06267630308866501, + 0.06288386881351471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.623746828877926, + 0.422594678670168, + 0.26733380875587465, + -1.3614243242025375, + 0.5744161965847017, + -0.005409026861190824, + -1.6480314255952835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1908386861205101, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9897309021949767, + -1.3695025413155555, + -2.06178382396698, + -0.01326705760955793, + -2.081861891722679, + -1.5936958384633064, + -0.853074108362198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1906825377225876, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26186463236808777, + 0.2617471218109131, + 0.3489969074726105, + 0.31707038768529894, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.7302417573094369, + 1.3694030942618847, + 2.445421035337448, + 0.009004551577567854, + 2.326905642080307, + 1.601938715982437, + 0.8492856928110122, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0012754402011632, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.3719133356809614, + -0.09056340849399569, + -0.16903709316253668, + 1.3555171401977542, + -0.2900681381464003, + -0.5199884833097457, + 1.707816768169403, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0010545860767364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26176494808197015, + 0.43632417860031125, + 0.6108229170560837, + 0.5188367841541767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010563352843746543, + 0.0017160391435027122, + 0.005159545224159956, + 0.0022106990218162537, + 0.0014503959100693464, + -0.005501764826476574, + 0.0010637474479153752, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6935475468635559, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0027838535606861115, + -0.0005895814974792302, + -0.0026668307837098837, + -0.002813382539898157, + -0.0016497792676091194, + 0.002556455321609974, + -0.000546303519513458, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6242499947547913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00042965743341483176, + 0.36547815799713135, + 0.47811827063560486, + 0.4044669568538666, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1597946286201477, + 0.11818362027406693, + 0.14702743291854858, + 0.2084183245897293, + 0.16728796064853668, + 0.16486595571041107, + 0.15998083353042603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4545469284057617, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14823907613754272, + 0.12344123423099518, + 0.14680664241313934, + 0.18301677703857422, + 0.1618991196155548, + 0.11924934387207031, + 0.1484396904706955, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4780848026275635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1388205587863922, + 0.058782149106264114, + 0.06265798956155777, + 0.06288007646799088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6110378967523575, + -0.393797745513916, + -0.4590578153133391, + -0.6687536456108094, + -0.469356360435486, + -0.5654164524078369, + -0.5650752035140991, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4784718633651732, + -0.3966371303558349, + -0.4847236261367798, + -0.6575335870981217, + -0.660990184020996, + -0.41581965608596794, + -0.47923130426406857, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2619338631629944, + 0.26169419288635254, + 0.3489546775817871, + 0.317028849452734, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.49575549707412714, + 0.43070048446655274, + 0.4998851660966874, + 0.8407508171796798, + 0.6952995580434798, + 0.6087248458862304, + 0.5395712120056153, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4941145238876343, + 0.4433111068725586, + 0.5403243355751037, + 0.6182873335599899, + 0.45763365707397474, + 0.4022696802139283, + 0.5173421204090118, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2617077342569828, + 0.43634983854293824, + 0.6108512703180313, + 0.5187769077837467, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json new file mode 100644 index 0000000..5858b0e --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s41_a34", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s41_a34_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_6459/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 85004, + "num_frames": 2720116, + "estimated_total_batches": null, + "train_episodes": 6136, + "train_bytes": 1133795856617, + "elapsed_sec": 1135.4377226829529, + "frames_per_sec": 2395.654068611155 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/unified_action_space.json b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/unified_action_space.json new file mode 100644 index 0000000..167fead --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_ruantong_a2d_s41_a34/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c67f9a1a94cc29d855336aa75853afc3fe9f40256c371694d4c7688007dd8e61" +} diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6275d8 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1628706455230713, + 0.23347488045692444, + -0.04910242184996605, + 0.264553040266037, + 0.13043716549873352, + -0.33108076453208923, + -0.14998599886894226, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29194653034210205, + 0.6853201985359192, + 0.6170122027397156, + -0.6644286513328552, + -1.1213622093200684, + -0.6663221120834351, + -0.8499442934989929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.07948362082242966, + -0.17150138318538666, + 0.21232953667640686, + 0.0920492485165596, + -0.29347097873687744, + -0.30039313435554504, + 0.0853857547044754, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3021090030670166, + -0.6288666725158691, + -0.6771913170814514, + 0.6895211338996887, + 1.1751788854599, + 0.6504865884780884, + 0.8789990544319153, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3626730144023895, + 0.19216300547122955, + 0.2810690999031067, + 0.5205802321434021, + 0.5020791888237, + 0.5364598631858826, + 0.36660030484199524, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25213295221328735, + 0.207768052816391, + 0.4823054075241089, + 0.2749427855014801, + 0.6560249924659729, + 0.2500518560409546, + 0.6224695444107056, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3831944465637207, + 0.1589929163455963, + 0.24002577364444733, + 0.4983278810977936, + 0.46839040517807007, + 0.42183858156204224, + 0.32927024364471436, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25350189208984375, + 0.2528623938560486, + 0.5577102303504944, + 0.22081902623176575, + 0.6477662324905396, + 0.20423410832881927, + 0.6250683069229126, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0871391372680663, + -0.20876111135482786, + -0.8388713676452637, + -0.8200110165596008, + -0.7363758310317993, + -1.3833980978965759, + -0.7764279620170593, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.943547477543354, + 0.09146377477645873, + 0.017375269904732704, + -1.098071245956421, + -1.7251344782330096, + -1.131031814558804, + -1.6974872374732048, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0471447103023528, + -0.528865817463398, + -0.20733413085937502, + -0.8457812840938568, + -1.2295815105915069, + -1.2434954173088073, + -0.86912408721447, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.902100967156887, + -0.9165206720232963, + -1.7268712982222438, + 0.06079141880832613, + 0.014800074510276318, + 0.11157027700543404, + 0.01750687765069306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.47659769430160503, + 0.7076735383987427, + 0.45100675120353695, + 1.2377816146373748, + 1.335918707370758, + 0.9499077592849732, + 1.3439336926937102, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1254084028124809, + 0.9077776364326477, + 1.6320448531996459, + 0.013790484744310216, + -0.0170682890616356, + -0.011170641231536882, + -0.023183120945841296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5287259579181671, + 0.14627059165239342, + 0.8642253021240234, + 1.3658753696680068, + 0.684262245941162, + 0.594153723692894, + 0.7332529784440993, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21299966784715663, + 0.005030459719896352, + -0.014311032612621899, + 1.052727247415483, + 1.73224950031098, + 1.0908084644936025, + 1.6659874871112406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0016884017968550324, + 0.011546838097274303, + 0.00473940372467041, + -0.0024346469435840845, + -0.0031135918106883764, + -0.002420922042801976, + 0.0017203716561198235, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.2739558219909668, + 0.7384939193725586, + 0.6407151818275452, + -0.687782883644104, + -1.1394267082214355, + -0.6913239359855652, + -0.8725272417068481, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0007380479946732521, + -0.00810902751982212, + -0.0052103460766375065, + -0.002664201660081744, + 0.004933670163154602, + -0.002533601364120841, + -0.0018208746332675219, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26942676305770874, + -0.6645417809486389, + -0.6903152465820312, + 0.7051751017570496, + 1.1936242580413818, + 0.6750840544700623, + 0.8997586965560913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.15168355405330658, + 0.11104796826839447, + 0.14569349586963654, + 0.21772974729537964, + 0.2811240255832672, + 0.2331443876028061, + 0.23385126888751984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26519671082496643, + 0.20837455987930298, + 0.5007086396217346, + 0.2879154086112976, + 0.686345100402832, + 0.2576579451560974, + 0.6700758934020996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13862664997577667, + 0.07791885733604431, + 0.11473166942596436, + 0.2046445906162262, + 0.18303248286247253, + 0.15754161775112152, + 0.16820472478866577, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.27345746755599976, + 0.25550195574760437, + 0.5730949640274048, + 0.2446984052658081, + 0.6683359146118164, + 0.22920526564121246, + 0.6644843816757202, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4647418713569641, + -0.36247115948200226, + -0.4871022036075593, + -0.6902964536190033, + -0.9688063781738281, + -0.8738521937131882, + -0.7369811347961426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9890421652793884, + 0.19791983685493464, + -0.00033008601089240986, + -1.2235791976333363, + -1.7463293075561523, + -1.1852029679603175, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42307967765331267, + -0.26447365524768834, + -0.4067236483573914, + -0.6569536940097809, + -0.6593658556938171, + -0.4846822315454482, + -0.556758381319046, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9903689094781876, + -0.9210000038146973, + -1.7463293075561523, + -0.0010000000474974513, + -0.0003010683244559914, + 0.06110405158251524, + -0.0006505341859767214, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5710441195964813, + 0.37983955030441297, + 0.47168680982589706, + 0.7756827896118161, + 1.0283435638427734, + 0.7458742338418958, + 0.7903891201019286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2754032823443411, + 0.9206928329706192, + 1.6932202401782386, + 0.0006854407878826851, + 0.0006505341859766034, + 0.0006854407878826851, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5275774911642075, + 0.2503997765541076, + 0.3314345474720002, + 0.6707679876804353, + 0.5859755010604859, + 0.5634215530157092, + 0.5414131363868715, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24682292762994762, + -0.05346022585034371, + -0.00028526860064581605, + 1.091015984294936, + 1.7459798416946315, + 1.2084764054469996, + 1.7459798416946315, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..329799a --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_931/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 19765, + "num_frames": 632462, + "estimated_total_batches": null, + "train_episodes": 884, + "train_bytes": 137723586828, + "elapsed_sec": 202.07107949256897, + "frames_per_sec": 3129.898655404859 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/unified_action_space.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats.json new file mode 100644 index 0000000..6633804 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7445161938667297, + 0.2046411782503128, + -0.24800196290016174, + 0.9919590950012207, + 0.3741361200809479, + -0.2801648676395416, + -0.13361211121082306, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6758849024772644, + 0.8352697491645813, + 0.2204723358154297, + -0.3820844292640686, + -0.8395292162895203, + -0.3996052145957947, + -0.5619040131568909, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.36609283089637756, + -0.08858122676610947, + -0.30266183614730835, + 0.8333971500396729, + 0.29706326127052307, + -0.2599102556705475, + 0.45701661705970764, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10622099041938782, + -0.8759199976921082, + -0.34643176198005676, + 0.814652144908905, + 1.2110474109649658, + 0.567145049571991, + 0.9029716849327087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3898758292198181, + 0.20100830495357513, + 0.3866082727909088, + 0.4276141822338104, + 0.5115737915039062, + 0.2632923424243927, + 0.42600882053375244, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21897515654563904, + 0.10531293600797653, + 0.23290933668613434, + 0.2559126913547516, + 0.630479633808136, + 0.24550874531269073, + 0.5936964750289917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17779535055160522, + 0.11882677674293518, + 0.14129222929477692, + 0.3587522506713867, + 0.23949897289276123, + 0.2896011471748352, + 0.5105559229850769, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7211710214614868, + 0.13480520248413086, + 0.32516923546791077, + 0.28521132469177246, + 0.520041286945343, + 0.3791837990283966, + 0.6520012617111206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2224115524291992, + -0.2226963701248169, + -0.7868920280456543, + -0.01173839816451075, + -0.6705473416090012, + -0.9839372223377227, + -1.1950472702026367, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.008761749792099, + 0.3164234099209309, + 0.015529673546552658, + -1.0354845005345996, + -1.7086090141598136, + -1.0038791944533587, + -1.6925374082896858, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7371529162883759, + -0.3936914521664381, + -0.7073566943407059, + 0.038411684036254876, + -0.06361387825012206, + -0.9945685440063476, + -0.2427892891407013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.8244225978851318, + -0.917671856868267, + -1.6727701947420834, + 0.20956130823493002, + 0.016465356573462486, + -0.07792163744568825, + 0.013376317918300629, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.08535512161254899, + 0.6966267797470093, + 0.5173972716808319, + 1.3934486828446386, + 1.0134924908161163, + 0.3364450139045716, + 0.7313213119506838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.21198543627262112, + 0.9117449419245124, + 0.8466709901146591, + -0.025526101072493645, + -0.036378498886898036, + -0.01881221437454217, + -0.020673312769085017, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.015156626367568982, + 0.11028196246623989, + -0.07709463704824449, + 1.2660695624351501, + 0.8034028644561768, + 0.18856437225341782, + 1.5178833255529405, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0496813233375548, + -0.12920548431873324, + -0.01758571497499939, + 1.5300610191166402, + 1.7329283000670372, + 1.1529876285791396, + 1.7253991491645575, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001059380709193647, + 0.004219536203891039, + 0.0023536814842373133, + 0.004847630392760038, + -0.0044314186088740826, + 0.0032603945583105087, + 0.0002796429907903075, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6260432600975037, + 0.8834512829780579, + 0.23747524619102478, + -0.4212741553783417, + -0.8709027171134949, + -0.433660089969635, + -0.5984626412391663, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007231731899082661, + -0.001023879274725914, + -0.0034783456940203905, + -0.00010531584121054038, + 0.004821954760700464, + -0.0008869097218848765, + -0.000642355706077069, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.46016982197761536, + -0.8851051330566406, + -0.34612372517585754, + 0.8203089833259583, + 1.2152869701385498, + 0.7640361189842224, + 0.907231867313385, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.264655739068985, + 0.1654302030801773, + 0.2674410343170166, + 0.2734619677066803, + 0.3695032000541687, + 0.23066960275173187, + 0.32287293672561646, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984951436519623, + 0.08304513990879059, + 0.2572486400604248, + 0.3235522210597992, + 0.7256113886833191, + 0.30972957611083984, + 0.689659059047699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04034788906574249, + 0.0261350329965353, + 0.01804332062602043, + 0.06059056892991066, + 0.022570159286260605, + 0.035094913095235825, + 0.03205068036913872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21764817833900452, + 0.1374056339263916, + 0.3252909779548645, + 0.2921648323535919, + 0.5298183560371399, + 0.2756422162055969, + 0.677844226360321, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6967882361650467, + -0.376699486553669, + -0.7184161659240723, + -0.8877626407623291, + -1.1069273098468781, + -0.7469617376804352, + -1.1573144844055174, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + 0.4381441333025694, + -0.0006127584492787719, + -1.1355026049411623, + -1.7463293075561523, + -1.1958755969752557, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.10971371923685075, + -0.05946463347375394, + -0.05702475812435151, + -0.1925968414545059, + -0.058742796063423156, + -0.11493266266584395, + -0.0876838384628296, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + -0.9210000038146973, + -1.6743681746596237, + 0.20299266990423204, + 0.0007594325964921152, + 0.03485975554860197, + -0.000051340521336533114, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.9039022744178773, + 0.5056628809690475, + 0.8582687198638914, + 0.8934240812301635, + 1.1677811064720154, + 0.6654134750127794, + 1.2087200176239015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.06332860741019242, + 0.9208353751510382, + 0.943756352857803, + 0.0006854407878826851, + 0.0006505341859766034, + 0.000687336620897927, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13810114730000494, + 0.09025129990279673, + 0.04996730821132658, + 0.19269111961126328, + 0.0708820892572403, + 0.08923030090332035, + 0.08276398012638092, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13738033704161645, + -0.12135625495314606, + -0.001795823647105177, + 1.5714997634455563, + 1.745979983987019, + 1.4648461497579701, + 1.7459799615573373, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json new file mode 100644 index 0000000..18bb906 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high__episodes_227/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2287, + "num_frames": 73184, + "estimated_total_batches": null, + "train_episodes": 216, + "train_bytes": 3159483310, + "elapsed_sec": 28.13194966316223, + "frames_per_sec": 2601.4549605081866 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/unified_action_space.json b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unitree_g1_s28_a28_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats.json b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats.json new file mode 100644 index 0000000..fce0f58 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.4601517915725708, + 0.28574568033218384, + -0.28942522406578064, + 0.6302258372306824, + -0.4861578345298767, + -0.5207346081733704, + -0.1987939476966858, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1725141853094101, + 0.0685783177614212, + 0.12817345559597015, + -0.16918662190437317, + -0.4351489543914795, + -0.12865182757377625, + -0.2854554355144501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.35936683416366577, + -0.39935022592544556, + 0.258500337600708, + 0.5848162770271301, + 0.21070364117622375, + -0.6088512539863586, + -0.01831921748816967, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29934221506118774, + 0.19203908741474152, + -0.325772225856781, + 0.21082274615764618, + 0.3784441351890564, + 0.1499779373407364, + 0.3509950637817383, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2189597487449646, + 0.14171771705150604, + 0.43653634190559387, + 0.362621009349823, + 0.499917209148407, + 0.36899834871292114, + 0.22155988216400146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4452809989452362, + 0.6484705805778503, + 0.27489814162254333, + 0.4036325514316559, + 0.6206685304641724, + 0.3343346416950226, + 0.5257602334022522, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22628849744796753, + 0.1428905427455902, + 0.3611524999141693, + 0.4151686429977417, + 0.3856017589569092, + 0.3003835678100586, + 0.255756139755249, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22143076360225677, + 0.45618167519569397, + 0.5058495998382568, + 0.4284057021141052, + 0.5871851444244385, + 0.3656456768512726, + 0.5761141777038574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.101659857749939, + -0.018607720243930814, + -1.584791460418701, + -0.30841166829466815, + -1.360724712395668, + -1.1547250646352767, + -0.7063347400903701, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7200000286102295, + 0.0, + -1.5700000524520874, + -1.745300054550171, + -1.3875660463571549, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9737500015258789, + -0.7816216490864754, + -0.6477329211235047, + -0.3947790165305138, + -1.0113668236732483, + -1.1912066125869751, + -0.5944325535297394, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6045961649179459, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.18273090934753422, + 0.7255914891004562, + 0.7783089427948, + 1.3746503059208395, + 1.1035205349683763, + 0.49836549907922745, + 0.3299396315336227, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 0.9196720166802406, + 1.7449509945392607, + -0.0003140000104904228, + -0.0003490600109101738, + -0.0003140000104904228, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23939910240173345, + -0.08035749015212068, + 1.2898316625356676, + 1.499683491653204, + 0.7804335985660553, + 0.2747516059875488, + 0.6979348600387574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7197225100278855, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014253475237637758, + 0.004040827043354511, + 0.00401429645717144, + -0.0006249065627343953, + -0.0007871320121921599, + 0.004092377610504627, + -0.007282583974301815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.17188459634780884, + 0.09245369583368301, + 0.1286001205444336, + -0.17128616571426392, + -0.43959158658981323, + -0.13044847548007965, + -0.28975656628608704, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0018386616138741374, + -0.0017423932440578938, + -0.002052909228950739, + -0.0004560645029414445, + 0.006413742434233427, + -0.0015468160854652524, + 0.0011579451384022832, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29914090037345886, + 0.1900770366191864, + -0.3282303512096405, + 0.21167583763599396, + 0.3810122311115265, + 0.15109674632549286, + 0.3544777035713196, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08548260480165482, + 0.059953778982162476, + 0.14716483652591705, + 0.15606258809566498, + 0.15485815703868866, + 0.13305547833442688, + 0.08386557549238205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44540083408355713, + 0.6780035495758057, + 0.27485981583595276, + 0.40709882974624634, + 0.6220939755439758, + 0.3366040885448456, + 0.5278019905090332, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0954136922955513, + 0.053427211940288544, + 0.13860651850700378, + 0.17628909647464752, + 0.143167182803154, + 0.10808171331882477, + 0.08713337779045105, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22215959429740906, + 0.45735371112823486, + 0.5071426630020142, + 0.42950281500816345, + 0.5888646245002747, + 0.36695989966392517, + 0.5784511566162109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.28645844354629524, + -0.18376410233974455, + -0.46031000661849975, + -0.5777189530849457, + -0.525499416065216, + -0.40847072732448586, + -0.3366838617324829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7243000268936157, + 0.0, + -1.5707999467849731, + -1.745300054550171, + -1.3876446729898453, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3106002992868423, + -0.17958201030492782, + -0.5006137095689773, + -0.6031595508575439, + -0.48816414699554445, + -0.34850764927864075, + -0.2802416110396385, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6044009449958802, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.29917649668455115, + 0.21889999203681954, + 0.531090847492218, + 0.5048572306632997, + 0.5642101072788241, + 0.5288397431373595, + 0.24146718263626088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 1.046845664525032, + 1.7449509945392607, + -0.0003141599893570213, + -0.0003490600109101738, + -0.0003141599893570213, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32684008424282074, + 0.16315318412780755, + 0.41679275200367005, + 0.5781977668762206, + 0.5312393463134764, + 0.4175895518779753, + 0.3207163540005684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7240216483116149, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats_meta.json new file mode 100644 index 0000000..345f7da --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unknown_s30_a30_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unknown_s30_a30_fps30_cam_high__episodes_891/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 8154, + "num_frames": 260914, + "estimated_total_batches": null, + "train_episodes": 846, + "train_bytes": 20178322671, + "elapsed_sec": 82.17656183242798, + "frames_per_sec": 3175.041571245681 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/unified_action_space.json b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_unknown_s30_a30_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats.json b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats.json new file mode 100644 index 0000000..49a8dd4 --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 1.524367094039917, + -1.3065650463104248, + -0.5391265749931335, + -1.9779719114303589, + 0.042856667190790176, + 0.1487847864627838, + -0.05886118486523628, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6645289063453674, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.49284985661506653, + 1.0417016744613647, + -0.322103887796402, + 1.5314422845840454, + 0.26630860567092896, + -0.10916095227003098, + -0.5114750862121582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7098702192306519, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2897261083126068, + 0.19842040538787842, + 0.2448112666606903, + 0.21612223982810974, + 0.6295380592346191, + 0.2960987687110901, + 0.1680130958557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2784114181995392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.934599757194519, + 0.27511605620384216, + 0.8904873728752136, + 0.42886051535606384, + 0.34848248958587646, + 0.3541565239429474, + 0.565496027469635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1976504921913147, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.7376339052915573, + -1.6099701312497259, + -0.885706602358818, + -2.3163964335680007, + -1.0850703057050706, + -0.47425655221939084, + -0.44927409212589264, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.891990763092041, + 0.4447629337310792, + -1.839495149588585, + 0.5765320897683501, + -0.5520781661987304, + -0.735830457687378, + -1.3432193279266358, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.904548677366972, + -0.795198133945465, + 0.18943803424835215, + -1.2896517002105712, + 1.6342880125045776, + 0.7360185463428499, + 0.3375669756293296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9615902823448184, + 1.5525214227437973, + 0.9610611121892929, + 2.3590748086735607, + 0.9761594358444214, + 0.7660390744209289, + 0.45407201790809637, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00006569585093529895, + -0.0002367628476349637, + -0.0004524707910604775, + 0.0005102173890918493, + -0.001635607099160552, + -0.006574156228452921, + 0.0007140140514820814, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.665635883808136, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.01432245783507824, + 0.009032520465552807, + 0.010951328091323376, + 0.006414332427084446, + 0.004951334558427334, + 0.008958633057773113, + 0.008657954633235931, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.711277961730957, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1834850162267685, + 0.10580053180456161, + 0.18292799592018127, + 0.18817037343978882, + 0.3076501786708832, + 0.15092547237873077, + 0.1127411350607872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2779955565929413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45669886469841003, + 0.2752196490764618, + 0.40178874135017395, + 0.2569642961025238, + 0.2553403973579407, + 0.24139155447483063, + 0.1890239715576172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19659824669361115, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6143484880447387, + -0.39371692562103267, + -0.6777150949001312, + -0.6583128417015075, + -1.4426410250663757, + -0.6675770700454713, + -0.4131294379234314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.7665856656551362, + -0.8687658917427064, + -1.09206223115921, + -0.84294264087677, + -0.609202272439003, + -0.8176013734817504, + -0.6940191761016845, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6324825129508973, + 0.3164169328212738, + 0.6923210113048555, + 0.5968620174407961, + 1.15903103017807, + 0.5463467423677444, + 0.44189159464836125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2043245237350462, + 0.669174746847153, + 1.794497901535034, + 0.7042711029052735, + 0.8618204277515411, + 0.7357967818260196, + 0.7027042475700376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats_meta.json b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats_meta.json new file mode 100644 index 0000000..63d08ff --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_yinhe_s49_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/yinhe_s49_a16_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5452/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 153600, + "num_frames": 4915186, + "estimated_total_batches": null, + "train_episodes": 5179, + "train_bytes": 711128217385, + "elapsed_sec": 1323.132462978363, + "frames_per_sec": 3714.810223109443 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/unified_action_space.json b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/unified_action_space.json new file mode 100644 index 0000000..285dfcf --- /dev/null +++ b/assets/cotrain_real_robot/robocoin_yinhe_s49_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "df6e3ea1278ba06ec1cd8fc9405c482c55982b5ac43bbfb1dee1f5bfcd1a468a" +} diff --git a/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats.json b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats.json new file mode 100644 index 0000000..f699bd5 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2912142872810364, + 0.7706507444381714, + 0.8166523575782776, + -0.5391867160797119, + 0.17443010210990906, + -0.03291980177164078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.037457823753357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3165360689163208, + 0.7844910025596619, + 0.8448988199234009, + -0.6473979949951172, + -0.19697701930999756, + 0.09821853041648865, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.071836233139038, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.31844455003738403, + 0.6649036407470703, + 0.6359055638313293, + 0.3965521454811096, + 0.26199185848236084, + 0.19108326733112335, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6735684871673584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2895064651966095, + 0.5852402448654175, + 0.5345459580421448, + 0.4037196934223175, + 0.25300946831703186, + 0.17583996057510376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6739572286605835, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.1008532051086426, + 0.0013943950653076175, + 0.014930963516235352, + -1.3446834449768066, + -0.46284152030944825, + -0.5668264865875243, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.01151485834121704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09137299480438232, + 0.0024674806594848636, + 0.013868572044372559, + -1.356740512084961, + -0.730856520652771, + -0.36164791870117186, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.015304181719198822, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11911020965576169, + 2.1889521074295044, + 2.31054425239563, + 0.27205753517150866, + 0.8036104869842529, + 0.5188723945617677, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.357991581296921, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0514802862167358, + 2.167783304977417, + 2.112537544631958, + 0.07684082565307637, + 0.48839656925201425, + 0.5515233222961426, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.254145598340035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00031540499185211957, + -0.007605055347084999, + -0.013626378029584885, + 0.01294397097080946, + -0.008090313524007797, + 0.013309093192219734, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3646289110183716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0019422572804614902, + -0.007419590372592211, + -0.011846384033560753, + 0.012537145055830479, + 0.006900215987116098, + -0.007588144391775131, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5834583044052124, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1662832796573639, + 0.3357270061969757, + 0.2942589521408081, + 0.2550986111164093, + 0.16362538933753967, + 0.1354900598526001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.0903167724609375, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.15850712358951569, + 0.3416793942451477, + 0.28663069009780884, + 0.2630174458026886, + 0.13510547578334808, + 0.12409359216690063, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.1895596981048584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.521558889389038, + -1.025707421875, + -1.1375078313827516, + -0.7164978378295899, + -0.5593309104919433, + -0.39902141418457027, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09417187500000002, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5945680046081545, + -1.064510614013672, + -1.072522581100464, + -0.7810182523727416, + -0.42451723403930663, + -0.4333285047531128, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.16773752975463874, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6086202415466309, + 0.9857216306686398, + 0.8020620159149168, + 0.9357657577514651, + 0.5060111686706543, + 0.4612753326416015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.653624244689942, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5080000579833981, + 1.0137772064208983, + 0.8535642738342282, + 0.9668074893951419, + 0.47746843833923336, + 0.33230566730499245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.698792873382567, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..af277e0 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_agilex_cobot_magic_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 196965, + "num_frames": 6302870, + "estimated_total_batches": null, + "train_episodes": 9855, + "train_bytes": 1015824843385, + "elapsed_sec": 1625.2714269161224, + "frames_per_sec": 3878.0414739459275 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats.json new file mode 100644 index 0000000..56764de --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.02872992493212223, + -0.03250863403081894, + -0.044107649475336075, + -1.9217846393585205, + -0.03335548937320709, + 1.8634817600250244, + -0.09915560483932495, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27069082856178284, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007103583309799433, + 0.09939762949943542, + 0.17450419068336487, + -1.4917900562286377, + -0.14953744411468506, + 1.5298478603363037, + 0.17748871445655823, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17512521147727966, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24050824344158173, + 0.18076345324516296, + 0.162387877702713, + 0.3688068687915802, + 0.26190441846847534, + 0.38791725039482117, + 0.42700111865997314, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.38373228907585144, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20354995131492615, + 0.18818333745002747, + 0.14312860369682312, + 0.09749498218297958, + 0.42516154050827026, + 0.23171094059944153, + 0.315849632024765, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3484148383140564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7479126671791076, + -0.4948742458820343, + -0.4937059134244919, + -2.6657454515457153, + -0.7740779214859008, + 1.3427923250198364, + -1.4256502631664276, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26181291670799256, + -0.12531252807974816, + -0.14902960658073428, + -1.8273668120980262, + -1.7342645349979402, + 1.3332580568790435, + -0.24545768320560457, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.004200000000000001, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6294316546440124, + 0.4177898835539817, + 0.3835556173324586, + -1.4613578771591187, + 0.8686296574592591, + 2.6317525205612182, + 1.02927272901535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665686247253418, + 0.6005449758857488, + 0.5071338846683502, + -1.253091666698456, + 0.17801692837476724, + 2.4559928531885147, + 1.320400775194168, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00579951424151659, + 0.0009321922552771866, + 0.0001605675497557968, + 0.01468118466436863, + 0.004086125176399946, + -0.009518737904727459, + -0.0008803497767075896, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3470822870731354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.009737007319927216, + -0.0050971596501767635, + 0.003751665586605668, + 0.002095873700454831, + 0.007014834322035313, + -0.006377325858920813, + -0.0024907798506319523, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17645229399204254, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.18581676483154297, + 0.1604117602109909, + 0.09761915355920792, + 0.279049277305603, + 0.22557272017002106, + 0.3101310133934021, + 0.3323877155780792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4602535367012024, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1281752586364746, + 0.11369078606367111, + 0.07542045414447784, + 0.07059511542320251, + 0.24174679815769196, + 0.14355233311653137, + 0.23310133814811707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.35898837447166443, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6203167253017425, + -0.5089887523770332, + -0.31527611851692194, + -0.861568698644638, + -0.7907215990066527, + -0.9439559233188629, + -0.9502868450164795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5435035077095032, + -0.4396112471818924, + -0.27968518979549417, + -0.2505410222053528, + -1.0277889500141142, + -0.5418802068948746, + -0.8036095057487488, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.00437053572118748, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6547829939365386, + 0.47977734111547465, + 0.3555985690355301, + 0.6909391857385636, + 0.7429793606758119, + 0.839421225786209, + 1.1230383680343627, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3702085198402405, + 0.3635676041245459, + 0.25351028020381916, + 0.2524659325599672, + 1.0453574712753295, + 0.48159508218765246, + 1.0040429187774658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998000744047633, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..3c018d2 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_fr3_dual_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 11198, + "num_frames": 358321, + "estimated_total_batches": null, + "train_episodes": 1685, + "train_bytes": 186172127608, + "elapsed_sec": 205.53938150405884, + "frames_per_sec": 1743.3204156689756 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_fr3_dual_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats.json new file mode 100644 index 0000000..64bb6f7 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.050074514001607895, + 0.2168712615966797, + -0.04304725304245949, + -1.6480380296707153, + -0.04889731854200363, + 1.981959581375122, + 0.027210397645831108, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.31860384345054626, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20079824328422546, + 0.21306701004505157, + 0.14047782123088837, + 0.21161852777004242, + 0.18164995312690735, + 0.34882527589797974, + 0.35608425736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3863016366958618, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.43048445436954497, + -0.1407027938723564, + -0.4342776439547539, + -2.307061647772789, + -0.8071739921569825, + 1.4752378027439117, + -0.8850302599906921, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.605513199532032, + 0.7539548544883727, + 0.3651459789872169, + -1.2252477578639984, + 0.34580575790405277, + 2.9056127210855482, + 1.1405179331779483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006179585587233305, + -0.029241317883133888, + -0.004109390079975128, + -0.010029942728579044, + 0.002001858549192548, + -0.020291229709982872, + 0.00541237648576498, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3327816426753998, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17788256704807281, + 0.24914397299289703, + 0.10994547605514526, + 0.2059284746646881, + 0.1720099151134491, + 0.399440199136734, + 0.3174999952316284, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4199410378932953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5027609734058381, + -0.659905499958992, + -0.3669868229150772, + -0.6224279801130295, + -0.5189719449043273, + -1.0841700080633165, + -0.9586771881103513, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5086506120204923, + 0.5854389501810073, + 0.3575911468267441, + 0.6135797002315522, + 0.5958229855537414, + 1.0015189151763915, + 0.94854157409668, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..2c43271 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_panda_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 57958, + "num_frames": 1854642, + "estimated_total_batches": null, + "train_episodes": 14956, + "train_bytes": 282424151738, + "elapsed_sec": 465.4217314720154, + "frames_per_sec": 3984.8633499218436 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_panda_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats.json new file mode 100644 index 0000000..e18c97f --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.05431849882006645, + 0.2290264517068863, + 0.06054431572556496, + -1.7516008615493774, + -0.0009821689454838634, + 1.9669047594070435, + 0.10469292104244232, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3105355203151703, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.282229483127594, + 0.34571757912635803, + 0.26973626017570496, + 0.3954300284385681, + 0.2093062847852707, + 0.34419673681259155, + 0.6092366576194763, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32808253169059753, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7128893469333648, + -0.7831290235042573, + -0.7018777868747712, + -2.654962126095593, + -0.7293025332927703, + 1.2178158522874118, + -1.579328977584839, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008327009677886466, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7805238378047945, + 0.996611042022705, + 0.6962547571659083, + -0.801373397190869, + 0.5592271712780001, + 2.9440562456270682, + 1.834556310653686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7858265437364578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0003964641073253006, + -0.015292207710444927, + -0.005603020079433918, + 0.008090371266007423, + 0.0009030065848492086, + -0.013399748131632805, + 0.0025455045979470015, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3059731125831604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14430563151836395, + 0.23040126264095306, + 0.12359558790922165, + 0.25404950976371765, + 0.1299935132265091, + 0.2845810651779175, + 0.23000602424144745, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32761436700820923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4282694184303284, + -0.7556568478345871, + -0.3945588711738588, + -0.8038546324968339, + -0.384043906879425, + -0.9643010272979735, + -0.766740892744064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007800394535064648, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44182890958786025, + 0.5628056311607361, + 0.3584979928016665, + 0.8073955500125884, + 0.43689187560081466, + 0.7673846399307251, + 0.7996728756904603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7859916551351547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..b68a98f --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_franka_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 48250, + "num_frames": 1543972, + "estimated_total_batches": null, + "train_episodes": 8445, + "train_bytes": 675920469639, + "elapsed_sec": 665.9570224285126, + "frames_per_sec": 2318.4258863577616 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_franka_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats.json new file mode 100644 index 0000000..61b96fe --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041941363364458084, + 0.23306936025619507, + 0.05907498672604561, + -1.8461532592773438, + -0.008388909511268139, + 2.0598065853118896, + 0.03718278184533119, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16530641913414001, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3363783061504364, + 0.24904070794582367, + 0.27618101239204407, + 0.3934434950351715, + 0.12503312528133392, + 0.2713543772697449, + 0.481111615896225, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115025877952576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.842514001083374, + -0.14554469878673554, + -0.6748853764891625, + -2.5493086941719056, + -0.3112471418917179, + 1.444778957772255, + -1.0551550045967102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0010764459133148496, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8897254436969759, + 1.0443386925697327, + 0.5906232087850571, + -0.7863341999053957, + 0.31217047451734536, + 2.5325355393886566, + 2.0018143637895585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7445413999080657, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0013613005867227912, + -0.0019828719086945057, + -0.004892994649708271, + 0.040003255009651184, + 0.003110992955043912, + -0.026717711240053177, + 0.002946416148915887, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1649303436279297, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1734810769557953, + 0.18704959750175476, + 0.1274677813053131, + 0.26024433970451355, + 0.07944203168153763, + 0.23101893067359924, + 0.20181050896644592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115633845329285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5883622665405273, + -0.5670622599601746, + -0.4257954135894776, + -0.7182313198089599, + -0.22942946300506595, + -0.6761015580177308, + -0.6581925751209259, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007068812847137451, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5921108510971069, + 0.532150031197071, + 0.4482104328155516, + 0.7808476925373078, + 0.2439403713226318, + 0.6174762445449828, + 0.6635519044399261, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7441247965335847, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..fc6ca81 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_none_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1107, + "num_frames": 35418, + "estimated_total_batches": null, + "train_episodes": 211, + "train_bytes": 6706236456, + "elapsed_sec": 11.181196451187134, + "frames_per_sec": 3167.6395414946483 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_none_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json new file mode 100644 index 0000000..f9b87d7 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12862539291381836, + 0.10420803725719452, + 0.1507907211780548, + -1.6999670267105103, + -0.14460554718971252, + 1.9053664207458496, + 0.4335462749004364, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06511421501636505, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6245681643486023, + 0.34309419989585876, + 0.5870680809020996, + 0.40795278549194336, + 0.20813338458538055, + 0.2701113522052765, + 1.0759789943695068, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12459228187799454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -2.8998490468978884, + -0.7582584895730018, + -0.744865327835083, + -2.576282403945923, + -0.6427169109582901, + 1.281201576291985, + -2.211445552444458, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.001115015268325692, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8701619072914122, + 0.8050513436913491, + 2.8916868991851805, + -0.970624508154392, + 0.5479656597852707, + 2.4191241051438204, + 2.5220915309906005, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5271702873706818, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.004356690216809511, + -0.010021368972957134, + -0.005047916434705257, + -0.016711799427866936, + -0.011854293756186962, + 0.03055323101580143, + 0.029920563101768494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06573743373155594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17619915306568146, + 0.17244896292686462, + 0.18936899304389954, + 0.22039532661437988, + 0.11159107834100723, + 0.18016842007637024, + 0.2773687541484833, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12432067841291428, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.559387174797058, + -0.5706956774711609, + -0.5846574388504027, + -0.8416802699804307, + -0.3643048192501068, + -0.4927735840797425, + -0.7364192728042602, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008005832195281393, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5136722531795503, + 0.43214548578262324, + 0.5519980060100553, + 0.5205945446729658, + 0.3414099413871765, + 0.6120740163803098, + 1.1303667816162108, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5277051842689515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..a224597 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_no_front_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1067, + "num_frames": 34125, + "estimated_total_batches": null, + "train_episodes": 150, + "train_bytes": 7133719955, + "elapsed_sec": 11.634025812149048, + "frames_per_sec": 2933.2064885367827 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats.json new file mode 100644 index 0000000..4454c2c --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.058677639812231064, + -0.020728396251797676, + 0.061011988669633865, + -1.6386123895645142, + -0.0016661359695717692, + 1.85384202003479, + 0.0318516306579113, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.14600756764411926, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5181325078010559, + 0.3683291971683502, + 0.47908589243888855, + 0.40745365619659424, + 0.24538974463939667, + 0.3270070254802704, + 1.1062960624694824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22717800736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9134195173263548, + -0.9667847575187684, + -1.4075731660842894, + -2.5127280881881715, + -0.7051276074171067, + 1.1881394446477294, + -2.1848897399902345, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008432700586318953, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7120905005455018, + 0.8496470478296279, + 1.7842719498634345, + -0.7269027355104685, + 0.7306575120687486, + 2.559558767311461, + 2.2310024108886717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7833485061168672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0030864360742270947, + -0.014526627026498318, + -0.008263246156275272, + -0.021576467901468277, + 0.0018557735020294785, + 0.007785191759467125, + -0.005972929298877716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1463216096162796, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2138717919588089, + 0.20189231634140015, + 0.20727543532848358, + 0.25472593307495117, + 0.12306797504425049, + 0.25284504890441895, + 0.3214346170425415, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2268107682466507, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6992091821670527, + -0.6429719269752503, + -0.6553837590217593, + -0.8025883827686309, + -0.3720137566566468, + -0.8318469825267791, + -1.1202265443801882, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.009108828496933175, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665241785526276, + 0.5787899346351622, + 0.5988114666938777, + 0.802218522644043, + 0.40542664546966556, + 0.7172769757270818, + 1.1334667954444884, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.783179182076454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..8576f0d --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 53134, + "num_frames": 1700279, + "estimated_total_batches": null, + "train_episodes": 8662, + "train_bytes": 465501426716, + "elapsed_sec": 452.24869179725647, + "frames_per_sec": 3759.6106541359254 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/unified_action_space.json b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_franka_sim_simulation_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats.json b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..13cf76b --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.854895830154419, + 0.2895817458629608, + -0.21138238906860352, + -0.6613888740539551, + 0.4681619107723236, + -0.15557539463043213, + -0.1758464127779007, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9139211773872375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26177895069122314, + -0.08320410549640656, + 0.13457360863685608, + 0.3343433141708374, + -0.2124287337064743, + 0.036814019083976746, + 0.17251014709472656, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9292864799499512, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.5788174271583557, + 0.25051409006118774, + 0.3781653642654419, + 0.4176454544067383, + 0.6007633805274963, + 0.24877780675888062, + 0.2531377375125885, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1635691225528717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4761202931404114, + 0.1770811527967453, + 0.3033520579338074, + 0.3387700021266937, + 0.3307650685310364, + 0.14587220549583435, + 0.18914712965488434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10804925858974457, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.9158795733362437, + -0.0012460584171116347, + -1.2030685099601746, + -1.5389836430072785, + -0.4265326317191124, + -0.6112608863592148, + -0.6116086971282959, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4938, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.1381313104391098, + -0.7465972574207931, + -0.48163455011844636, + 0.06347694122642278, + -1.4407999408245087, + -0.28010992536544804, + -0.1230062010616064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4978, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.15307473979890363, + 0.8836218490540981, + 0.8103051093101503, + -0.08349389228224768, + 1.8251103843450545, + 0.40191861500740034, + 0.5704657346725464, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5632996891856195, + -0.0001370591828597778, + 1.187215044903755, + 1.339963426311314, + 0.27724807739257784, + 0.5678760509967802, + 0.6107980014324189, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0002876046346500516, + 0.000031505733204539865, + 0.0002759836206678301, + 0.00006468334322562441, + -0.0006845134194009006, + 0.00026760270702652633, + 0.00043154990999028087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.909492552280426, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00037748011527583003, + 0.0005291275447234511, + -0.00015418844122905284, + -0.00017428975843358785, + 0.0007537910132668912, + -0.00006510389357572421, + -0.00021084601758047938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9276549816131592, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08800079673528671, + 0.07691292464733124, + 0.125771164894104, + 0.12257508188486099, + 0.21586425602436066, + 0.07356905937194824, + 0.06248171627521515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17170776426792145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05351067706942558, + 0.052141688764095306, + 0.07220736891031265, + 0.05641496554017067, + 0.0876786857843399, + 0.03790133446455002, + 0.0318601094186306, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11763474345207214, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3049057404041289, + -0.23326391571760174, + -0.449493436717987, + -0.46661893243789676, + -0.8206052811384201, + -0.264598342704773, + -0.22057663996219634, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.179220182299614, + -0.19677410819530483, + -0.2365414365530012, + -0.17656873760223402, + -0.29757825162410745, + -0.13061386151313792, + -0.11544653077125544, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2864243935346604, + 0.27934236091375353, + 0.4529821054458618, + 0.3896261790275575, + 0.7331835649967196, + 0.24467797489166254, + 0.2423023993253708, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1760005448102948, + 0.19438928351402285, + 0.2754443703889846, + 0.20665088987350444, + 0.28490007309913645, + 0.1408833035707473, + 0.10577272950410843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..f366f10 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 102313, + "num_frames": 3274013, + "estimated_total_batches": null, + "train_episodes": 5402, + "train_bytes": 214477074867, + "elapsed_sec": 861.7713775634766, + "frames_per_sec": 3799.1665599950165 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/unified_action_space.json b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..bcdcf46 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.5683960318565369, + 0.22078832983970642, + -0.9512513875961304, + -0.4187726676464081, + -0.10543768852949142, + -0.6398162841796875, + -0.42031657695770264, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7417075634002686, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.4049739837646484, + -0.5157197117805481, + -0.6557912826538086, + 0.9174462556838989, + -0.31378185749053955, + 0.3021593987941742, + 0.06857848912477493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4635191261768341, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.064997598528862, + 0.07037549465894699, + 0.13303446769714355, + 0.11096090823411942, + 0.08682478964328766, + 0.11328177899122238, + 0.13669514656066895, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4326043128967285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6458616256713867, + 0.26487383246421814, + 0.6870888471603394, + 0.4772903025150299, + 0.3747406303882599, + 0.3143857717514038, + 0.2010403573513031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4886818826198578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7200056463241578, + 0.07263180047273636, + -1.2190638768672943, + -0.5876646458387375, + -0.2917385724902153, + -0.785775899887085, + -0.6443712908029556, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.3306755208015443, + -1.236551355423592, + -1.5572463144063948, + -0.05791391396522516, + -1.486474338889122, + -0.3266377056598663, + -0.3021904477119446, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.4484194566011429, + 0.3981429322063923, + -0.6136722717881203, + -0.19492976818084717, + 0.20381019022464752, + -0.33462102080285544, + -0.0783482120037079, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.5609298336505892, + -0.0006793295465874483, + 1.1604881446361541, + 1.7160904976725577, + 0.3718464797258374, + 0.7852976964950562, + 0.6216807430744171, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -1.9119422631774796e-6, + 0.00003626890611485578, + 0.000042202664189971983, + 2.2855781480757287e-6, + -0.000019521587091730908, + -0.00001689448436081875, + -0.00002351773582631722, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.995136022567749, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.020838096737861633, + 0.0010361943859606981, + -0.01129057165235281, + 0.014121136628091335, + 0.000757455884013325, + 0.00705363554880023, + -0.0017818119376897812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.627912700176239, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0007892947178333998, + 0.0006520548486150801, + 0.0009216390899382532, + 0.0005412636674009264, + 0.0006694264011457562, + 0.0009917672723531723, + 0.0009289574227295816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49194738268852234, + 0.19771817326545715, + 0.34000205993652344, + 0.36470067501068115, + 0.19369961321353912, + 0.24002011120319366, + 0.07210414856672287, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4697430729866028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.0017566436529159544, + -0.0015661208927631384, + -0.001643378257751467, + -0.0015505292415618896, + -0.001824682950973511, + -0.002112814867496482, + -0.0026672667026519936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9796605706214905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.3261862396717072, + -0.548191284418106, + -1.2032444964885711, + -1.0167676458120347, + -0.6221477860212326, + -0.6264349913597107, + -0.27403422360420227, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.002321670353412627, + 0.0019566214606165887, + 0.0028617384910583493, + 0.00153787824511528, + 0.0016360209584236132, + 0.0017452585577964752, + 0.0024165729403495817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999959321141243, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2985927095890046, + 0.5280053668022155, + 0.9517922229290008, + 1.048540046620369, + 0.6327526432275774, + 0.715945652127266, + 0.2349968707561494, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..94e52cb --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_prod1_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 50624, + "num_frames": 1619947, + "estimated_total_batches": null, + "train_episodes": 2811, + "train_bytes": 247276602528, + "elapsed_sec": 426.9908273220062, + "frames_per_sec": 3793.868383918118 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats.json b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats.json new file mode 100644 index 0000000..e0dfdfa --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.29493895173072815, + 0.22533413767814636, + -0.1456715613603592, + -0.37044036388397217, + 0.25953322649002075, + -0.2537669241428375, + -0.14796751737594604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6502549648284912, + 0.28052079677581787, + 0.018628237769007683, + -0.00005931760824751109, + -0.06009761989116669, + -0.08868148177862167, + -0.05306922644376755, + -0.08859807997941971, + -0.04932575672864914, + -0.08857344835996628, + -0.04816029965877533, + -0.0868636965751648, + 0.33901673555374146, + -0.36104950308799744, + 0.3739446997642517, + 0.5144957900047302, + -0.25866034626960754, + 0.25732022523880005, + 0.2567217946052551, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.649032711982727, + -0.2628367841243744, + 0.0007943143136799335, + 0.0005952698993496597, + -0.07441623508930206, + -0.11178402602672577, + -0.06531063467264175, + -0.10965787619352341, + -0.05747656151652336, + -0.11185495555400848, + -0.05255016312003136, + -0.11343297362327576, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.42973142862319946, + 0.34801846742630005, + 0.22365431487560272, + 0.386581152677536, + 0.2664882242679596, + 0.27903592586517334, + 0.29781287908554077, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07958385348320007, + 0.15354761481285095, + 0.0561688095331192, + 0.00017206600750796497, + 0.13671790063381195, + 0.20638827979564667, + 0.11897336691617966, + 0.20618008077144623, + 0.11050467938184738, + 0.2060556411743164, + 0.11131685972213745, + 0.20966513454914093, + 0.38633567094802856, + 0.40089690685272217, + 0.3132394552230835, + 0.5028060674667358, + 0.2161499261856079, + 0.31141015887260437, + 0.23277568817138672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08685781061649323, + 0.16592749953269958, + 0.04572189226746559, + 0.021475350484251976, + 0.1447831094264984, + 0.2241557538509369, + 0.1266137659549713, + 0.21892304718494415, + 0.11279409378767014, + 0.22407935559749603, + 0.11696896702051163, + 0.22903063893318176, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.551503319787979, + -0.00008664713095640764, + -1.0151768641114236, + -1.3711347912874714, + -0.09397810050845146, + -0.6224041401863099, + -0.6123663410186768, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.4750549368372108, + -0.1695621688306332, + -0.0018915223360061462, + -0.00034682036133017397, + -0.5079660029932856, + -0.7161228560261428, + -0.41106695767641066, + -0.7180858494855463, + -0.3930065343528986, + -0.7158253021121025, + -0.43914203009605407, + -0.7168896266222, + -0.09407012546062465, + -1.2874860653210445, + -0.17408913574218754, + -0.001973554491996765, + -0.709429707813263, + -0.6109878363609313, + -0.16301011209487914, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6588345624923706, + -0.35074032955169676, + -0.12010887455940245, + -0.0012235018730163416, + -0.4831454958856106, + -0.7578432049751282, + -0.4005000331997871, + -0.7217107752307659, + -0.37308507491350174, + -0.7606093155652285, + -0.38641987323760985, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.0888273763179781, + 1.1172733630652465, + 0.2808457560360431, + -0.0002945801234921497, + 0.9796338315457105, + 0.4171795751750469, + 0.3170011445522307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.3117895703554154, + 0.00018126516474876553, + 0.00030309055969124366, + 0.000028632073849399475, + 0.0002895187854766723, + 0.00010798151530322375, + 0.0008826640248298379, + 0.00007219264842572848, + 0.001360881042480444, + 0.00013528634309745158, + 1.1458640512943268, + -0.00027783659604163624, + 1.2385047981381414, + 1.7348896422088147, + 0.18065005381107335, + 0.614627125453949, + 0.694216549706459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.4432021089196205, + 0.1512626721620559, + 0.17926564176082604, + 0.000026741600036628288, + -0.00002473595589402855, + 0.00024811214208597665, + 0.004195320993661933, + -0.00017910952835265004, + 0.004062597829103454, + 0.0002905553966761065, + 0.01533390641212462, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007787835202179849, + 0.0004752471577376127, + -0.0004414436989463866, + -0.001414016354829073, + 0.0013652392663061619, + -0.00017888400179799646, + -0.0015178258763626218, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6531866788864136, + 0.28111645579338074, + 0.018650267273187637, + -0.00005974648956907913, + -0.0601251944899559, + -0.0887242928147316, + -0.053092923015356064, + -0.08864081650972366, + -0.04934830963611603, + -0.08861598372459412, + -0.048186045140028, + -0.0869021937251091, + -0.00015493706450797617, + -0.0017026631394401193, + 0.002548813121393323, + 0.00300780707038939, + -0.003767275018617511, + 0.0016496209427714348, + 0.004904294386506081, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.6519732475280762, + -0.26343226432800293, + 0.0008141772705130279, + 0.0005978844128549099, + -0.07443948835134506, + -0.11183939129114151, + -0.06535311043262482, + -0.10971058905124664, + -0.05751331150531769, + -0.11190853267908096, + -0.052590757608413696, + -0.11349154263734818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.03156838193535805, + 0.04225211963057518, + 0.021983617916703224, + 0.055804066359996796, + 0.027310846373438835, + 0.01656007580459118, + 0.03123629465699196, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.056290168315172195, + 0.1533438116312027, + 0.05616537109017372, + 0.0001719870779197663, + 0.1367076188325882, + 0.20637281239032745, + 0.11896534264087677, + 0.20616476237773895, + 0.11049602925777435, + 0.20604068040847778, + 0.11130741983652115, + 0.20963548123836517, + 0.04685088247060776, + 0.09096518158912659, + 0.04924608767032623, + 0.10160861164331436, + 0.05757398530840874, + 0.05817423388361931, + 0.06416540592908859, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06600471585988998, + 0.16580142080783844, + 0.04570968449115753, + 0.021479224786162376, + 0.1447719931602478, + 0.2241283804178238, + 0.12659254670143127, + 0.21889713406562805, + 0.11277542263269424, + 0.22405214607715607, + 0.116791270673275, + 0.22902773320674896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.09061183040142051, + -0.12404775338172913, + -0.0704024293661118, + -0.2184853252649307, + -0.06330916590690605, + -0.04272201628684996, + -0.06422994765043255, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.5703161955150513, + -0.1695621688306332, + -0.0015250724613666555, + -0.0003453201183583588, + -0.5081007151834667, + -0.7161228560261428, + -0.4112192991763354, + -0.7180858494855463, + -0.39313467007130387, + -0.7158253021121025, + -0.43934326486587527, + -0.7167883361458778, + -0.14155023992061622, + -0.38511696057319633, + -0.11559314941167831, + -0.28750722980499266, + -0.24779948472976687, + -0.16634117028713225, + -0.09492523908615103, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.65917573107481, + -0.35003675141334534, + -0.11971547834873197, + -0.0012235018730163416, + -0.48335779817700386, + -0.7578432049751282, + -0.400345036894083, + -0.7218900377564061, + -0.3732176400005818, + -0.7603991222307086, + -0.386447157740593, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.09489202313423162, + 0.1605967822551727, + 0.05606685764789576, + 0.17829083396196377, + 0.08422680478096012, + 0.03788482583761216, + 0.03299186817407607, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.31197279529273514, + 0.00017976492177695035, + 0.00016837836951022478, + 0.000028632073849399475, + 0.00028995392620556615, + 0.00010798151530322375, + 0.0004982568696141332, + 0.00007219264842572848, + 0.0011596462726592982, + 0.00015841935873028845, + 0.15761798739433286, + 0.2344477727532388, + 0.1723205381035804, + 0.43932262992858884, + 0.1318270815849305, + 0.22612803225517264, + 0.25317158517837535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.5372755635619164, + 0.1512626721620559, + 0.17887224555015568, + 0.000026741600036628288, + -0.00006495730280886569, + 0.00024811214208597665, + 0.003885328382253639, + -0.00017910952835265004, + 0.003930032742023526, + 0.0000803620621562251, + 0.015655354213714556, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats_meta.json new file mode 100644 index 0000000..18a2a87 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_real_s38_a38", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 3735, + "num_frames": 119501, + "estimated_total_batches": null, + "train_episodes": 139, + "train_bytes": 6479063622, + "elapsed_sec": 51.39154028892517, + "frames_per_sec": 2325.304891197284 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/unified_action_space.json b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/unified_action_space.json new file mode 100644 index 0000000..710243d --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_real_s38_a38/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "b214ec84bd00be699f7085aa13f8ce94a5ec68921992fce7c0a2940630f38cc4" +} diff --git a/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats.json b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats.json new file mode 100644 index 0000000..8f7426a --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2495279163122177, + 0.17678681015968323, + -0.9840797781944275, + -0.6926301717758179, + 1.2251882553100586, + 0.08307325094938278, + 0.08522151410579681, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34397265315055847, + -0.25304967164993286, + 0.9509468078613281, + 0.7654147744178772, + -1.22251558303833, + -0.13512815535068512, + -0.06612176448106766, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.26420679688453674, + 0.13415028154850006, + 0.47677046060562134, + 0.511353075504303, + 0.6439276337623596, + 0.20034494996070862, + 0.2428995817899704, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3252720534801483, + 0.1595543771982193, + 0.486541211605072, + 0.5197448134422302, + 0.6544333100318909, + 0.1909613460302353, + 0.23475730419158936, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0170531200945376, + 0.0, + -1.9335804850578309, + -1.6159020401239395, + -0.25997581577301027, + -0.4047948722839355, + -0.5596908693313598, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.08971182259917254, + -0.7222377280950547, + 0.0475586646986194, + 0.18000000715255737, + -2.268928050994873, + -0.6213911081552506, + -0.6453999876976013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11371559751033788, + 0.5683805625915528, + -0.04447098979949926, + -0.1803198071599008, + 2.268323050069809, + 0.5785365489721299, + 0.6123555083274841, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1841395626425744, + -0.0002228440999985093, + 2.0089757517626508, + 1.6936134419083595, + 0.35395139241218576, + 0.32321631383895877, + 0.5418778296709061, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014831935986876488, + 0.00015102946781553328, + -0.004482831805944443, + -0.0021639675833284855, + -0.005934550892561674, + 0.0005814277101308107, + -0.00021758537332061678, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.005549073684960604, + -0.0006271626916714013, + 0.011006377637386322, + 0.00345456856302917, + 0.01563883200287819, + -0.0009500636951997876, + 0.005533472169190645, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.07221410423517227, + 0.039718322455883026, + 0.10084698349237442, + 0.08547154814004898, + 0.1351594477891922, + 0.0650010034441948, + 0.07518996298313141, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0988258570432663, + 0.05644811689853668, + 0.13093487918376923, + 0.0978231281042099, + 0.16362877190113068, + 0.06877110153436661, + 0.09312713146209717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.21402704918384552, + -0.13221379663944244, + -0.42410457556247705, + -0.35352271614074704, + -0.5879369888305663, + -0.23091356999874113, + -0.27450559234619143, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42848923683166507, + -0.21466804106235504, + -0.3375219912767411, + -0.2965521077394486, + -0.4419407671213149, + -0.23360881233215336, + -0.27623119473457325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2823349166870117, + 0.14318757643699642, + 0.28834942476749426, + 0.26326848864555363, + 0.3942917404174806, + 0.23076029906272888, + 0.2654346179962157, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984188953399658, + 0.186484931564331, + 0.5955430841207503, + 0.3762691063404082, + 0.7537251217126846, + 0.2303286559104918, + 0.3970500724315644, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..4499b07 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_xsens_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 103821, + "num_frames": 3322263, + "estimated_total_batches": null, + "train_episodes": 5775, + "train_bytes": 286470910041, + "elapsed_sec": 845.7928259372711, + "frames_per_sec": 3927.986734007127 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/unified_action_space.json b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/unified_action_space.json new file mode 100644 index 0000000..afc0e4f --- /dev/null +++ b/assets/cotrain_real_robot/robomind_tienkung_xsens_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "f93c8bfa8b83fa2fe49ad228c9db87bc4dd52e69118c7113e7db614a87543653" +} diff --git a/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats.json b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats.json new file mode 100644 index 0000000..3128de2 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.695399284362793, + -1.8317350149154663, + -1.590991497039795, + -1.160853624343872, + 1.3332312107086182, + 1.140396237373352, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2627898156642914, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5578770637512207, + 0.2017889767885208, + 0.21438661217689514, + 0.2472410500049591, + 0.4078080952167511, + 0.5581804513931274, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.306593120098114, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.819643810081482, + -2.436006836152077, + -2.2742806310653685, + -1.6289931789040566, + 0.1827675726890564, + 0.06774346570968626, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.018836079356074332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 4.076547850751877, + -1.423432668375969, + -1.087432373046875, + -0.6889212518930434, + 2.1168328925490383, + 2.24854149518013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9015686275437474, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.19636471569538116, + -0.0574476420879364, + 0.013684072531759739, + 0.09973897784948349, + -0.03993012756109238, + -0.14549808204174042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3047395348548889, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5691956281661987, + 0.24521367251873016, + 0.22722239792346954, + 0.256473571062088, + 0.4543776214122772, + 0.5897438526153564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37293967604637146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.8262648647785187, + -0.6060506603240967, + -0.6010523344516754, + -0.47804851830005646, + -1.4664543380737305, + -1.7500526297569277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6849125693798066, + 0.605481555557251, + 0.5930862262487411, + 0.7191051467657088, + 1.1790077186584473, + 1.1551714324951172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats_meta.json b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats_meta.json new file mode 100644 index 0000000..34a61b6 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_ur5e_s7_a7", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 118080, + "num_frames": 3778539, + "estimated_total_batches": null, + "train_episodes": 25061, + "train_bytes": 185868082632, + "elapsed_sec": 956.0188310146332, + "frames_per_sec": 3952.3688000892153 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot/robomind_ur5e_s7_a7/unified_action_space.json b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/unified_action_space.json new file mode 100644 index 0000000..eee1142 --- /dev/null +++ b/assets/cotrain_real_robot/robomind_ur5e_s7_a7/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "6e093b089d4d4b4b7aa30decfa7266d28c6c842db12723952347da59fbb2cae4" +} diff --git a/assets/cotrain_real_robot_fix/agibot/norm_stats.json b/assets/cotrain_real_robot_fix/agibot/norm_stats.json new file mode 100644 index 0000000..3b0685f --- /dev/null +++ b/assets/cotrain_real_robot_fix/agibot/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.9210807681083679, + 0.5359001755714417, + 0.6545957326889038, + -0.7835156917572021, + 0.49938780069351196, + 1.1667169332504272, + 0.18891742825508118, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 68.11420440673828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9076082110404968, + -0.46920207142829895, + -0.6356353163719177, + 0.7388717532157898, + -0.563096821308136, + -1.190690040588379, + -0.2128467708826065, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 62.9249153137207, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158376656472683, + 0.43660369515419006, + 0.46915775537490845, + 0.28688758611679077, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.1222560405731201, + 0.7990611791610718, + 0.9331700801849365, + 0.4298188388347626, + 0.5488388538360596, + 0.4325656592845917, + 0.7940273284912109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 38.27954864501953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0739389657974243, + 0.7449344992637634, + 0.9927517175674438, + 0.43602320551872253, + 0.58744877576828, + 0.409100741147995, + 0.741567075252533, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 36.552215576171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.044218555092811584, + 0.09825704991817474, + 0.14466187357902527, + 0.10195881873369217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.3409746315956115, + -1.636828637123108, + -1.6977303141593931, + -1.4809685335159302, + -0.8208179449558255, + -0.6260671993255615, + -2.3568282432556154, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.4988072265625, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9538713235855103, + -1.5447361523151397, + -2.1905040143489836, + -0.29421191997528084, + -2.4507909409999846, + -1.73033405251503, + -2.070129588508606, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 34.645408143234256, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.9056857607841486, + 1.5327249885797505, + 2.1687543660163886, + 0.024525047016143775, + 1.6984838352680205, + 1.7286521408081055, + 1.8420831871032712, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 122.81813722076416, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.2422985345840454, + 1.4218171607971195, + 1.6568048201084142, + 1.475336287808418, + 0.9665897595882411, + 0.12981792721748353, + 2.1170754617691045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 121.32148989295959, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0007903198711574078, + 0.00011111732601420954, + 0.003278969321399927, + 0.0018502098973840475, + -0.0018388478783890605, + -0.0026262151077389717, + 0.0018169175600633025, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.42531853914260864, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0017990715568885207, + 0.00021451868815347552, + -0.005517459008842707, + -0.0024181653279811144, + 0.002791187958791852, + 0.002916863653808832, + -0.0025791008956730366, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3584616482257843, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.015158386901021004, + 0.43660271167755127, + 0.4691601097583771, + 0.28689104318618774, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.06166767701506615, + 0.06289893388748169, + 0.054367028176784515, + 0.06547970324754715, + 0.0702083557844162, + 0.07014007121324539, + 0.09278079867362976, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4933164119720459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06577219814062119, + 0.07637953013181686, + 0.06400372833013535, + 0.0757603719830513, + 0.07687703520059586, + 0.07965576648712158, + 0.10504146665334702, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.477949857711792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04421856254339218, + 0.09826167672872543, + 0.14465774595737457, + 0.10195144265890121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2101372690677643, + -0.2321174460649491, + -0.17257755661010732, + -0.20412157559394828, + -0.2611778012275696, + -0.27466095159053805, + -0.31812099928855897, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21728988885879508, + -0.24020811669826514, + -0.24614887866973878, + -0.2764002819538116, + -0.24440300831794737, + -0.2453194079399108, + -0.3429291203022, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14006894874572756, + 0.05231554777622224, + -9.386273188283635e-7, + -0.00002157160452043172, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20963992025852196, + 0.1999978750944138, + 0.2047261504173281, + 0.24245942616462712, + 0.22355237565040564, + 0.21409198014736175, + 0.31090978384017953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22425809392929086, + 0.27321109790802, + 0.18851629810333237, + 0.22489868850708006, + 0.27490250425338747, + 0.2988687011241915, + 0.3503418828487397, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08697387295961378, + 0.523526303935051, + 0.6805916502833599, + 0.44983564859252584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/agibot/norm_stats_meta.json b/assets/cotrain_real_robot_fix/agibot/norm_stats_meta.json new file mode 100644 index 0000000..dbd5f23 --- /dev/null +++ b/assets/cotrain_real_robot_fix/agibot/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "agibot", + "builder_dir": "/mnt/bos/bo23lu/AgiBot/agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986/agibot_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1059832, + "num_frames": 33914594, + "estimated_total_batches": null, + "train_episodes": 21837, + "train_bytes": 7547826566949, + "elapsed_sec": 9102.592523097992, + "frames_per_sec": 3725.8170036658357 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/agibot/unified_action_space.json b/assets/cotrain_real_robot_fix/agibot/unified_action_space.json new file mode 100644 index 0000000..cf12aa9 --- /dev/null +++ b/assets/cotrain_real_robot_fix/agibot/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "5e45fd3b2852b2a3e91da045db1d52fa4b8cd7429974403773734c355b6a795c" +} diff --git a/assets/cotrain_real_robot_fix/droid/norm_stats.json b/assets/cotrain_real_robot_fix/droid/norm_stats.json new file mode 100644 index 0000000..c9937ea --- /dev/null +++ b/assets/cotrain_real_robot_fix/droid/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.014264719560742378, + 0.23982040584087372, + -0.014591705054044724, + -2.0273144245147705, + -0.03576287254691124, + 2.323211669921875, + 0.0828426331281662, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3599560260772705, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32424554228782654, + 0.5158682465553284, + 0.28870725631713867, + 0.5025275349617004, + 0.5316236019134521, + 0.46866557002067566, + 0.7423588037490845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4027109742164612, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9240023367881773, + -0.8884155247688293, + -0.932663969230652, + -2.7749946952819826, + -1.845044603061676, + 1.1692317866563797, + -2.0730253297805787, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.982635237503052, + 1.4446059867143632, + 0.8277577193260188, + -0.44634648761749274, + 1.7120736752033237, + 3.5038524341106414, + 2.212446826171875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0009084727498702705, + 0.04833802580833435, + -0.0012050201185047626, + 0.03542366996407509, + -0.0021518415305763483, + 0.019638868048787117, + 0.006257439497858286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.40670886635780334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17263764142990112, + 0.32643333077430725, + 0.16556227207183838, + 0.29040563106536865, + 0.2672358453273773, + 0.28381240367889404, + 0.3206557035446167, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.43752798438072205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5209945830345153, + -0.7863647277832031, + -0.5066786664962768, + -0.82759104347229, + -0.8665996181488036, + -0.7820417912006377, + -0.9812896099090573, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5199369877338409, + 1.044959797668457, + 0.4928590750694273, + 0.9082127244472509, + 0.8440616558074954, + 0.8804159455299381, + 0.9947045337677007, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/droid/norm_stats_meta.json b/assets/cotrain_real_robot_fix/droid/norm_stats_meta.json new file mode 100644 index 0000000..3eaccb2 --- /dev/null +++ b/assets/cotrain_real_robot_fix/droid/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "droid", + "builder_dir": "/mnt/bos/bo23lu/DROID/droid_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 578829, + "num_frames": 18522518, + "estimated_total_batches": null, + "train_episodes": 64124, + "train_bytes": 1185946441420, + "elapsed_sec": 4512.591522216797, + "frames_per_sec": 4104.629880371018 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/droid/unified_action_space.json b/assets/cotrain_real_robot_fix/droid/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/droid/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/full_norm_run_meta.json b/assets/cotrain_real_robot_fix/full_norm_run_meta.json new file mode 100644 index 0000000..ebae671 --- /dev/null +++ b/assets/cotrain_real_robot_fix/full_norm_run_meta.json @@ -0,0 +1,527 @@ +{ + "config_name": "cotrain_real_robot", + "output_assets_dir": "/data/wudi/Atom-0/assets/cotrain_real_robot", + "dataset_id": null, + "skip_dataset_ids": [], + "copy_from_assets_name": null, + "datasets": [ + { + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "agibot", + "builder_dir": "/mnt/bos/bo23lu/AgiBot/agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986/agibot_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1059832, + "num_frames": 33914594, + "estimated_total_batches": null, + "train_episodes": 21837, + "train_bytes": 7547826566949, + "elapsed_sec": 9102.592523097992, + "frames_per_sec": 3725.8170036658357 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "droid", + "builder_dir": "/mnt/bos/bo23lu/DROID/droid_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 578829, + "num_frames": 18522518, + "estimated_total_batches": null, + "train_episodes": 64124, + "train_bytes": 1185946441420, + "elapsed_sec": 4512.591522216797, + "frames_per_sec": 4104.629880371018 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_cobot_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Agilex_Cobot_Magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_8284/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 187608, + "num_frames": 6003434, + "estimated_total_batches": null, + "train_episodes": 7870, + "train_bytes": 690618678004, + "elapsed_sec": 1551.8257114887238, + "frames_per_sec": 3868.6264543462707 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_airbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Airbot_MMK2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10532/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 81017, + "num_frames": 2592540, + "estimated_total_batches": null, + "train_episodes": 10005, + "train_bytes": 431087330611, + "elapsed_sec": 690.6267569065094, + "frames_per_sec": 3753.8945227269173 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_upper_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Galaxea_R1_Lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_3650/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 27171, + "num_frames": 869469, + "estimated_total_batches": null, + "train_episodes": 1337, + "train_bytes": 205435325084, + "elapsed_sec": 271.46593260765076, + "frames_per_sec": 3202.8659789758667 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aida_l_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Realman_RMC-AIDA-L_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_693/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9936, + "num_frames": 317940, + "estimated_total_batches": null, + "train_episodes": 658, + "train_bytes": 36471840854, + "elapsed_sec": 89.87298893928528, + "frames_per_sec": 3537.6591315416026 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_7778/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 142767, + "num_frames": 4568537, + "estimated_total_batches": null, + "train_episodes": 7389, + "train_bytes": 1807557839316, + "elapsed_sec": 1851.0555272102356, + "frames_per_sec": 2468.0712884314917 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps50_cam_high_cam_left_wrist_cam_right_wrist__episodes_3397/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 54108, + "num_frames": 1731438, + "estimated_total_batches": null, + "train_episodes": 3227, + "train_bytes": 264209590712, + "elapsed_sec": 452.58451652526855, + "frames_per_sec": 3825.667774260525 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_23712/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 413112, + "num_frames": 13219572, + "estimated_total_batches": null, + "train_episodes": 18406, + "train_bytes": 1649570846072, + "elapsed_sec": 3489.1643438339233, + "frames_per_sec": 3788.750169753891 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_aloha_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/aloha_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_4879/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 198055, + "num_frames": 6337741, + "estimated_total_batches": null, + "train_episodes": 4634, + "train_bytes": 962548578236, + "elapsed_sec": 1664.1732065677643, + "frames_per_sec": 3808.3421695456377 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_alpha_bot_2_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/alpha_bot_2_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_857/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 22703, + "num_frames": 726485, + "estimated_total_batches": null, + "train_episodes": 814, + "train_bytes": 109263908150, + "elapsed_sec": 205.29979014396667, + "frames_per_sec": 3538.6543721771545 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_discover_aitbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/discover_robotics_aitbot_mmk2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5747/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 36260, + "num_frames": 1160293, + "estimated_total_batches": null, + "train_episodes": 5460, + "train_bytes": 194302774076, + "elapsed_sec": 348.6094217300415, + "frames_per_sec": 3328.34664720713 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5167/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 245253, + "num_frames": 7848088, + "estimated_total_batches": null, + "train_episodes": 4886, + "train_bytes": 3346209600799, + "elapsed_sec": 3871.8957114219666, + "frames_per_sec": 2026.9368249894735 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s16_a18", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s16_a18_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_970/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9866, + "num_frames": 315700, + "estimated_total_batches": null, + "train_episodes": 922, + "train_bytes": 100400838947, + "elapsed_sec": 127.63867783546448, + "frames_per_sec": 2473.388202962743 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s118_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s118_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_17897/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 458510, + "num_frames": 14672292, + "estimated_total_batches": null, + "train_episodes": 17002, + "train_bytes": 4898931416952, + "elapsed_sec": 5203.681373596191, + "frames_per_sec": 2819.598462436255 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s54_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s54_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_394/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2062, + "num_frames": 65982, + "estimated_total_batches": null, + "train_episodes": 374, + "train_bytes": 22504353358, + "elapsed_sec": 31.398486614227295, + "frames_per_sec": 2101.4388626648715 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aidal_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/realman_rmc_aidal_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_18412/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 492790, + "num_frames": 15769266, + "estimated_total_batches": null, + "train_episodes": 17481, + "train_bytes": 1684550435506, + "elapsed_sec": 4069.850043296814, + "frames_per_sec": 3874.655290057317 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s17_a17", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s17_a17_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_1719/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 32248, + "num_frames": 1031909, + "estimated_total_batches": null, + "train_episodes": 1633, + "train_bytes": 232098850893, + "elapsed_sec": 277.61806178092957, + "frames_per_sec": 3717.009597215209 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s41_a34", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s41_a34_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_6459/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 85004, + "num_frames": 2720116, + "estimated_total_batches": null, + "train_episodes": 6136, + "train_bytes": 1133795856617, + "elapsed_sec": 1135.4377226829529, + "frames_per_sec": 2395.654068611155 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high__episodes_227/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2287, + "num_frames": 73184, + "estimated_total_batches": null, + "train_episodes": 216, + "train_bytes": 3159483310, + "elapsed_sec": 28.13194966316223, + "frames_per_sec": 2601.4549605081866 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_931/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 19765, + "num_frames": 632462, + "estimated_total_batches": null, + "train_episodes": 884, + "train_bytes": 137723586828, + "elapsed_sec": 202.07107949256897, + "frames_per_sec": 3129.898655404859 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unknown_s30_a30_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unknown_s30_a30_fps30_cam_high__episodes_891/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 8154, + "num_frames": 260914, + "estimated_total_batches": null, + "train_episodes": 846, + "train_bytes": 20178322671, + "elapsed_sec": 82.17656183242798, + "frames_per_sec": 3175.041571245681 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_yinhe_s49_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/yinhe_s49_a16_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5452/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 153600, + "num_frames": 4915186, + "estimated_total_batches": null, + "train_episodes": 5179, + "train_bytes": 711128217385, + "elapsed_sec": 1323.132462978363, + "frames_per_sec": 3714.810223109443 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_agilex_cobot_magic_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 196965, + "num_frames": 6302870, + "estimated_total_batches": null, + "train_episodes": 9855, + "train_bytes": 1015824843385, + "elapsed_sec": 1625.2714269161224, + "frames_per_sec": 3878.0414739459275 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_fr3_dual_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 11198, + "num_frames": 358321, + "estimated_total_batches": null, + "train_episodes": 1685, + "train_bytes": 186172127608, + "elapsed_sec": 205.53938150405884, + "frames_per_sec": 1743.3204156689756 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_panda_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 57958, + "num_frames": 1854642, + "estimated_total_batches": null, + "train_episodes": 14956, + "train_bytes": 282424151738, + "elapsed_sec": 465.4217314720154, + "frames_per_sec": 3984.8633499218436 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_franka_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 48250, + "num_frames": 1543972, + "estimated_total_batches": null, + "train_episodes": 8445, + "train_bytes": 675920469639, + "elapsed_sec": 665.9570224285126, + "frames_per_sec": 2318.4258863577616 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 53134, + "num_frames": 1700279, + "estimated_total_batches": null, + "train_episodes": 8662, + "train_bytes": 465501426716, + "elapsed_sec": 452.24869179725647, + "frames_per_sec": 3759.6106541359254 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_no_front_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1067, + "num_frames": 34125, + "estimated_total_batches": null, + "train_episodes": 150, + "train_bytes": 7133719955, + "elapsed_sec": 11.634025812149048, + "frames_per_sec": 2933.2064885367827 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_none_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1107, + "num_frames": 35418, + "estimated_total_batches": null, + "train_episodes": 211, + "train_bytes": 6706236456, + "elapsed_sec": 11.181196451187134, + "frames_per_sec": 3167.6395414946483 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 102313, + "num_frames": 3274013, + "estimated_total_batches": null, + "train_episodes": 5402, + "train_bytes": 214477074867, + "elapsed_sec": 861.7713775634766, + "frames_per_sec": 3799.1665599950165 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_prod1_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 50624, + "num_frames": 1619947, + "estimated_total_batches": null, + "train_episodes": 2811, + "train_bytes": 247276602528, + "elapsed_sec": 426.9908273220062, + "frames_per_sec": 3793.868383918118 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_xsens_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 103821, + "num_frames": 3322263, + "estimated_total_batches": null, + "train_episodes": 5775, + "train_bytes": 286470910041, + "elapsed_sec": 845.7928259372711, + "frames_per_sec": 3927.986734007127 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_real_s38_a38", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 3735, + "num_frames": 119501, + "estimated_total_batches": null, + "train_episodes": 139, + "train_bytes": 6479063622, + "elapsed_sec": 51.39154028892517, + "frames_per_sec": 2325.304891197284 + }, + { + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_ur5e_s7_a7", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 118080, + "num_frames": 3778539, + "estimated_total_batches": null, + "train_episodes": 25061, + "train_bytes": 185868082632, + "elapsed_sec": 956.0188310146332, + "frames_per_sec": 3952.3688000892153 + } + ] +} diff --git a/assets/cotrain_real_robot_fix/piper2/norm_stats.json b/assets/cotrain_real_robot_fix/piper2/norm_stats.json new file mode 100644 index 0000000..f4b690f --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper2/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.08570596575737, + 0.9424582123756409, + -0.5610473155975342, + -0.018378613516688347, + 0.15650981664657593, + -0.04922034963965416, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008945055305957794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22233717143535614, + 1.3927223682403564, + -0.8957882523536682, + 0.17042388021945953, + 0.3040333390235901, + -0.07112878561019897, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350892148911953, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1714383214712143, + 0.7361369132995605, + 0.5368331670761108, + 0.3496498763561249, + 0.4911200702190399, + 0.28332507610321045, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.02536850981414318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2436714768409729, + 0.651149570941925, + 0.6894615888595581, + 0.3136552572250366, + 0.6569122076034546, + 0.2134801149368286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030022503808140755, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4991710331201553, + 0.0054144344157539305, + -1.7947804824004416, + -1.1790875864982606, + -0.9716636402130128, + -0.539963323020935, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2646023983061313, + 0.08680244942149147, + -2.2326956740360706, + -0.39387080802917473, + -0.9721601041316986, + -0.6741397899150849, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.38600136826038356, + 2.2529563539030497, + -0.002522718032682114, + 0.6737772881984712, + 1.2084734504699708, + 0.8707268574714662, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7167606556713582, + 2.391043433867162, + 0.00008864541053776875, + 1.1195562719345094, + 1.2258558490276337, + 0.3745928731918333, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010017158929258585, + 0.0017170342616736889, + -0.0017244319897145033, + -0.005731134209781885, + 0.002714053960517049, + 0.002033872064203024, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008943209424614906, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0010065166279673576, + 0.0033344815019518137, + -0.00027303790557198226, + 0.0020667631179094315, + 0.001737685059197247, + -0.0029692337848246098, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.01350709330290556, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08381801843643188, + 0.31304702162742615, + 0.23983915150165558, + 0.10776226967573166, + 0.18366022408008575, + 0.09571901708841324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025366676971316338, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1489294171333313, + 0.33599135279655457, + 0.27681979537010193, + 0.1537630707025528, + 0.19053618609905243, + 0.09432122856378555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.030021704733371735, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3243094861030579, + -0.9993304105758667, + -0.7881305526733398, + -0.4524798871994018, + -0.6921295278072357, + -0.2691142694234848, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.002318800112977624, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5554006125926971, + -1.084025181722641, + -0.9235458539009094, + -0.5143094916582107, + -0.686023402261734, + -0.3556695580482483, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003800000064074993, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3279062141418456, + 1.0899867341041567, + 0.9700191698074341, + 0.33629278821945197, + 0.6258798820972444, + 0.406562376332283, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09907970115607603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4854212229251862, + 1.2325074484825134, + 0.9927912852764131, + 0.5601088427543641, + 0.6361501549243929, + 0.30015870928764343, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09959649641532452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/piper2/norm_stats_meta.json b/assets/cotrain_real_robot_fix/piper2/norm_stats_meta.json new file mode 100644 index 0000000..c3f6eff --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper2/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "piper2", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 21548, + "num_frames": 689528, + "estimated_total_batches": null, + "train_episodes": 902, + "train_bytes": 111529419925, + "elapsed_sec": 182.0517978668213, + "frames_per_sec": 3787.537437583667 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/piper2/unified_action_space.json b/assets/cotrain_real_robot_fix/piper2/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper2/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/piper30/norm_stats.json b/assets/cotrain_real_robot_fix/piper30/norm_stats.json new file mode 100644 index 0000000..7e4b702 --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.08737307041883469, + 1.0953994989395142, + -0.821331262588501, + 0.15251709520816803, + 0.4993223249912262, + -0.08671002835035324, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.016357315704226494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.051994405686855316, + 0.6898560523986816, + -0.4541918933391571, + -0.24467997252941132, + 0.26987171173095703, + 0.18143217265605927, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007753136567771435, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2868099808692932, + 0.8798884749412537, + 0.7222753167152405, + 0.7446919679641724, + 0.5128063559532166, + 0.629437267780304, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03423196077346802, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18338783085346222, + 0.8041480183601379, + 0.5695235729217529, + 0.677094042301178, + 0.45993149280548096, + 0.5101659893989563, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025858882814645767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.48970193145275115, + -0.00043919531644787645, + -2.29064900592342, + -1.597105912566185, + -0.2944919108390809, + -1.6354926676750183, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.45787846466302873, + -0.005599666852504015, + -1.818879740881827, + -1.7327060890197754, + -0.7119369508743285, + -0.9796926288843155, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.890928191637993, + 2.508617184537439, + 0.0021993396155535194, + 1.7347798178911207, + 1.2541333590745922, + 1.6585437088012696, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5623895115494728, + 2.186986375693791, + 0.00564035423500453, + 1.408437099456787, + 1.2125430245399476, + 1.5564807460308074, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001188037102110684, + -0.0033542870078235865, + 0.004400196485221386, + -0.0028323382139205933, + -0.0015195368323475122, + 0.002721932251006365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.017288101837038994, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00031630470766685903, + 0.00013673616922460496, + -0.0002151419030269608, + -0.0006771574262529612, + 0.0002553860249463469, + -0.00034903758205473423, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008260202594101429, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13685013353824615, + 0.4660901427268982, + 0.3690923750400543, + 0.3494621515274048, + 0.28257957100868225, + 0.31252312660217285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03510034456849098, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08642010390758514, + 0.30906790494918823, + 0.224879652261734, + 0.20891116559505463, + 0.18015824258327484, + 0.202719584107399, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.026628535240888596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.5632874671697616, + -1.625787436580658, + -1.1869233741760252, + -1.3135088970661164, + -1.0423710818052292, + -1.049885765504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3428865031480789, + -1.169913307905197, + -0.913574746274948, + -0.7581958461761471, + -0.6523888399124145, + -0.7960410856246949, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.41478261446952813, + 1.6800629229068758, + 1.425927872848511, + 1.3184264080047603, + 1.0416255737543105, + 1.189476832151413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32284709212780016, + 1.305864639520645, + 0.9142873680591586, + 0.8233775739669804, + 0.7752770959854125, + 0.6917715557098387, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/piper30/norm_stats_meta.json b/assets/cotrain_real_robot_fix/piper30/norm_stats_meta.json new file mode 100644 index 0000000..7fcf00e --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/piper30/unified_action_space.json b/assets/cotrain_real_robot_fix/piper30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/piper30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json new file mode 100644 index 0000000..6693060 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.19811221957206726, + 0.772533118724823, + -0.8077450394630432, + -0.028649263083934784, + 0.8329925537109375, + 0.1338183581829071, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6504519581794739, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.213411346077919, + 0.936856210231781, + -0.8555614352226257, + 0.052240047603845596, + 0.8344802260398865, + -0.13020701706409454, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6270856261253357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.28874093294143677, + 0.9208551049232483, + 0.47005847096443176, + 0.3561064600944519, + 0.4977680742740631, + 0.4375063478946686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40372464060783386, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.29861217737197876, + 0.9481472373008728, + 0.46235257387161255, + 0.424010694026947, + 0.45311257243156433, + 0.437126100063324, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40041401982307434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0729224056005477, + -0.01197078370004892, + -2.2129377588272092, + -1.6497411670684814, + -1.1689142931699754, + -0.6284993870735169, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.14700397849082947, + -0.01449557845443487, + -2.117433346748352, + -1.4916880182743073, + -1.008069571685791, + -1.5053448512077332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.1663727890253066, + 2.4838475979313257, + -0.36945127830505387, + 1.2129275941848756, + 1.2130273148536679, + 2.074979570531845, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0338315951824188, + 2.445226298929751, + -0.36191145629882815, + 1.535950502681732, + 1.217853112411499, + 0.877599804019928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00009146828961092979, + -0.0016088075935840607, + 0.0007087555713951588, + -0.000026479769076104276, + 0.00020575610687956214, + 0.00001443375185772311, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6503733396530151, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0000202807059395127, + -0.0018799782264977694, + 0.0007903146906755865, + -0.00026286765933036804, + 0.0001462479995097965, + 0.00015752519539091736, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6271259188652039, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.12023629993200302, + 0.322498619556427, + 0.1985558718442917, + 0.14494362473487854, + 0.19618654251098633, + 0.1817934215068817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4035850465297699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13321657478809357, + 0.34202784299850464, + 0.2128268927335739, + 0.15731655061244965, + 0.1797640025615692, + 0.19996008276939392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.40015628933906555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4558506237030029, + -1.2673018789291381, + -0.63129927778244, + -0.4630223393440245, + -0.5986795719146729, + -0.6356411955833434, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.000586399725265801, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5149496856689453, + -1.3162814127922058, + -0.6802423383712766, + -0.5557396152496339, + -0.549421439886093, + -0.7112965393543245, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0001424004912376417, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4595871042251587, + 1.1543425884246825, + 0.8348300868988039, + 0.4428232517242434, + 0.6962429767608644, + 0.6384128303527827, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997992000000551, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49019248924255354, + 1.2172323634624478, + 0.8798893958568579, + 0.5399059474945069, + 0.6080126795768739, + 0.7685098371028896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9997936999998986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..f32d261 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_cobot_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Agilex_Cobot_Magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_8284/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 187608, + "num_frames": 6003434, + "estimated_total_batches": null, + "train_episodes": 7870, + "train_bytes": 690618678004, + "elapsed_sec": 1551.8257114887238, + "frames_per_sec": 3868.6264543462707 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json new file mode 100644 index 0000000..ed9f81b --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_cobot_magic_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9fbd0a367f6d113a176cae2124ffec508f6202dee702a6b29236e6e8f60d0775" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json new file mode 100644 index 0000000..8c2d277 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.17712397873401642, + 0.810139000415802, + -0.6855402588844299, + -0.11222872883081436, + 0.6206351518630981, + -0.015597881749272346, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.12833420932292938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.20979192852973938, + 0.7679632306098938, + -0.6718887686729431, + 0.12151588499546051, + 0.6151161789894104, + -0.0631631389260292, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1681675761938095, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2495959997177124, + 0.8154167532920837, + 0.6811779141426086, + 0.31063228845596313, + 0.35135722160339355, + 0.36757487058639526, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16275501251220703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2519766390323639, + 0.8133144378662109, + 3.9310410022735596, + 0.27127107977867126, + 3.887181282043457, + 0.3052545189857483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16318519413471222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.8187637863636017, + -0.02233026457130909, + -2.2677624532647433, + -1.1966205580234528, + -0.281935452222824, + -0.8411327709198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.20716872844696044, + -0.017633342403545978, + -2.928503234863282, + -0.45736086540222165, + -0.40014072451591487, + -1.0153934538841247, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.28984460719823835, + 2.3611703608632086, + 0.030060533820092772, + 0.5438134195804598, + 1.2402318687438965, + 1.1925266407012938, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8714975715160369, + 2.347538023441285, + -0.006531738281250199, + 0.9904942384719853, + 1.255498284292221, + 0.6571380303382872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.000010739619938249234, + -0.00011467040894785896, + 0.00014792964793741703, + 0.0007788547081872821, + 0.0009138808236457407, + 0.0005021721590310335, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1263725459575653, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00003737088627531193, + -9.091671017813496e-6, + 0.000014992138858360704, + -0.0002670294779818505, + -0.000504948606248945, + -0.0003584008663892746, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16686192154884338, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13647353649139404, + 0.3363063931465149, + 0.29653409123420715, + 0.17680639028549194, + 0.2150084674358368, + 0.16584904491901398, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16264137625694275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1296338587999344, + 0.3418736457824707, + 4.995156764984131, + 0.17120759189128876, + 4.817986965179443, + 0.17061470448970795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.16310515999794006, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.46183118805885304, + -1.1268640749931336, + -0.9779461513519287, + -0.6261398021697997, + -0.6543991428375244, + -0.5273366480827333, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.036514745473861694, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4657173981189727, + -1.2373619970321654, + -2.843096435547068, + -0.5746413822174072, + -1.665887695312449, + -0.6153451510906218, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.022415564626455307, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4982637989044192, + 1.243240743112564, + 1.0069862585067746, + 0.5738323686599736, + 0.8133578369140624, + 0.5755800625801086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5767497708797455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44999427776336676, + 1.1858594246387484, + -0.3609619140625, + 0.5913829717636108, + -0.011474609375, + 0.5490435281276707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5836906126737594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json new file mode 100644 index 0000000..442082b --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_7778/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 142767, + "num_frames": 4568537, + "estimated_total_batches": null, + "train_episodes": 7389, + "train_bytes": 1807557839316, + "elapsed_sec": 1851.0555272102356, + "frames_per_sec": 2468.0712884314917 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json new file mode 100644 index 0000000..1b7d607 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.18395932018756866, + 0.6204625964164734, + -0.4631445109844208, + -0.23754161596298218, + 0.4260796904563904, + 0.19697996973991394, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.03740339353680611, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34836313128471375, + 0.9311373829841614, + -0.6445428133010864, + 0.1876247376203537, + 0.5610071420669556, + -0.2014002650976181, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06348947435617447, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 8.889402389526367, + 0.8190888166427612, + 6.3224287033081055, + 0.5763419270515442, + 8.891359329223633, + 0.6356603503227234, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1149676963686943, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 7.469509124755859, + 0.8587527275085449, + 10.9024019241333, + 0.5616274476051331, + 17.77461051940918, + 0.497711181640625, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1467103362083435, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2224408164978016, + -0.048768813323974314, + -3.1735438541412364, + -1.754286388516423, + -1.0873907352447496, + -1.7334829847335815, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.010585385131834713, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.32128357887268066, + -0.029370736694339428, + -2.3842309326171893, + -1.6665922879934314, + -1.6808630374908446, + -1.864675362110138, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.030337583923339295, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.028758340454100306, + 2.2350878536224386, + -0.252602658843994, + 1.732205913901332, + 0.9988536895751956, + 2.2490956929683685, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4851716857910162, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1486983525276184, + 2.3825244842529294, + -0.2982371582031256, + 1.6962036300897623, + 0.811102850341797, + 0.850507028102875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5553146308898924, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000168978440342471, + -0.00004291267759981565, + -0.008930332958698273, + 0.0005509143229573965, + 0.001174811739474535, + 0.00036979885771870613, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.03738488256931305, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.052020419389009476, + -0.00030458776745945215, + 0.0002838746877387166, + -0.0010981028899550438, + 0.0015408481704071164, + -0.00013526561087928712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06346680968999863, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 11.449225425720215, + 0.2850877344608307, + 6.8585004806518555, + 0.2127268761396408, + 11.449126243591309, + 0.19846822321414948, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.114939384162426, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 12.08963680267334, + 0.3889652192592621, + 14.02609634399414, + 0.2564218044281006, + 22.619991302490234, + 0.21812041103839874, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1467045396566391, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -3.307166406249962, + -1.0169535324096692, + -1.7231761718749112, + -0.7101557079315199, + -0.9217864257811925, + -0.6735999629974365, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.010585385131834713, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0927529046773912, + -1.2218059524536145, + -1.4543429687500975, + -0.8870759811401356, + -3.3070429687504657, + -0.7426593418121337, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.030337583923339295, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.0, + 1.06085080718994, + -0.069580078125, + 0.7230888339996326, + -0.094970703125, + 0.7179217052459719, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4851716857910162, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.35748368697166444, + 1.2583869689941416, + 0.199462890625, + 0.7453906723022463, + 0.0, + 0.7603769851684574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5553146308898924, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json new file mode 100644 index 0000000..a931283 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s14_a14_fps50_cam_high_cam_left_wrist_cam_right_wrist__episodes_3397/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 54108, + "num_frames": 1731438, + "estimated_total_batches": null, + "train_episodes": 3227, + "train_bytes": 264209590712, + "elapsed_sec": 452.58451652526855, + "frames_per_sec": 3825.667774260525 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s14_a14_fps50/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json new file mode 100644 index 0000000..507448d --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1473880410194397, + 1.0951837301254272, + -0.8093733787536621, + -0.044470593333244324, + 0.6143806576728821, + 0.10511482506990433, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34241217374801636, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2605332136154175, + 1.1816539764404297, + -0.9464854001998901, + 0.11799541115760803, + 0.8017933964729309, + -0.17529724538326263, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.405638188123703, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 41.68538284301758, + 0.9224587678909302, + 38.59687042236328, + 0.6133480072021484, + 47.269283294677734, + 0.5478372573852539, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21091148257255554, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 32.797828674316406, + 0.9076418876647949, + 48.98924255371094, + 0.5494855046272278, + 36.38861846923828, + 0.5369770526885986, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19287677109241486, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -5.736323272705079, + -0.33980635690687677, + -5.736323272705079, + -2.075542514848678, + -5.736323272705079, + -1.100138540649425, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.01225560375750065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7841103076934814, + -0.041734788560859215, + -5.736323272705079, + -1.6427277302742027, + -1.374133825302124, + -2.087989719390862, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008527963295578964, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -5.736323272705079, + 2.2613047045707617, + -5.736323272705079, + 1.2822194180488964, + 0.9365347900390475, + 1.9173174562931194, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6947139580100774, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.7841103076934814, + 2.5007953918457133, + -5.736323272705079, + 1.6563580117225456, + -1.374133825302124, + 0.8698811097145267, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6936624691188336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000662580132484436, + -0.01188171748071909, + 0.004983395803719759, + 0.004785665310919285, + 0.059429604560136795, + -0.003149193711578846, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3419666290283203, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0008587968768551946, + -0.011704837903380394, + -0.00011223426554352045, + -0.004071489907801151, + 0.0016946460818871856, + 0.0025044300127774477, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4053061008453369, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 58.244407653808594, + 0.4607780873775482, + 54.42818832397461, + 0.4003729224205017, + 79.35120391845703, + 0.3238682746887207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21048828959465027, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 46.16695022583008, + 0.3498035669326782, + 67.50092315673828, + 0.35201311111450195, + 51.13288497924805, + 0.336516410112381, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1928727924823761, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -66.19360546875396, + -1.297709326171855, + -66.14727343749837, + -0.8074677490234308, + -39.68732343750162, + -0.7606428283691571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.012083003766834736, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -26.45730312500382, + -1.2876695068359254, + -132.03077109374863, + -0.841793878173803, + -39.69122031250299, + -1.0079220458984537, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008527963295578964, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.048828125, + 0.931832128906251, + 0.0, + 0.597741333007832, + 0.0, + 0.6446259460449255, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6948865580007434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.0535477783203078, + -12.442476562500815, + 0.4462808105469094, + -0.00390625, + 0.7484962890625297, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6936624691188336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..a788d2f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_agilex_decoupled_magic_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/agilex_cobot_decoupled_magic_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_23712/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 413112, + "num_frames": 13219572, + "estimated_total_batches": null, + "train_episodes": 18406, + "train_bytes": 1649570846072, + "elapsed_sec": 3489.1643438339233, + "frames_per_sec": 3788.750169753891 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json new file mode 100644 index 0000000..ed9f81b --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_agilex_decoupled_magic_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9fbd0a367f6d113a176cae2124ffec508f6202dee702a6b29236e6e8f60d0775" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..2950c4d --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.656104564666748, + -0.9286631345748901, + 1.1376307010650635, + 0.26833200454711914, + -0.7974550127983093, + 0.666283369064331, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6109161972999573, + 1.1354148387908936, + 0.05313194915652275, + 0.04620625823736191, + 0.2840001881122589, + 0.20867326855659485, + 0.2837749719619751, + 0.229059636592865, + 0.28277507424354553, + 0.29497388005256653, + 0.19066499173641205, + 0.6302139759063721, + -0.5758194327354431, + -0.9821283221244812, + 1.1268115043640137, + -0.312242329120636, + 0.6558502316474915, + -0.5029338598251343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7588454484939575, + 1.1244360208511353, + 0.027878623455762863, + 0.028719335794448853, + 0.41041722893714905, + 0.3171558082103729, + 0.4310058355331421, + 0.3283737301826477, + 0.4280836880207062, + 0.4432540833950043, + 0.3348432183265686, + 0.7939622402191162, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.37944644689559937, + 0.20388081669807434, + 0.32835978269577026, + 1.0097854137420654, + 0.5454671382904053, + 0.9213322997093201, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5214293003082275, + 1.5734562873840332, + 0.1687859445810318, + 0.26329222321510315, + 0.6345346570014954, + 0.9055659770965576, + 0.566385805606842, + 1.1926363706588745, + 0.7770596742630005, + 1.4154009819030762, + 1.1830897331237793, + 2.1479766368865967, + 0.3583245575428009, + 0.25541460514068604, + 0.28430697321891785, + 0.8124368786811829, + 0.4906386733055115, + 0.7573658227920532, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3276747465133667, + 2.0278005599975586, + 0.0906292200088501, + 0.18109284341335297, + 0.7365971207618713, + 0.843729555606842, + 0.5977146625518799, + 1.1447561979293823, + 0.7890268564224243, + 1.423203706741333, + 0.937105655670166, + 1.9108370542526245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2660007301330565, + -1.4333736974075437, + 0.4356580541580915, + -1.9504818211078643, + -1.6451347438812256, + -1.8191361523151397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6425251462459565, + -0.045348355709016325, + -0.027506217300891866, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.09911597261428828, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -1.4152819886207582, + -1.6223039834365247, + 0.5030766827851535, + -2.9765801676273345, + -1.0918529442310332, + -2.2726008594036102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.533134201271506, + -0.018681111001968342, + -0.06725717177391055, + -0.014882088518142697, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.09312500059604645, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.3870359558820726, + -0.4766218247368932, + 2.0458251606374978, + 2.9873292702674874, + 1.2033420748710633, + 2.8095779489994044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.436717178581655, + 1.5006087846755982, + 0.7540547889098526, + 0.16416254246234896, + 1.1690624284669757, + 1.8746440391540524, + 1.3250284303724764, + 1.9000630604505542, + 1.4752081572890283, + 1.8975300592899322, + 1.5322988895563174, + 1.916251375775039, + 0.09408731651306135, + -0.44272861089557414, + 1.842128035542369, + 1.3823009697437287, + 1.6149869574546818, + 2.057234740734101, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5501983883857726, + 0.1652949625492096, + 1.2420855182886126, + 1.8982259277343752, + 1.4232810721755027, + 1.844093188524246, + 1.5325359046399594, + 1.9072029188483954, + 1.5810911833979189, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.008245001547038555, + 0.003524184925481677, + -0.0033301268704235554, + -0.005722424481064081, + -0.028624283149838448, + -0.013749456964433193, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6072289347648621, + 1.1415867805480957, + 0.04519025981426239, + 0.048069972544908524, + 0.2835055887699127, + 0.21826808154582977, + 0.28481268882751465, + 0.23658189177513123, + 0.28419241309165955, + 0.29990312457084656, + 0.1941748708486557, + 0.6240943074226379, + 0.005694512277841568, + -0.0015219070482999086, + 0.0012326255673542619, + 0.0017124107107520103, + 0.013287597335875034, + 0.003072197549045086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7632090449333191, + 1.1186587810516357, + 0.026140810921788216, + 0.03224867209792137, + 0.4089101254940033, + 0.32769083976745605, + 0.4338189363479614, + 0.3394289016723633, + 0.4323977828025818, + 0.4540572166442871, + 0.3410424292087555, + 0.7965958714485168, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.14493174850940704, + 0.11448817700147629, + 0.1269613653421402, + 0.1739502102136612, + 0.18158121407032013, + 0.1614755392074585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5181316137313843, + 1.554349660873413, + 0.16171063482761383, + 0.26538777351379395, + 0.6293736100196838, + 0.9130929708480835, + 0.5623818039894104, + 1.1972023248672485, + 0.7720032334327698, + 1.4170503616333008, + 1.183464765548706, + 2.0660579204559326, + 0.15685060620307922, + 0.1503192037343979, + 0.15110182762145996, + 0.2234863042831421, + 0.1935572475194931, + 0.17087143659591675, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3793450593948364, + 1.940362811088562, + 0.08931182324886322, + 0.1979440450668335, + 0.7187049388885498, + 0.8383364677429199, + 0.5950126051902771, + 1.1504135131835938, + 0.7922107577323914, + 1.421832799911499, + 0.9409822821617126, + 1.8833327293395996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.463122957611084, + -0.3534732172966003, + -0.47352954545021053, + -0.495609849691391, + -0.6788331735134125, + -0.6095462135314942, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02764731553643942, + 0.6563652049303055, + -0.045348355709016325, + -0.02539996719360349, + -0.022329308092594147, + -0.09238497734069828, + -0.024358250200748444, + -0.07714697225093836, + -0.039008110761642456, + -0.11104497890472415, + -0.0007199482643045485, + -0.04047631531506777, + -0.5393749005317688, + -0.4192069751739502, + -0.516749444961548, + -0.7370876592636111, + -0.5087261302947998, + -0.5691930844306947, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.03560483766421676, + 0.5849964947166852, + -0.018681111001968342, + -0.06725717177391055, + -0.005501733243465423, + -0.10332602539062496, + -0.01015378902256489, + -0.14988748073577884, + -0.04092251509428024, + -0.07114337510764598, + -0.027990717440843582, + -0.09531154389381413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4853410655975341, + 0.4104335291147232, + 0.4124767607688904, + 0.5189733442783355, + 0.48261117458343517, + 0.4103264465332028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.4217746837437153, + 1.5006087846755982, + 0.7503308612175286, + 0.16416254246234896, + 1.2192262910589577, + 1.8746440391540524, + 1.3543629234284162, + 1.9000630604505542, + 1.4936742093384268, + 1.8975300592899322, + 1.5541991586680406, + 1.916251375775039, + 0.47509324531555164, + 0.49790313148498533, + 0.4241397476196289, + 0.7494047117233276, + 0.7297798655986787, + 0.6161350169181823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5249140445381404, + 1.432080620987946, + 0.5355839768886566, + 0.1652949625492096, + 1.2702265841126443, + 1.8982259277343752, + 1.4551351802021264, + 1.844093188524246, + 1.5616740235239268, + 1.9291845443367959, + 1.6142681298069657, + 1.8818939134597779, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..730f37f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_airbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Airbot_MMK2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10532/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 81017, + "num_frames": 2592540, + "estimated_total_batches": null, + "train_episodes": 10005, + "train_bytes": 431087330611, + "elapsed_sec": 690.6267569065094, + "frames_per_sec": 3753.8945227269173 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_airbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats.json new file mode 100644 index 0000000..de7f907 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.10469576716423035, + 0.662298321723938, + -0.8370406031608582, + -0.10997393727302551, + 0.904748260974884, + 0.07077445834875107, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7056493759155273, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27609941363334656, + 1.1175321340560913, + -0.9066898822784424, + 0.14160014688968658, + 0.6277921199798584, + -0.06411521136760712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5476592779159546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.22630704939365387, + 0.9324061870574951, + 0.5762600898742676, + 0.2787526547908783, + 0.4267621338367462, + 0.27670159935951233, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3804008364677429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.28160029649734497, + 0.9456371068954468, + 0.5779625177383423, + 0.4162033498287201, + 0.7083861827850342, + 0.6169491410255432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3376106917858124, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7981000185012819, + -0.00996200017258525, + -2.4786146493900567, + -1.187614440536499, + -0.8754767679214477, + -0.5012200522422794, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.12335600751638409, + -0.011225800144672393, + -2.364402155338973, + -0.8539300444126129, + -1.2095284074306487, + -1.7727100169658663, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.17913497328758243, + 2.635528483106941, + -0.2574722047377378, + 0.6021799695491787, + 1.2177728406429291, + 1.1242267260074614, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9938087919116021, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9705784217238427, + 2.609351033627987, + -0.2859095926374198, + 1.5181279491424564, + 1.2223220269680022, + 1.4456859633922576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9828610047101975, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00021051804651506245, + -0.008932504802942276, + 0.0005696771549992263, + -0.0027484409511089325, + -0.0041058543138206005, + -0.0012933430261909962, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7096610069274902, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0023133684881031513, + -0.007879610173404217, + -0.00265696132555604, + -0.005429517012089491, + -0.00999925285577774, + -0.0018341426039114594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5347478985786438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.10313262045383453, + 0.26865464448928833, + 0.1893138587474823, + 0.1421351581811905, + 0.21144385635852814, + 0.11594098061323166, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3865589499473572, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11798860132694244, + 0.32088905572891235, + 0.22832293808460236, + 0.20490100979804993, + 0.25481829047203064, + 0.2950364947319031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3538452088832855, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3765264230728149, + -1.035756023645401, + -0.6352756193161011, + -0.5489855407714845, + -0.7912163681030273, + -0.38275416326522826, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.41121598720550545, + -1.0773520893096924, + -0.7255493785858156, + -0.6334800750732423, + -0.9088775737762451, + -1.1001116996288298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4181219642162324, + 0.9378215560436245, + 0.7591589970588686, + 0.4850448505401608, + 0.8666135650634765, + 0.399302637004852, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0348727851867676, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4695387895107268, + 1.0134398870468138, + 0.8453243877410888, + 0.7469199135780338, + 0.9517094232559207, + 1.151939422655106, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.986791200876236, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats_meta.json new file mode 100644 index 0000000..b0badf7 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_aloha_s26_a26", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/aloha_s26_a26_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_4879/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 198055, + "num_frames": 6337741, + "estimated_total_batches": null, + "train_episodes": 4634, + "train_bytes": 962548578236, + "elapsed_sec": 1664.1732065677643, + "frames_per_sec": 3808.3421695456377 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/unified_action_space.json new file mode 100644 index 0000000..0667d62 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_aloha_s26_a26/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "67e063860a9fbe208d546d4b111c935599875ffd6e1810a7b5d300da746fc215" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats.json new file mode 100644 index 0000000..1fb88cd --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.12981835007667542, + 0.3803384602069855, + 0.2765718102455139, + -1.5070769786834717, + -0.2064417600631714, + -0.05623231828212738, + -0.3460264205932617, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.6767578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.19400940835475922, + 0.31934040784835815, + -0.35299500823020935, + -1.4869228601455688, + 0.357273131608963, + 0.013851415365934372, + 0.2367955446243286, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 779.4723510742188, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2857164740562439, + 0.19170787930488586, + 0.20447394251823425, + 0.2694042921066284, + 0.38139572739601135, + 0.24085566401481628, + 0.34607115387916565, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.1971435546875, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2606230676174164, + 0.24536000192165375, + 0.14477461576461792, + 0.2577556073665619, + 0.5735127925872803, + 0.18255352973937988, + 0.37184131145477295, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 382.7496643066406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.899166699886322, + 0.07630084578692914, + -0.059025124704837784, + -2.0594145153187213, + -1.1295509833812714, + -0.7071796939969063, + -1.1954483671784402, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.21597237800359725, + -0.05071561908125878, + -0.7550483275800943, + -2.029019742440432, + -1.0360802779436111, + -0.3993901081085205, + -0.2278318267703056, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.37486589574813856, + 0.901134452560544, + 0.8977918334484101, + -0.7051934836871923, + 1.031851346349716, + 0.6692254953861236, + 0.42736211544275293, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9338733216404915, + 0.9485346036761999, + -0.05054059450328352, + -0.7290169551871717, + 1.6272616389274597, + 0.5994619083404542, + 1.411613534462452, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0006919320439919829, + -0.0019002234330400825, + -0.0010903198271989822, + -0.0009687251294963062, + 0.0009565133950673044, + 0.0017697216244414449, + -0.0055458988063037395, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 746.5861206054688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.003108932636678219, + -0.003951332066208124, + 0.0004939803038723767, + 0.002362956991419196, + -0.002410163637250662, + 0.00205172598361969, + 0.005838938523083925, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 778.9148559570312, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08611934632062912, + 0.051137592643499374, + 0.06047236919403076, + 0.10187217593193054, + 0.0747617855668068, + 0.06468275189399719, + 0.08414533734321594, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 397.2435607910156, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07241197675466537, + 0.043015606701374054, + 0.04393547773361206, + 0.09733308106660843, + 0.08626998215913773, + 0.06080825254321098, + 0.06849385052919388, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 383.0844421386719, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2659748669624329, + -0.16955485401153564, + -0.22237293572425842, + -0.38058049020767215, + -0.25508818566799163, + -0.19396575808525085, + -0.33569938838481905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.40404443359375, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26165361976623525, + -0.1465015360713005, + -0.14308811855316161, + -0.3606649603843688, + -0.2566977259159088, + -0.18858413553237918, + -0.19983974138498306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2564, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.31394535303115845, + 0.18444163522720336, + 0.19062521643638597, + 0.29662441864013656, + 0.2051439446210861, + 0.24560414199829106, + 0.26784982144832603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1009.909061767578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23274346752166752, + 0.15374321049451822, + 0.16777842110395425, + 0.3051075954437257, + 0.3131138361454009, + 0.2351794544696808, + 0.2710840149283409, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1005.2062000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..65587db --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_alpha_bot_2_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/alpha_bot_2_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_857/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 22703, + "num_frames": 726485, + "estimated_total_batches": null, + "train_episodes": 814, + "train_bytes": 109263908150, + "elapsed_sec": 205.29979014396667, + "frames_per_sec": 3538.6543721771545 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/unified_action_space.json new file mode 100644 index 0000000..7c12829 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_alpha_bot_2_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c8188bef9dda322c15e6f6fd6d51c66ced6ac424e8fb05dc7e607aa1709e3e58" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json new file mode 100644 index 0000000..9a50eed --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.789222240447998, + -0.9489473104476929, + 1.102475643157959, + 0.06056652218103409, + -0.8004094958305359, + 0.8569042086601257, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 43.4145393371582, + 58.51406478881836, + 6.561944484710693, + 3.8180127143859863, + 19.267641067504883, + 14.541945457458496, + 19.904767990112305, + 16.158863067626953, + 19.30022430419922, + 21.157934188842773, + 12.348743438720703, + 44.948116302490234, + -0.7468658089637756, + -0.9740761518478394, + 1.1814908981323242, + -0.2708401083946228, + 0.7773710489273071, + -0.5048773288726807, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.62311935424805, + 59.72103500366211, + 1.6600639820098877, + 2.397747278213501, + 21.124330520629883, + 16.384376525878906, + 23.463788986206055, + 16.421628952026367, + 23.28516960144043, + 26.225006103515625, + 18.233783721923828, + 47.79250717163086, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3196251094341278, + 0.19099053740501404, + 0.267301082611084, + 0.7343452572822571, + 0.5074834823608398, + 0.8002901077270508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.43718147277832, + 11.881536483764648, + 12.745183944702148, + 3.668595314025879, + 17.491971969604492, + 25.543888092041016, + 18.778554916381836, + 28.954769134521484, + 20.36393928527832, + 33.26520919799805, + 20.258453369140625, + 38.15335464477539, + 0.3138468265533447, + 0.20916512608528137, + 0.2719564437866211, + 0.7614434361457825, + 0.5056568384170532, + 0.7291929721832275, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.863088607788086, + 12.029555320739746, + 5.3629679679870605, + 3.2656631469726562, + 17.44062042236328, + 25.945985794067383, + 20.877904891967773, + 27.181493759155273, + 22.829547882080078, + 35.53911209106445, + 24.12516212463379, + 39.613216400146484, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.1670591546058655, + -1.460646178598702, + 0.6757955211639405, + -0.8247669435024263, + -1.6326164110422134, + -2.040982316064835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1410077957153328, + 35.85638677425385, + -1.2471387302875518, + -1.260823583698273, + 0.6530760291576385, + -1.0140843429565431, + 0.6394474706172943, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8760666087865829, + -1.524050800561905, + -1.514172021174431, + 0.6718438099384307, + -2.9777743816375732, + -1.145575943374634, + -1.595018073940277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.098736600399015, + -1.2586004912137985, + -1.7484696573257446, + 0.609222595214844, + -0.9381469581604005, + 0.5784229578018187, + -1.1616932260990143, + 0.6429713370800019, + -0.5089542884826661, + 0.42454957976341245, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.4689757689952851, + -0.5967689686983824, + 1.8580087474823, + 2.982538466739655, + 1.0367245502233509, + 2.3800237551689145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.29060504226685, + 84.12461102142335, + 48.262709696531296, + 9.748627821445465, + 61.9573547662735, + 105.95414351844786, + 69.24682767877579, + 109.27585434875488, + 82.92672660541534, + 109.9159403591156, + 89.5799179440558, + 110.60623623168469, + -0.051988855361938535, + -0.5652352955192328, + 1.8889653580904007, + 0.7004047698974611, + 1.6166751742362973, + 2.2183819183826445, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.63163614215851, + 82.51696020936966, + 31.86803058552742, + 9.559157132148743, + 61.57964798583985, + 109.06843588314057, + 77.23728513393402, + 108.36883417010307, + 88.44751836946011, + 110.32461710197926, + 91.96601235146522, + 110.372048163414, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.01735016703605652, + 0.007876871153712273, + -0.008764179423451424, + -0.016196714714169502, + -0.050610072910785675, + -0.01787901297211647, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 42.77833557128906, + 59.01993179321289, + 5.597373008728027, + 3.9695675373077393, + 18.594154357910156, + 14.54702091217041, + 19.29161262512207, + 15.878710746765137, + 18.78414535522461, + 20.612062454223633, + 12.175747871398926, + 43.39402389526367, + 0.0064604626968503, + 0.0005611882661469281, + -0.002839392749592662, + 0.005142479669302702, + 0.02126043289899826, + 0.004430062603205442, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 41.64952087402344, + 59.36911392211914, + 1.4767431020736694, + 2.656665325164795, + 20.36819076538086, + 16.421306610107422, + 22.942644119262695, + 16.397327423095703, + 22.899627685546875, + 26.112388610839844, + 18.08662986755371, + 46.756378173828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.17858079075813293, + 0.14265654981136322, + 0.1634504795074463, + 0.16256660223007202, + 0.22381845116615295, + 0.16158242523670197, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 18.521772384643555, + 11.979036331176758, + 12.285548210144043, + 3.6960418224334717, + 17.73102569580078, + 25.79263687133789, + 19.03911781311035, + 28.994144439697266, + 20.55314064025879, + 33.25821304321289, + 20.360509872436523, + 38.552024841308594, + 0.1852763444185257, + 0.14883209764957428, + 0.1630040854215622, + 0.19241678714752197, + 0.22506338357925415, + 0.11058518290519714, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 20.7370662689209, + 11.900763511657715, + 5.080607891082764, + 3.428765296936035, + 17.76552391052246, + 26.203529357910156, + 21.202436447143555, + 27.423065185546875, + 23.11931610107422, + 35.659122467041016, + 24.31511878967285, + 40.17205047607422, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.530792695760727, + -0.4047769084453583, + -0.5680815444231033, + -0.5259286925792694, + -0.7873582234382629, + -0.6316696793556211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.1191337959289553, + 36.04583902816773, + -1.2471387302875518, + -1.2319020826339724, + 0.612784028673172, + -1.1057648468017578, + 0.6174649713516236, + -1.961733321762085, + 0.6345568585395811, + -3.7215022659301757, + 0.6377890274167062, + -0.8989019842147827, + -0.6441029361724854, + -0.3842984503507614, + -0.5623678423643113, + -0.5740927570819856, + -0.5532707916736603, + -0.31753806543350205, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.0329510523796084, + 32.50419783921242, + -1.2795799915790558, + -1.7369956575393677, + 0.609222595214844, + -1.0078890859127045, + 0.5372969587802885, + -1.207598727941513, + 0.6429713370800019, + -0.5318018604040147, + 0.44674683067798604, + -3.384034348487854, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5975871762037279, + 0.46891435046195973, + 0.4889618165016174, + 0.5089293518066405, + 0.5531848000526427, + 0.45593350839614866, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 78.44372304077149, + 84.31406327533722, + 48.388156947612764, + 9.75184132156372, + 62.259544769906995, + 106.59590704536437, + 70.23604014573097, + 109.41469885177612, + 83.82831159305573, + 109.93952148437499, + 90.24482296959758, + 110.60623623168469, + 0.5124633223056794, + 0.4904771469831468, + 0.44247493512630465, + 0.6567382140159608, + 0.8311843288183209, + 0.3665271113872528, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 87.65422906808853, + 82.55221770839691, + 29.686162547540665, + 9.607921631240846, + 61.768294104003914, + 109.09168325905799, + 77.54573012659549, + 108.78198368668556, + 88.99643401732445, + 110.3474646739006, + 92.43215462067127, + 110.39570791435241, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json new file mode 100644 index 0000000..f5f3479 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_discover_aitbot_mmk2_s36_a36", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/discover_robotics_aitbot_mmk2_s36_a36_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5747/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 36260, + "num_frames": 1160293, + "estimated_total_batches": null, + "train_episodes": 5460, + "train_bytes": 194302774076, + "elapsed_sec": 348.6094217300415, + "frames_per_sec": 3328.34664720713 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json new file mode 100644 index 0000000..c4f3388 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_discover_aitbot_mmk2_s36_a36/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d6e787ab780ebbd92810789ae8513778330304683dedcb7f65a2b300e65955ce" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json new file mode 100644 index 0000000..7db58db --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1465437263250351, + 0.7869630455970764, + -0.5143190622329712, + -0.10306041687726974, + -0.017123211175203323, + -0.07089352607727051, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24394427239894867, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.11253274977207184, + 0.9243168234825134, + -0.6134981513023376, + -0.08301904797554016, + 0.0349244549870491, + 0.0044456711038947105, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28358498215675354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3259853720664978, + 0.9173845052719116, + 0.6484797596931458, + 0.4867860972881317, + 0.29930099844932556, + 0.3141402006149292, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4647968113422394, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3464672863483429, + 0.9285209774971008, + 0.66539466381073, + 0.4866812229156494, + 0.318434476852417, + 0.42792943120002747, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5048031210899353, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0725928758382797, + -0.005822717398405078, + -1.9497726845741272, + -1.5304360511302948, + -1.0978304373025893, + -1.0819920077323915, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9586778641700744, + -0.006923790359497084, + -1.9687591208517552, + -1.5304557082414627, + -0.838190191078186, + -1.5145600032806397, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6792541539669039, + 2.5427422587573525, + 0.026177544593811053, + 1.1008840367794037, + 0.7871663888692857, + 0.968535971164703, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9739351847410203, + 2.5719604786753654, + 0.030489080250263534, + 1.004168446135521, + 1.0753058356285097, + 1.1564639692306518, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.00018698995700106025, + -0.0027333006728440523, + 0.0018787827575579286, + 0.00032728881342336535, + 0.0004975892370566726, + 0.0002555204264353961, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24358518421649933, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00009762104309629649, + -0.0025566816329956055, + 0.002047769259661436, + -0.0003735595673788339, + -0.00020275445422157645, + -0.0001948690478457138, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.28345298767089844, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.16635392606258392, + 0.3440786600112915, + 0.258118212223053, + 0.2430180013179779, + 0.15079589188098907, + 0.15765906870365143, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4644833207130432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18295352160930634, + 0.4124230444431305, + 0.29375508427619934, + 0.27331775426864624, + 0.16929855942726135, + 0.18614333868026733, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5047915577888489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6040997364997862, + -1.3266730127334594, + -0.92285426902771, + -0.8444594205856322, + -0.5463665382385252, + -0.5456839828491211, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.02160907292770571, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6485135001182556, + -1.5401852423667908, + -0.9946665182113648, + -0.9465401615142826, + -0.5940469908714294, + -0.6444087917327881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.006071952342987061, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6266800019741057, + 1.3451034955978391, + 0.9451263523101807, + 0.9366976721286777, + 0.516585234260559, + 0.55905809340477, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7061504119382762, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.642640541267395, + 1.5440051584720607, + 1.0398419427871701, + 1.007892139816284, + 0.5927413930892942, + 0.6252514398574824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7056269750595094, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..31311e3 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5167/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 245253, + "num_frames": 7848088, + "estimated_total_batches": null, + "train_episodes": 4886, + "train_bytes": 3346209600799, + "elapsed_sec": 3871.8957114219666, + "frames_per_sec": 2026.9368249894735 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json new file mode 100644 index 0000000..4bc585b --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.16373606026172638, + 0.9926406741142273, + -0.7024933695793152, + 0.13910958170890808, + -0.07944614440202713, + 0.0691065564751625, + -2.2582452297210693, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.80658721923828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0637373998761177, + 0.40384504199028015, + -0.29242828488349915, + 0.10572875291109085, + 0.023374492302536964, + 0.010431193746626377, + -2.5006213188171387, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.0853271484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.29857853055000305, + 1.0033091306686401, + 0.7319855690002441, + 0.3954618573188782, + 0.24940426647663116, + 0.4646410644054413, + 0.8846869468688965, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.198925018310547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2049432396888733, + 0.7930189371109009, + 0.5714349150657654, + 0.26710253953933716, + 0.12996964156627655, + 0.27238354086875916, + 0.7039861083030701, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 24.03177833557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.017169194972515, + -0.004680851008743048, + -1.986572128868103, + -1.1477862263917924, + -0.8641180778265, + -1.1129386113166808, + -2.76129431829527, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 5.472231944561004, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.25645644221305847, + -0.0042553190141916275, + -1.9533517208099365, + -0.4285504687309265, + -0.31070470275878903, + -0.9370759090423584, + -2.835106372833252, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 4.873087328195572, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3155106456279755, + 2.578922155332752, + -0.00040344681739812316, + 1.0628037837743758, + 0.6523159398913383, + 1.4510601159095766, + -0.05701846262365562, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 97.88268118405342, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8619644447565078, + 2.462775818249583, + -0.00040225529670712135, + 1.0223374055862426, + 0.5530510427355766, + 0.9148953475952148, + -0.038330637861788475, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 100.52368333494664, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0035309582017362118, + -0.03238903358578682, + 0.02132692001760006, + -0.001851493027061224, + 0.001852226909250021, + 0.0021616152953356504, + -0.0008467381703667343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 77.51899719238281, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.001286643324419856, + -0.004494755994528532, + 0.004611603915691376, + 0.00022976390027906746, + -0.00047635435475967824, + 0.00019026569498237222, + -0.0002900872495956719, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 89.36774444580078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.23230241239070892, + 0.6766408681869507, + 0.4803682267665863, + 0.2520758807659149, + 0.18142449855804443, + 0.29774317145347595, + 0.7227979898452759, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 41.74575424194336, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14992249011993408, + 0.4257671535015106, + 0.27494487166404724, + 0.15455301105976105, + 0.09703756123781204, + 0.15753188729286194, + 0.4973582923412323, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 30.825206756591797, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7381767271518707, + -2.1335647198200225, + -1.4483220024108887, + -0.8748203573703766, + -0.6415985270500184, + -0.9677291069030762, + -2.308521799659729, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6180614602565765, + -1.739781426525116, + -0.9139452539682389, + -0.6549412292242051, + -0.3491792736053465, + -0.5659440845727921, + -2.1506297883987426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.8003067836284639, + 1.9999838626384738, + 1.666527211999893, + 0.7973734945774078, + 0.5891278557777402, + 1.068362585258484, + 2.4429450938224795, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6246776551246644, + 1.7485109654426578, + 1.1746477506160735, + 0.5350400135040285, + 0.35704151229858416, + 0.5749539126873016, + 2.408058779096603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 99.98, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json new file mode 100644 index 0000000..bd80a20 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_s16_a18", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/galaxea_r1_lite_s16_a18_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_970/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9866, + "num_frames": 315700, + "estimated_total_batches": null, + "train_episodes": 922, + "train_bytes": 100400838947, + "elapsed_sec": 127.63867783546448, + "frames_per_sec": 2473.388202962743 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json new file mode 100644 index 0000000..3c4ce7f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_s16_a18/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "a9d0610a5115c532397c2f9a02c21890d70ef58ef0ad507847fa2ed1a15c88b5" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json new file mode 100644 index 0000000..cca4530 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2506558299064636, + 0.9469642043113708, + -0.6205059885978699, + -0.09196162223815918, + 0.012572923675179482, + 0.05519729480147362, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.500835657119751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.25365200638771057, + 1.2202755212783813, + -0.7921632528305054, + -0.1521870344877243, + -0.024248279631137848, + -0.07879133522510529, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990261554718018, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3049851357936859, + 0.9031018614768982, + 0.610549807548523, + 0.4732515215873718, + 0.2458823025226593, + 0.3754640817642212, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4639884829521179, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3309071660041809, + 0.8979148268699646, + 0.645177960395813, + 0.5483866333961487, + 0.3284341096878052, + 0.47655388712882996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.504631757736206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9940981630802155, + -0.003829787252470851, + -1.975389991865214, + -1.5265620398044586, + -0.6589046301603317, + -0.8917075432300567, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3503914684653282, + -0.0019148936262354255, + -2.000638246536255, + -1.5020018501758576, + -0.8032287443637849, + -1.7044098446369171, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.20174685723781582, + 2.4619219403604045, + -0.000014638316631288006, + 0.8448675643444061, + 0.7823373777389526, + 1.5872856732606886, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.005140295803547, + 2.505199112719623, + -0.0003078718297184757, + 0.8889586254119872, + 0.8282026379823684, + 0.8900946237802505, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.002070083748549223, + -0.009222179651260376, + 0.006848389748483896, + 0.00026182294823229313, + 0.0015868792543187737, + 0.0003076336288359016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5008774995803833, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002750544575974345, + -0.015298927202820778, + 0.009401840157806873, + 0.0033589310478419065, + -0.00035418258630670607, + -0.001279053627513349, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3990696668624878, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1416667252779007, + 0.3391159176826477, + 0.22186781466007233, + 0.23835258185863495, + 0.14790737628936768, + 0.2196711003780365, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4638553559780121, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19731104373931885, + 0.3913874328136444, + 0.2852989435195923, + 0.30727827548980713, + 0.22789299488067627, + 0.291481077671051, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5044052600860596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4676544653892517, + -1.3689668506622314, + -0.673422367811203, + -0.8352519777297973, + -0.514826227092743, + -0.9340109244346619, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10655710805431008, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7339063465595246, + -1.6019817955970765, + -0.8888794917106628, + -1.093386752319336, + -0.7658062780380249, + -0.9442028461456298, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.11476012961864471, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5726149436473846, + 1.2395132839202878, + 0.8514690177440647, + 0.8724879892349242, + 0.4888856029987334, + 0.7179337068557738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7645925080850722, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6569907176494598, + 1.3284557864189144, + 0.9647411026954651, + 1.0813313362121582, + 0.9232138740777969, + 1.3054971899032592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.751934207174182, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..a232606 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_galaxea_r1_lite_upper_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Galaxea_R1_Lite_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_3650/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 27171, + "num_frames": 869469, + "estimated_total_batches": null, + "train_episodes": 1337, + "train_bytes": 205435325084, + "elapsed_sec": 271.46593260765076, + "frames_per_sec": 3202.8659789758667 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json new file mode 100644 index 0000000..eaaba89 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_galaxea_r1_lite_upper_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "1fa4ae18cdd16834f62a84b6e7c7d297585f44534b6b912ad9d2e88896a34f45" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats.json new file mode 100644 index 0000000..c5a9296 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.14392921328544617, + -0.0496545284986496, + 0.03907515108585358, + -0.6383686661720276, + -0.33223956823349, + 0.1406169980764389, + -0.2197691947221756, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2658024728298187, + 1.0174024105072021, + 0.26580309867858887, + 0.26580342650413513, + 0.26580342650413513, + 0.26580342650413513, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26310673356056213, + -0.026430761441588402, + 0.22182564437389374, + -1.0583513975143433, + 0.5696671009063721, + -0.14421126246452332, + -0.14368979632854462, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6819911003112793, + 1.1796563863754272, + 0.681991696357727, + 0.6819922924041748, + 0.6819922924041748, + 0.6819922924041748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.005736132152378559, + -0.004845454357564449, + -0.5839594006538391, + 1.034613847732544, + -0.47432053089141846, + 0.0044976514764130116, + -0.011759890243411064, + 0.0016561566153541207, + -0.584376335144043, + 1.0361307859420776, + -0.48027747869491577, + 0.014017106033861637, + -0.006366158835589886, + 0.00004895150777883828, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24559161067008972, + 0.1689794510602951, + 0.7688204646110535, + 0.5849611759185791, + 0.7876368165016174, + 0.2824043333530426, + 0.2779797911643982, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6225577592849731, + 0.8577785491943359, + 0.62255859375, + 0.6225588917732239, + 0.6225588917732239, + 0.6225588917732239, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37637755274772644, + 0.21900226175785065, + 0.6015813946723938, + 0.6487521529197693, + 0.6114912033081055, + 0.3323651850223541, + 0.33078810572624207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8369026184082031, + 0.813471257686615, + 0.8369022607803345, + 0.8369028568267822, + 0.8369029760360718, + 0.8369028568267822, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011689109727740288, + 0.03091302700340748, + 0.05732341855764389, + 0.07677125930786133, + 0.0554114505648613, + 0.02481386624276638, + 0.01102852076292038, + 0.030867384746670723, + 0.057295337319374084, + 0.08059525489807129, + 0.055565595626831055, + 0.024815795943140984, + 0.0376923643052578, + 0.0022193610202521086, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.9992702881813049, + -0.34700471043586734, + -1.499725185585022, + -2.03459240322113, + -1.5663648304462434, + -0.6925698574066161, + -0.703081022977829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.2768910852432251, + -0.6715401140213013, + -1.3412932807922364, + -2.273264695763588, + -1.2518772483825684, + -0.7010021484375, + -0.700609602355957, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.02395869474411011, + -0.11906609460711481, + -0.7370869652032852, + 0.9267490817084909, + -0.6330387302875519, + -0.049691598564386374, + -0.042447312104701984, + -0.10632696142792702, + -0.7380362022399902, + 0.9342303326725959, + -0.641259054350853, + -0.04123028814792634, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3458903924465182, + 0.5226744106411935, + 1.44677988114357, + -0.06136881568431818, + 1.476704307556152, + 0.6961594585418704, + 0.5051051949501038, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45043067569732687, + 0.3487966469764707, + 1.3253098982810974, + -0.12402725848555551, + 1.5689554569244386, + 0.7199650357246397, + 0.626018825149536, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.034869841480255126, + 0.09307707622647288, + -0.45076588833332076, + 1.2968151184253396, + -0.3549289156675338, + 0.06532029041647913, + 0.015565912073850607, + 0.10807942071557042, + -0.4488659531593323, + 1.2981121613249182, + -0.369503323701024, + 0.07134055135250089, + 0.09063195526599888, + 0.008523450748994951, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.025149166584014893, + -0.0007167551084421575, + 0.014958391897380352, + 0.029812512919306755, + -0.049611445516347885, + 0.018364058807492256, + -0.016904247924685478, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26187270879745483, + 1.0055816173553467, + 0.2618729770183563, + 0.2618747055530548, + 0.2618747055530548, + 0.2618747055530548, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.023009758442640305, + 0.008779775351285934, + -0.01961400918662548, + 0.035789959132671356, + 0.03110627271234989, + -0.02077949233353138, + -0.022412974387407303, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6611509919166565, + 1.1648931503295898, + 0.661152720451355, + 0.661155104637146, + 0.661155104637146, + 0.661155104637146, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006273355800658464, + -0.003994456026703119, + -0.5832089185714722, + 1.0329070091247559, + -0.4743139445781708, + 0.0038752786349505186, + -0.011729203164577484, + 0.0015189028345048428, + -0.5832836031913757, + 1.034032940864563, + -0.4801284670829773, + 0.013799047097563744, + -0.006342591252177954, + 0.000048941914428723976, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13706213235855103, + 0.0861985832452774, + 0.2623814046382904, + 0.21836024522781372, + 0.38968393206596375, + 0.18734091520309448, + 0.1748584508895874, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6187314391136169, + 0.859600305557251, + 0.6187315583229065, + 0.6187350153923035, + 0.6187350153923035, + 0.6187350153923035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18466579914093018, + 0.11489593982696533, + 0.2676655650138855, + 0.30678436160087585, + 0.3512946665287018, + 0.2122993916273117, + 0.19419464468955994, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.833325207233429, + 0.8184693455696106, + 0.8333248496055603, + 0.8333266377449036, + 0.8333266377449036, + 0.8333266377449036, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.011661932803690434, + 0.03008849360048771, + 0.0570581778883934, + 0.07920322567224503, + 0.05598650872707367, + 0.02390815131366253, + 0.011079773306846619, + 0.030265456065535545, + 0.05669058859348297, + 0.08025062084197998, + 0.056270044296979904, + 0.02400575391948223, + 0.037728164345026016, + 0.0022195226047188044, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.49717133016586335, + -0.29087378101348893, + -0.9207378339767456, + -0.8032954450130463, + -1.5487773138046266, + -0.5106261265754701, + -0.7538997879028321, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6092341652870177, + -0.3566183257102966, + -1.1042374740600585, + -1.0408703578948975, + -0.9910236114501954, + -0.8985654019355773, + -0.791315365076065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.023514607763290396, + -0.11017253985404968, + -0.7403963661193848, + 0.9252302796959877, + -0.6394320577383041, + -0.04950896456241605, + -0.04293521931767463, + -0.102585978269577, + -0.7395257719516755, + 0.9335625804424286, + -0.6478451603651046, + -0.039510283565521276, + -0.11191192030906683, + -0.005750369654968376, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.4264512014865871, + 0.29491566400527924, + 1.1406259435176853, + 0.8118304628849029, + 1.1148114137649534, + 0.7137140592575073, + 0.44641688156127923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6106945888519291, + 0.36770981721878027, + 0.7981465461730957, + 1.0722906362533569, + 1.444993089199066, + 0.5342899666786192, + 0.5092106031179429, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.035736719590425514, + 0.09176966729164115, + -0.45266616611480714, + 1.2868420163989067, + -0.35557454228401186, + 0.06286471080780032, + 0.01590245109796523, + 0.10124850861430168, + -0.4510058415412903, + 1.2875499872922898, + -0.3704874509572982, + 0.06893986749649039, + 0.0910177531242371, + 0.008582760252058508, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats_meta.json new file mode 100644 index 0000000..8250431 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s118_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s118_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_17897/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 458510, + "num_frames": 14672292, + "estimated_total_batches": null, + "train_episodes": 17002, + "train_bytes": 4898931416952, + "elapsed_sec": 5203.681373596191, + "frames_per_sec": 2819.598462436255 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/unified_action_space.json new file mode 100644 index 0000000..d356add --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s118_a54/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d97c871ea622a1d73832b3cfbbf5591efa01e5743172a70cab01099fbb596f69" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats.json new file mode 100644 index 0000000..9454472 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.12607264518737793, + 0.00008398429054068401, + -0.4544186294078827, + -0.20619818568229675, + 0.29890182614326477, + 0.2209627479314804, + -0.017372645437717438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.001351677579805255, + 0.5195144414901733, + 0.001351677579805255, + 0.001351677579805255, + 0.001351677579805255, + 0.001351677579805255, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.5108049511909485, + -0.08366616070270538, + 0.6188738346099854, + -1.1367301940917969, + 0.9034554362297058, + -0.2741541564464569, + 0.19831663370132446, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.031201720237732, + 1.7022472620010376, + 1.031201720237732, + 1.031201720237732, + 1.031201720237732, + 1.031201720237732, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.009635113179683685, + -0.0028679377865046263, + -0.5325427055358887, + 0.9934707880020142, + -0.5009011626243591, + -0.004597402177751064, + -0.01032357569783926, + -0.0036452405620366335, + -0.5363783836364746, + 0.9893509745597839, + -0.49731943011283875, + 0.014525534585118294, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.052721500396728516, + 0.12329746037721634, + 0.9935592412948608, + 0.08448720723390579, + 1.079892873764038, + 0.2286582589149475, + 0.15934748947620392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04720721393823624, + 0.7929924130439758, + 0.04720721393823624, + 0.04720721393823624, + 0.04720721393823624, + 0.04720721393823624, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2641383111476898, + 0.1964256912469864, + 0.29711970686912537, + 0.3846171796321869, + 0.3384343981742859, + 0.21793775260448456, + 0.27180108428001404, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6186614036560059, + 0.2665689289569855, + 0.6186614036560059, + 0.6186614036560059, + 0.6186614036560059, + 0.6186614036560059, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.005319930147379637, + 0.008804247714579105, + 0.026858242228627205, + 0.026859907433390617, + 0.01961347460746765, + 0.008071155287325382, + 0.006057468242943287, + 0.009226891212165356, + 0.019773883745074272, + 0.01892995275557041, + 0.018627624958753586, + 0.011728359386324883, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.2895899209499359, + -0.2557414261460304, + -1.5707963705062866, + -0.44021003832817074, + -1.5707963705062866, + -0.3109862658381462, + -0.3420334379673004, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.1022463934540747, + -0.534395228278637, + -0.6099578330993651, + -1.928462313339114, + -0.31661461296081544, + -0.6981316804885864, + -0.48562039694786074, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0037947557039558887, + -0.023079702201485634, + -0.5913913312196731, + 0.9475534757256507, + -0.5512317831277848, + -0.020031942911073564, + -0.025517087894678117, + -0.02475028370320797, + -0.5832356173038483, + 0.9467111015081405, + -0.5315918558120728, + -0.008798553790897131, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.049132818818092394, + 0.23467275539636612, + 1.4445043423175812, + -0.06639479804039006, + 1.5632565479278564, + 0.6979118290841579, + 0.45560135209560393, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.7449801949739454, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05763647654056547, + 0.3462985385417938, + 1.09225891494751, + -0.3024392062425614, + 1.4563934411764143, + 0.24852478170394898, + 0.6978524278163911, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.023831854006648064, + 0.018483441022038465, + -0.475257759898901, + 1.0377141551017761, + -0.4545027549982071, + 0.018488670980185272, + 0.0033708639562129994, + 0.015092507733032112, + -0.4920614863157272, + 1.031601612663269, + -0.453053707498312, + 0.04167234658449888, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.000044160395191283897, + -0.0004345428023952991, + 0.00018526075291447341, + 0.0004296721890568733, + 0.0005998000269755721, + 0.00017635914264246821, + -0.001342334202490747, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0027007008902728558, + 0.5137023329734802, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0027007008902728558, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.003517469158396125, + 0.0013488056138157845, + -0.03338310495018959, + -0.0008356410544365644, + -0.06255348771810532, + -0.02151239477097988, + -0.03775149583816528, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9106055498123169, + 1.6855394840240479, + 0.9106055498123169, + 0.9106055498123169, + 0.9106055498123169, + 0.9106055498123169, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00968371331691742, + -0.0032853996381163597, + -0.5326474905014038, + 0.9934975504875183, + -0.5008286237716675, + -0.004591429140418768, + -0.010270550847053528, + -0.0040542385540902615, + -0.5363346338272095, + 0.9892792105674744, + -0.49734926223754883, + 0.01452939584851265, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.01366458274424076, + 0.011578992940485477, + 0.02847292833030224, + 0.008184446953237057, + 0.02868589758872986, + 0.02419445477426052, + 0.020024960860610008, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06765764206647873, + 0.7898082137107849, + 0.06765764206647873, + 0.06765764206647873, + 0.06765764206647873, + 0.06765764206647873, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1943008303642273, + 0.1138172596693039, + 0.16575030982494354, + 0.32405945658683777, + 0.24188394844532013, + 0.14207221567630768, + 0.1356537789106369, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6900458931922913, + 0.3119781017303467, + 0.6900458931922913, + 0.6900458931922913, + 0.6900458931922913, + 0.6900458931922913, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.005321471020579338, + 0.008934310637414455, + 0.026879318058490753, + 0.026879871264100075, + 0.019663553684949875, + 0.008062909357249737, + 0.006070638541132212, + 0.009430455975234509, + 0.01970670185983181, + 0.018973983824253082, + 0.018652407452464104, + 0.011722862720489502, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.045795693865418444, + -0.03490671157836914, + -0.08407489075660707, + -0.014965300846099844, + -0.0787550156712532, + -0.07334953966140745, + -0.06483746516704561, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5524677794218064, + -0.3814485204219818, + -0.7671195118427279, + -1.0123560002803802, + -1.083412933397293, + -0.5203610343933105, + -0.5161401920318603, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.003876279680989683, + -0.02480562933534384, + -0.5915251564919949, + 0.9474930867910385, + -0.5510238276004791, + -0.020000744584202767, + -0.025240602546930314, + -0.027418407713994383, + -0.5830148566961288, + 0.9471505891680717, + -0.531629569208622, + -0.008798553790897131, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.04847865233421325, + 0.029357151687145228, + 0.08701096346378329, + 0.020059467208385473, + 0.08130935577154164, + 0.06256101837754252, + 0.05499121507108207, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.7449801949739454, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7217966253280639, + 0.3419604907035827, + 0.28069199728965755, + 1.0181266004562377, + 0.43407146964073196, + 0.3849238431930544, + 0.33047570610046373, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.7449801949739454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.023847550930455326, + 0.01867716753706336, + -0.4757930609881878, + 1.0378349329710006, + -0.45402742807865143, + 0.01857039732933044, + 0.003428067821264265, + 0.015092507733032112, + -0.4920860152721405, + 1.031601612663269, + -0.45256343334317206, + 0.04163807480968535, + 0.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats_meta.json new file mode 100644 index 0000000..29b3d90 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_leju_robot_s54_a54", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/leju_robot_s54_a54_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_394/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2062, + "num_frames": 65982, + "estimated_total_batches": null, + "train_episodes": 374, + "train_bytes": 22504353358, + "elapsed_sec": 31.398486614227295, + "frames_per_sec": 2101.4388626648715 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/unified_action_space.json new file mode 100644 index 0000000..d356add --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_leju_robot_s54_a54/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "d97c871ea622a1d73832b3cfbbf5591efa01e5743172a70cab01099fbb596f69" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6e2759 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7575891017913818, + -2.018211841583252, + 1.2673600912094116, + 1.1146199703216553, + 0.6891690492630005, + -0.3179693818092346, + -0.9597281217575073, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 555.3607177734375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.8516546487808228, + 2.0185489654541016, + -1.024009346961975, + -0.8024208545684814, + -0.6040467619895935, + 0.35237857699394226, + 0.4313460886478424, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.1749267578125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.227471724152565, + 0.06362287700176239, + 0.25554585456848145, + 0.4349750280380249, + 1.4009367227554321, + 1.5048906803131104, + 1.4070923328399658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 329.2973937988281, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2158181071281433, + 0.06811479479074478, + 0.2395617961883545, + 0.3499128818511963, + 1.5231932401657104, + 1.4194414615631104, + 1.436482548713684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.5093994140625, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2411617311716079, + -2.0655426728248596, + 0.7684333333969116, + 0.43966181900501256, + -0.9741751252412796, + -1.918311150074005, + -3.0002384185791016, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4035066569000483, + 1.6972570048332214, + -1.6375796434402465, + -1.7001429117143154, + -2.8975123698711394, + -1.826313526535034, + -1.312467015504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.1553316257953643, + -1.7997828578948973, + 1.9979852621555327, + 1.867020208358765, + 2.8710006383657456, + 1.9273102951049803, + 0.8647150281906129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 920.7366, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.3617565359920263, + 2.079939349913597, + -0.5856861970901488, + -0.16072266962528237, + 1.2208031419515608, + 1.863077091884613, + 2.6855830742359164, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.62, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.004745005629956722, + 0.001093511818908155, + -0.002022324362769723, + -0.003611444029957056, + -0.011031363159418106, + -0.0013529028510674834, + 0.010191795416176319, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 545.743896484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.002088882029056549, + -0.0009160805493593216, + -0.0011564826127141714, + -0.006964823696762323, + 0.008905000053346157, + -0.002275642240419984, + -0.00712719326838851, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 634.5043334960938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.05028748884797096, + 0.015297401696443558, + 0.071743443608284, + 0.09484060853719711, + 0.09587708115577698, + 0.099430613219738, + 0.055593136698007584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 331.8141784667969, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0730854719877243, + 0.03070250153541565, + 0.06939690560102463, + 0.1734410673379898, + 0.13651607930660248, + 0.14600589871406555, + 0.10842622071504593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 325.7297058105469, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.20747764117717743, + -0.04162785339355471, + -0.20748130631446837, + -0.3386043548583984, + -0.4205680692672731, + -0.3368758692741394, + -0.11896564942598342, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 44.9538, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.27733808026313783, + -0.11711480379104616, + -0.253275782763958, + -0.695207809829712, + -0.4655322723388673, + -0.4588191899299622, + -0.3640655764102936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 26.3704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.12971830923557282, + 0.06903154182434079, + 0.28166046774387365, + 0.34935000658035276, + 0.20638658781051622, + 0.3108922860622405, + 0.23591858417987832, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 922.6905999999999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24794143097400667, + 0.09158638322353363, + 0.2413436704993247, + 0.45366472196578966, + 0.5544114936828612, + 0.48090295810699457, + 0.34896428358554843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 881.7984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..0c0cfa3 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aida_l_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/Realman_RMC-AIDA-L_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_693/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 9936, + "num_frames": 317940, + "estimated_total_batches": null, + "train_episodes": 658, + "train_bytes": 36471840854, + "elapsed_sec": 89.87298893928528, + "frames_per_sec": 3537.6591315416026 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aida_l_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json new file mode 100644 index 0000000..d51c279 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.47839146852493286, + -2.059580087661743, + 0.6078921556472778, + 0.443592369556427, + 1.4694907665252686, + 1.1243274211883545, + -1.0638837814331055, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.576416015625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5341330766677856, + 2.0288519859313965, + -0.7328935861587524, + -0.5111697316169739, + -1.5132325887680054, + -1.0845743417739868, + 1.057655930519104, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 554.112548828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.21434840559959412, + 0.07314120978116989, + 1.1213843822479248, + 0.6602405905723572, + 1.2446599006652832, + 0.9368466138839722, + 1.2627320289611816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.1611633300781, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.239162877202034, + 0.08330599218606949, + 0.8705637454986572, + 0.5838403701782227, + 1.1899601221084595, + 0.9443362951278687, + 1.3015942573547363, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.4317932128906, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0482353521347045, + -2.1750113368034363, + -2.646780677318573, + -1.6032505451679229, + -2.4177295753479005, + -1.6492822704315186, + -2.8623494152069093, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.013312339687347463, + 1.8281194995880128, + -2.3761580247879026, + -1.6655417486190796, + -2.8879985211372374, + -2.024796287918091, + -2.8088368267059325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.027407007861137256, + -1.8577467799186707, + 2.8453764088153832, + 1.6954893584251405, + 2.870450235891343, + 2.0029636798858643, + 2.808081196403503, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1564803113937376, + 2.1062067033290863, + 2.2962332958221428, + 1.4867680027008054, + 2.3619786128520968, + 1.6406866954803467, + 2.8881806318759917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007135526975616813, + -0.0003534950374159962, + 0.0011087273014709353, + 0.00018156379519496113, + -0.0018077408894896507, + 0.00005206819696468301, + 0.0025921647902578115, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 533.2557983398438, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0009018750279210508, + 0.0002198505389969796, + -0.0011170865036547184, + -0.000418089737650007, + 0.0012902384623885155, + 0.0009497611899860203, + -0.0008871746831573546, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 553.1741333007812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1037909984588623, + 0.03418908268213272, + 0.14360260963439941, + 0.16961778700351715, + 0.20701688528060913, + 0.2258588671684265, + 0.24374830722808838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 343.0868225097656, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11896975338459015, + 0.0325104221701622, + 0.1677417755126953, + 0.19693401455879211, + 0.24006836116313934, + 0.22501049935817719, + 0.28681400418281555, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 314.21026611328125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.33542436039447776, + -0.11812768712043764, + -0.5185220909118653, + -0.5681056449890136, + -0.7323143272399903, + -0.7057940410137173, + -0.9256965145111082, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6079999999999757, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4231953330039977, + -0.12260290641784666, + -0.5584167864799499, + -0.7264892864227295, + -0.8738897808074952, + -0.7326278971195221, + -1.0107426010131837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7975999999999992, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.3840171305179596, + 0.12214941902160636, + 0.49682519912719725, + 0.6064030448913575, + 0.6977665336608885, + 0.7309729760646824, + 0.8620825569152837, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 948.4096, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37962152361869816, + 0.10668836259841918, + 0.6009062723159793, + 0.6464898212432861, + 0.8375270114898674, + 0.6645073395252226, + 1.1167047012329103, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 944.6902000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..b2e9bcb --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_realman_rmc_aidal_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/realman_rmc_aidal_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_18412/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 492790, + "num_frames": 15769266, + "estimated_total_batches": null, + "train_episodes": 17481, + "train_bytes": 1684550435506, + "elapsed_sec": 4069.850043296814, + "frames_per_sec": 3874.655290057317 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json new file mode 100644 index 0000000..814b04c --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_realman_rmc_aidal_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ef55a4aafbbe2ee823c0cee63ded3dbf686094cc4ac9049016b9941db4f30422" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats.json new file mode 100644 index 0000000..d3ba750 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.4022698402404785, + 0.4008525311946869, + -1.8359957933425903, + 1.3991795778274536, + 1.6781357526779175, + -0.39159268140792847, + -0.11824289709329605, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5900587439537048, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.10200242698192596, + -0.36888185143470764, + 1.6269876956939697, + -1.5651452541351318, + -1.710113763809204, + 0.14229054749011993, + 0.0901879221200943, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219226956367493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3285321593284607, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.47184816002845764, + 0.26041191816329956, + 0.30844730138778687, + 0.4104193449020386, + 0.3992116451263428, + 0.5433208346366882, + 0.4647732377052307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.39009591937065125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2526223659515381, + 0.1727783977985382, + 0.15735691785812378, + 0.30363792181015015, + 0.3119509518146515, + 0.3184160590171814, + 0.3587453365325928, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384997248649597, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08604823052883148, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.15512949786186214, + -0.000247655253857372, + -2.7533860206604004, + 0.018561795279711076, + 0.348873460650444, + -1.5701000690460205, + -1.888011309146881, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.1755216784477236, + -0.9503723105043173, + 1.2927916605830192, + -2.0496549903660024, + -2.4722114605903625, + -0.1814788004875183, + -0.865350887775421, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1337790972352028, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.5952690245151522, + 1.1460021360963584, + -1.3690508592128754, + 2.049136744551986, + 2.751842607951164, + 0.8992856348037717, + 0.8812080025672913, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03684061706066122, + -0.09100282496213907, + 2.4757759820103646, + -0.0374427558146424, + -0.6511100595712662, + 1.4296446043968203, + 1.5782729723930364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007815549615770578, + -0.0006295735365711153, + 0.00006955656135687605, + -0.00046953416313044727, + -0.0009421160793863237, + -0.000566480855923146, + 0.0007163064437918365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.5906252264976501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00038199048140086234, + 0.0004900511703453958, + -0.00028768597985617816, + -0.00026881968369707465, + -0.0003086130600422621, + -0.00019033218268305063, + -0.0003762365668080747, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7219077944755554, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.32853180170059204, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.19541341066360474, + 0.145516499876976, + 0.15332399308681488, + 0.19865047931671143, + 0.16601331532001495, + 0.20398183166980743, + 0.18197141587734222, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3904857337474823, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09083140641450882, + 0.059260159730911255, + 0.07308832556009293, + 0.12470908463001251, + 0.09311696887016296, + 0.08739949762821198, + 0.1316150426864624, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3384832441806793, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0860481858253479, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6090426849842071, + -0.4968913494586945, + -0.5529850662708282, + -0.6974553999900817, + -0.5849689860343932, + -0.8470925182104112, + -0.6177244747161865, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1376806372463703, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3506921148777007, + -0.20023923506736763, + -0.2488031871795655, + -0.4694817880868911, + -0.3406314041137697, + -0.31274263751506814, + -0.5059143760204314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.13361177916526795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5622645171403885, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6863681363344192, + 0.5567416855335237, + 0.4736135180950165, + 0.6609690598249438, + 0.5248469697237015, + 0.5392340588569642, + 0.5923228402614593, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.965350421231985, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2980546859979629, + 0.20376526083946223, + 0.24556429748535136, + 0.442152768421173, + 0.33779594779014577, + 0.34090128064155567, + 0.4569228596687318, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9653499048113824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.2347364159733057, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json new file mode 100644 index 0000000..b186237 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s17_a17", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s17_a17_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_1719/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 32248, + "num_frames": 1031909, + "estimated_total_batches": null, + "train_episodes": 1633, + "train_bytes": 232098850893, + "elapsed_sec": 277.61806178092957, + "frames_per_sec": 3717.009597215209 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/unified_action_space.json new file mode 100644 index 0000000..46d05f0 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s17_a17/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "02e7c59245802e66825ab80d667297f376ddc17ad33bfbe771465efbd15789a2" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats.json new file mode 100644 index 0000000..fe95813 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -1.3547803163528442, + 0.755029022693634, + 0.6068242788314819, + -0.9906300902366638, + 1.0170456171035767, + 1.3017445802688599, + -0.18157915771007538, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7635851502418518, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3421299457550049, + -0.7070972323417664, + -0.5880898833274841, + 1.0016454458236694, + -0.9842587113380432, + -1.3245666027069092, + 0.13256670534610748, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7062156200408936, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0004295064427424222, + 0.3654797077178955, + 0.4781149625778198, + 0.404465913772583, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.40673211216926575, + 0.25750458240509033, + 0.44406312704086304, + 0.4298768639564514, + 0.4682933986186981, + 0.3272894322872162, + 0.4376765787601471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.319647878408432, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.36325040459632874, + 0.26303979754447937, + 0.4294496476650238, + 0.41202446818351746, + 0.4376407861709595, + 0.26321712136268616, + 0.406250536441803, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.34777307510375977, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13882064819335938, + 0.0587720051407814, + 0.06267630308866501, + 0.06288386881351471, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -2.623746828877926, + 0.422594678670168, + 0.26733380875587465, + -1.3614243242025375, + 0.5744161965847017, + -0.005409026861190824, + -1.6480314255952835, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1908386861205101, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9897309021949767, + -1.3695025413155555, + -2.06178382396698, + -0.01326705760955793, + -2.081861891722679, + -1.5936958384633064, + -0.853074108362198, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.1906825377225876, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26186463236808777, + 0.2617471218109131, + 0.3489969074726105, + 0.31707038768529894, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.7302417573094369, + 1.3694030942618847, + 2.445421035337448, + 0.009004551577567854, + 2.326905642080307, + 1.601938715982437, + 0.8492856928110122, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0012754402011632, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.3719133356809614, + -0.09056340849399569, + -0.16903709316253668, + 1.3555171401977542, + -0.2900681381464003, + -0.5199884833097457, + 1.707816768169403, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0010545860767364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26176494808197015, + 0.43632417860031125, + 0.6108229170560837, + 0.5188367841541767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0010563352843746543, + 0.0017160391435027122, + 0.005159545224159956, + 0.0022106990218162537, + 0.0014503959100693464, + -0.005501764826476574, + 0.0010637474479153752, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6935475468635559, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0027838535606861115, + -0.0005895814974792302, + -0.0026668307837098837, + -0.002813382539898157, + -0.0016497792676091194, + 0.002556455321609974, + -0.000546303519513458, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6242499947547913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00042965743341483176, + 0.36547815799713135, + 0.47811827063560486, + 0.4044669568538666, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1597946286201477, + 0.11818362027406693, + 0.14702743291854858, + 0.2084183245897293, + 0.16728796064853668, + 0.16486595571041107, + 0.15998083353042603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4545469284057617, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14823907613754272, + 0.12344123423099518, + 0.14680664241313934, + 0.18301677703857422, + 0.1618991196155548, + 0.11924934387207031, + 0.1484396904706955, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4780848026275635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1388205587863922, + 0.058782149106264114, + 0.06265798956155777, + 0.06288007646799088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6110378967523575, + -0.393797745513916, + -0.4590578153133391, + -0.6687536456108094, + -0.469356360435486, + -0.5654164524078369, + -0.5650752035140991, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4784718633651732, + -0.3966371303558349, + -0.4847236261367798, + -0.6575335870981217, + -0.660990184020996, + -0.41581965608596794, + -0.47923130426406857, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.2619338631629944, + 0.26169419288635254, + 0.3489546775817871, + 0.317028849452734, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.49575549707412714, + 0.43070048446655274, + 0.4998851660966874, + 0.8407508171796798, + 0.6952995580434798, + 0.6087248458862304, + 0.5395712120056153, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4941145238876343, + 0.4433111068725586, + 0.5403243355751037, + 0.6182873335599899, + 0.45763365707397474, + 0.4022696802139283, + 0.5173421204090118, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2617077342569828, + 0.43634983854293824, + 0.6108512703180313, + 0.5187769077837467, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json new file mode 100644 index 0000000..5858b0e --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_ruantong_a2d_s41_a34", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/ruantong_a2d_s41_a34_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_6459/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 85004, + "num_frames": 2720116, + "estimated_total_batches": null, + "train_episodes": 6136, + "train_bytes": 1133795856617, + "elapsed_sec": 1135.4377226829529, + "frames_per_sec": 2395.654068611155 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/unified_action_space.json new file mode 100644 index 0000000..167fead --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_ruantong_a2d_s41_a34/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "c67f9a1a94cc29d855336aa75853afc3fe9f40256c371694d4c7688007dd8e61" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats.json new file mode 100644 index 0000000..f6275d8 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.1628706455230713, + 0.23347488045692444, + -0.04910242184996605, + 0.264553040266037, + 0.13043716549873352, + -0.33108076453208923, + -0.14998599886894226, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29194653034210205, + 0.6853201985359192, + 0.6170122027397156, + -0.6644286513328552, + -1.1213622093200684, + -0.6663221120834351, + -0.8499442934989929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.07948362082242966, + -0.17150138318538666, + 0.21232953667640686, + 0.0920492485165596, + -0.29347097873687744, + -0.30039313435554504, + 0.0853857547044754, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3021090030670166, + -0.6288666725158691, + -0.6771913170814514, + 0.6895211338996887, + 1.1751788854599, + 0.6504865884780884, + 0.8789990544319153, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3626730144023895, + 0.19216300547122955, + 0.2810690999031067, + 0.5205802321434021, + 0.5020791888237, + 0.5364598631858826, + 0.36660030484199524, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25213295221328735, + 0.207768052816391, + 0.4823054075241089, + 0.2749427855014801, + 0.6560249924659729, + 0.2500518560409546, + 0.6224695444107056, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3831944465637207, + 0.1589929163455963, + 0.24002577364444733, + 0.4983278810977936, + 0.46839040517807007, + 0.42183858156204224, + 0.32927024364471436, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.25350189208984375, + 0.2528623938560486, + 0.5577102303504944, + 0.22081902623176575, + 0.6477662324905396, + 0.20423410832881927, + 0.6250683069229126, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0871391372680663, + -0.20876111135482786, + -0.8388713676452637, + -0.8200110165596008, + -0.7363758310317993, + -1.3833980978965759, + -0.7764279620170593, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.943547477543354, + 0.09146377477645873, + 0.017375269904732704, + -1.098071245956421, + -1.7251344782330096, + -1.131031814558804, + -1.6974872374732048, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0471447103023528, + -0.528865817463398, + -0.20733413085937502, + -0.8457812840938568, + -1.2295815105915069, + -1.2434954173088073, + -0.86912408721447, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.902100967156887, + -0.9165206720232963, + -1.7268712982222438, + 0.06079141880832613, + 0.014800074510276318, + 0.11157027700543404, + 0.01750687765069306, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.47659769430160503, + 0.7076735383987427, + 0.45100675120353695, + 1.2377816146373748, + 1.335918707370758, + 0.9499077592849732, + 1.3439336926937102, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1254084028124809, + 0.9077776364326477, + 1.6320448531996459, + 0.013790484744310216, + -0.0170682890616356, + -0.011170641231536882, + -0.023183120945841296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5287259579181671, + 0.14627059165239342, + 0.8642253021240234, + 1.3658753696680068, + 0.684262245941162, + 0.594153723692894, + 0.7332529784440993, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21299966784715663, + 0.005030459719896352, + -0.014311032612621899, + 1.052727247415483, + 1.73224950031098, + 1.0908084644936025, + 1.6659874871112406, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0016884017968550324, + 0.011546838097274303, + 0.00473940372467041, + -0.0024346469435840845, + -0.0031135918106883764, + -0.002420922042801976, + 0.0017203716561198235, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.2739558219909668, + 0.7384939193725586, + 0.6407151818275452, + -0.687782883644104, + -1.1394267082214355, + -0.6913239359855652, + -0.8725272417068481, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0007380479946732521, + -0.00810902751982212, + -0.0052103460766375065, + -0.002664201660081744, + 0.004933670163154602, + -0.002533601364120841, + -0.0018208746332675219, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.26942676305770874, + -0.6645417809486389, + -0.6903152465820312, + 0.7051751017570496, + 1.1936242580413818, + 0.6750840544700623, + 0.8997586965560913, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.15168355405330658, + 0.11104796826839447, + 0.14569349586963654, + 0.21772974729537964, + 0.2811240255832672, + 0.2331443876028061, + 0.23385126888751984, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26519671082496643, + 0.20837455987930298, + 0.5007086396217346, + 0.2879154086112976, + 0.686345100402832, + 0.2576579451560974, + 0.6700758934020996, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13862664997577667, + 0.07791885733604431, + 0.11473166942596436, + 0.2046445906162262, + 0.18303248286247253, + 0.15754161775112152, + 0.16820472478866577, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.27345746755599976, + 0.25550195574760437, + 0.5730949640274048, + 0.2446984052658081, + 0.6683359146118164, + 0.22920526564121246, + 0.6644843816757202, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.4647418713569641, + -0.36247115948200226, + -0.4871022036075593, + -0.6902964536190033, + -0.9688063781738281, + -0.8738521937131882, + -0.7369811347961426, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9890421652793884, + 0.19791983685493464, + -0.00033008601089240986, + -1.2235791976333363, + -1.7463293075561523, + -1.1852029679603175, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42307967765331267, + -0.26447365524768834, + -0.4067236483573914, + -0.6569536940097809, + -0.6593658556938171, + -0.4846822315454482, + -0.556758381319046, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9903689094781876, + -0.9210000038146973, + -1.7463293075561523, + -0.0010000000474974513, + -0.0003010683244559914, + 0.06110405158251524, + -0.0006505341859767214, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.5710441195964813, + 0.37983955030441297, + 0.47168680982589706, + 0.7756827896118161, + 1.0283435638427734, + 0.7458742338418958, + 0.7903891201019286, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2754032823443411, + 0.9206928329706192, + 1.6932202401782386, + 0.0006854407878826851, + 0.0006505341859766034, + 0.0006854407878826851, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5275774911642075, + 0.2503997765541076, + 0.3314345474720002, + 0.6707679876804353, + 0.5859755010604859, + 0.5634215530157092, + 0.5414131363868715, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.24682292762994762, + -0.05346022585034371, + -0.00028526860064581605, + 1.091015984294936, + 1.7459798416946315, + 1.2084764054469996, + 1.7459798416946315, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats_meta.json new file mode 100644 index 0000000..329799a --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_931/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 19765, + "num_frames": 632462, + "estimated_total_batches": null, + "train_episodes": 884, + "train_bytes": 137723586828, + "elapsed_sec": 202.07107949256897, + "frames_per_sec": 3129.898655404859 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats.json new file mode 100644 index 0000000..6633804 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.7445161938667297, + 0.2046411782503128, + -0.24800196290016174, + 0.9919590950012207, + 0.3741361200809479, + -0.2801648676395416, + -0.13361211121082306, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6758849024772644, + 0.8352697491645813, + 0.2204723358154297, + -0.3820844292640686, + -0.8395292162895203, + -0.3996052145957947, + -0.5619040131568909, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.36609283089637756, + -0.08858122676610947, + -0.30266183614730835, + 0.8333971500396729, + 0.29706326127052307, + -0.2599102556705475, + 0.45701661705970764, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10622099041938782, + -0.8759199976921082, + -0.34643176198005676, + 0.814652144908905, + 1.2110474109649658, + 0.567145049571991, + 0.9029716849327087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3898758292198181, + 0.20100830495357513, + 0.3866082727909088, + 0.4276141822338104, + 0.5115737915039062, + 0.2632923424243927, + 0.42600882053375244, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21897515654563904, + 0.10531293600797653, + 0.23290933668613434, + 0.2559126913547516, + 0.630479633808136, + 0.24550874531269073, + 0.5936964750289917, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17779535055160522, + 0.11882677674293518, + 0.14129222929477692, + 0.3587522506713867, + 0.23949897289276123, + 0.2896011471748352, + 0.5105559229850769, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7211710214614868, + 0.13480520248413086, + 0.32516923546791077, + 0.28521132469177246, + 0.520041286945343, + 0.3791837990283966, + 0.6520012617111206, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.2224115524291992, + -0.2226963701248169, + -0.7868920280456543, + -0.01173839816451075, + -0.6705473416090012, + -0.9839372223377227, + -1.1950472702026367, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.008761749792099, + 0.3164234099209309, + 0.015529673546552658, + -1.0354845005345996, + -1.7086090141598136, + -1.0038791944533587, + -1.6925374082896858, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7371529162883759, + -0.3936914521664381, + -0.7073566943407059, + 0.038411684036254876, + -0.06361387825012206, + -0.9945685440063476, + -0.2427892891407013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.8244225978851318, + -0.917671856868267, + -1.6727701947420834, + 0.20956130823493002, + 0.016465356573462486, + -0.07792163744568825, + 0.013376317918300629, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.08535512161254899, + 0.6966267797470093, + 0.5173972716808319, + 1.3934486828446386, + 1.0134924908161163, + 0.3364450139045716, + 0.7313213119506838, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.21198543627262112, + 0.9117449419245124, + 0.8466709901146591, + -0.025526101072493645, + -0.036378498886898036, + -0.01881221437454217, + -0.020673312769085017, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.015156626367568982, + 0.11028196246623989, + -0.07709463704824449, + 1.2660695624351501, + 0.8034028644561768, + 0.18856437225341782, + 1.5178833255529405, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0496813233375548, + -0.12920548431873324, + -0.01758571497499939, + 1.5300610191166402, + 1.7329283000670372, + 1.1529876285791396, + 1.7253991491645575, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001059380709193647, + 0.004219536203891039, + 0.0023536814842373133, + 0.004847630392760038, + -0.0044314186088740826, + 0.0032603945583105087, + 0.0002796429907903075, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.6260432600975037, + 0.8834512829780579, + 0.23747524619102478, + -0.4212741553783417, + -0.8709027171134949, + -0.433660089969635, + -0.5984626412391663, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007231731899082661, + -0.001023879274725914, + -0.0034783456940203905, + -0.00010531584121054038, + 0.004821954760700464, + -0.0008869097218848765, + -0.000642355706077069, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.46016982197761536, + -0.8851051330566406, + -0.34612372517585754, + 0.8203089833259583, + 1.2152869701385498, + 0.7640361189842224, + 0.907231867313385, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.264655739068985, + 0.1654302030801773, + 0.2674410343170166, + 0.2734619677066803, + 0.3695032000541687, + 0.23066960275173187, + 0.32287293672561646, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984951436519623, + 0.08304513990879059, + 0.2572486400604248, + 0.3235522210597992, + 0.7256113886833191, + 0.30972957611083984, + 0.689659059047699, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04034788906574249, + 0.0261350329965353, + 0.01804332062602043, + 0.06059056892991066, + 0.022570159286260605, + 0.035094913095235825, + 0.03205068036913872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21764817833900452, + 0.1374056339263916, + 0.3252909779548645, + 0.2921648323535919, + 0.5298183560371399, + 0.2756422162055969, + 0.677844226360321, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6967882361650467, + -0.376699486553669, + -0.7184161659240723, + -0.8877626407623291, + -1.1069273098468781, + -0.7469617376804352, + -1.1573144844055174, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + 0.4381441333025694, + -0.0006127584492787719, + -1.1355026049411623, + -1.7463293075561523, + -1.1958755969752557, + -1.7463293075561523, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.10971371923685075, + -0.05946463347375394, + -0.05702475812435151, + -0.1925968414545059, + -0.058742796063423156, + -0.11493266266584395, + -0.0876838384628296, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0481975078582764, + -0.9210000038146973, + -1.6743681746596237, + 0.20299266990423204, + 0.0007594325964921152, + 0.03485975554860197, + -0.000051340521336533114, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.9039022744178773, + 0.5056628809690475, + 0.8582687198638914, + 0.8934240812301635, + 1.1677811064720154, + 0.6654134750127794, + 1.2087200176239015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -0.06332860741019242, + 0.9208353751510382, + 0.943756352857803, + 0.0006854407878826851, + 0.0006505341859766034, + 0.000687336620897927, + 0.0006505341859766034, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13810114730000494, + 0.09025129990279673, + 0.04996730821132658, + 0.19269111961126328, + 0.0708820892572403, + 0.08923030090332035, + 0.08276398012638092, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.13738033704161645, + -0.12135625495314606, + -0.001795823647105177, + 1.5714997634455563, + 1.745979983987019, + 1.4648461497579701, + 1.7459799615573373, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json new file mode 100644 index 0000000..18bb906 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unitree_g1_s28_a28_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unitree_g1_s28_a28_fps30_cam_high__episodes_227/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 2287, + "num_frames": 73184, + "estimated_total_batches": null, + "train_episodes": 216, + "train_bytes": 3159483310, + "elapsed_sec": 28.13194966316223, + "frames_per_sec": 2601.4549605081866 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unitree_g1_s28_a28_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats.json new file mode 100644 index 0000000..fce0f58 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.4601517915725708, + 0.28574568033218384, + -0.28942522406578064, + 0.6302258372306824, + -0.4861578345298767, + -0.5207346081733704, + -0.1987939476966858, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1725141853094101, + 0.0685783177614212, + 0.12817345559597015, + -0.16918662190437317, + -0.4351489543914795, + -0.12865182757377625, + -0.2854554355144501, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.35936683416366577, + -0.39935022592544556, + 0.258500337600708, + 0.5848162770271301, + 0.21070364117622375, + -0.6088512539863586, + -0.01831921748816967, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29934221506118774, + 0.19203908741474152, + -0.325772225856781, + 0.21082274615764618, + 0.3784441351890564, + 0.1499779373407364, + 0.3509950637817383, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2189597487449646, + 0.14171771705150604, + 0.43653634190559387, + 0.362621009349823, + 0.499917209148407, + 0.36899834871292114, + 0.22155988216400146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4452809989452362, + 0.6484705805778503, + 0.27489814162254333, + 0.4036325514316559, + 0.6206685304641724, + 0.3343346416950226, + 0.5257602334022522, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22628849744796753, + 0.1428905427455902, + 0.3611524999141693, + 0.4151686429977417, + 0.3856017589569092, + 0.3003835678100586, + 0.255756139755249, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22143076360225677, + 0.45618167519569397, + 0.5058495998382568, + 0.4284057021141052, + 0.5871851444244385, + 0.3656456768512726, + 0.5761141777038574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.101659857749939, + -0.018607720243930814, + -1.584791460418701, + -0.30841166829466815, + -1.360724712395668, + -1.1547250646352767, + -0.7063347400903701, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7200000286102295, + 0.0, + -1.5700000524520874, + -1.745300054550171, + -1.3875660463571549, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.9737500015258789, + -0.7816216490864754, + -0.6477329211235047, + -0.3947790165305138, + -1.0113668236732483, + -1.1912066125869751, + -0.5944325535297394, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6045961649179459, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.18273090934753422, + 0.7255914891004562, + 0.7783089427948, + 1.3746503059208395, + 1.1035205349683763, + 0.49836549907922745, + 0.3299396315336227, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 0.9196720166802406, + 1.7449509945392607, + -0.0003140000104904228, + -0.0003490600109101738, + -0.0003140000104904228, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.23939910240173345, + -0.08035749015212068, + 1.2898316625356676, + 1.499683491653204, + 0.7804335985660553, + 0.2747516059875488, + 0.6979348600387574, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7197225100278855, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014253475237637758, + 0.004040827043354511, + 0.00401429645717144, + -0.0006249065627343953, + -0.0007871320121921599, + 0.004092377610504627, + -0.007282583974301815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.17188459634780884, + 0.09245369583368301, + 0.1286001205444336, + -0.17128616571426392, + -0.43959158658981323, + -0.13044847548007965, + -0.28975656628608704, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0018386616138741374, + -0.0017423932440578938, + -0.002052909228950739, + -0.0004560645029414445, + 0.006413742434233427, + -0.0015468160854652524, + 0.0011579451384022832, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.29914090037345886, + 0.1900770366191864, + -0.3282303512096405, + 0.21167583763599396, + 0.3810122311115265, + 0.15109674632549286, + 0.3544777035713196, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08548260480165482, + 0.059953778982162476, + 0.14716483652591705, + 0.15606258809566498, + 0.15485815703868866, + 0.13305547833442688, + 0.08386557549238205, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44540083408355713, + 0.6780035495758057, + 0.27485981583595276, + 0.40709882974624634, + 0.6220939755439758, + 0.3366040885448456, + 0.5278019905090332, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0954136922955513, + 0.053427211940288544, + 0.13860651850700378, + 0.17628909647464752, + 0.143167182803154, + 0.10808171331882477, + 0.08713337779045105, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22215959429740906, + 0.45735371112823486, + 0.5071426630020142, + 0.42950281500816345, + 0.5888646245002747, + 0.36695989966392517, + 0.5784511566162109, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.28645844354629524, + -0.18376410233974455, + -0.46031000661849975, + -0.5777189530849457, + -0.525499416065216, + -0.40847072732448586, + -0.3366838617324829, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.7243000268936157, + 0.0, + -1.5707999467849731, + -1.745300054550171, + -1.3876446729898453, + -1.6754880523681641, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3106002992868423, + -0.17958201030492782, + -0.5006137095689773, + -0.6031595508575439, + -0.48816414699554445, + -0.34850764927864075, + -0.2802416110396385, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5, + -0.6044009449958802, + -1.587001287984848, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.29917649668455115, + 0.21889999203681954, + 0.531090847492218, + 0.5048572306632997, + 0.5642101072788241, + 0.5288397431373595, + 0.24146718263626088, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4998, + 1.046845664525032, + 1.7449509945392607, + -0.0003141599893570213, + -0.0003490600109101738, + -0.0003141599893570213, + -0.0003490600109101738, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32684008424282074, + 0.16315318412780755, + 0.41679275200367005, + 0.5781977668762206, + 0.5312393463134764, + 0.4175895518779753, + 0.3207163540005684, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4166000000000001, + 0.7240216483116149, + -0.00033319363594053186, + 1.569686052441597, + 1.7449509945392607, + 1.369924903869629, + 1.675138992357254, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats_meta.json new file mode 100644 index 0000000..345f7da --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_unknown_s30_a30_high", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/unknown_s30_a30_fps30_cam_high__episodes_891/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 8154, + "num_frames": 260914, + "estimated_total_batches": null, + "train_episodes": 846, + "train_bytes": 20178322671, + "elapsed_sec": 82.17656183242798, + "frames_per_sec": 3175.041571245681 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/unified_action_space.json new file mode 100644 index 0000000..426641a --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_unknown_s30_a30_high/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "beb5c3de296f6dfdd1e27ccc8605130a15e00fbe16608d63c4a5e7e346171784" +} diff --git a/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats.json b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats.json new file mode 100644 index 0000000..49a8dd4 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 1.524367094039917, + -1.3065650463104248, + -0.5391265749931335, + -1.9779719114303589, + 0.042856667190790176, + 0.1487847864627838, + -0.05886118486523628, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6645289063453674, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.49284985661506653, + 1.0417016744613647, + -0.322103887796402, + 1.5314422845840454, + 0.26630860567092896, + -0.10916095227003098, + -0.5114750862121582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7098702192306519, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2897261083126068, + 0.19842040538787842, + 0.2448112666606903, + 0.21612223982810974, + 0.6295380592346191, + 0.2960987687110901, + 0.1680130958557129, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2784114181995392, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.934599757194519, + 0.27511605620384216, + 0.8904873728752136, + 0.42886051535606384, + 0.34848248958587646, + 0.3541565239429474, + 0.565496027469635, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1976504921913147, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + 0.7376339052915573, + -1.6099701312497259, + -0.885706602358818, + -2.3163964335680007, + -1.0850703057050706, + -0.47425655221939084, + -0.44927409212589264, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.891990763092041, + 0.4447629337310792, + -1.839495149588585, + 0.5765320897683501, + -0.5520781661987304, + -0.735830457687378, + -1.3432193279266358, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.904548677366972, + -0.795198133945465, + 0.18943803424835215, + -1.2896517002105712, + 1.6342880125045776, + 0.7360185463428499, + 0.3375669756293296, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9615902823448184, + 1.5525214227437973, + 0.9610611121892929, + 2.3590748086735607, + 0.9761594358444214, + 0.7660390744209289, + 0.45407201790809637, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00006569585093529895, + -0.0002367628476349637, + -0.0004524707910604775, + 0.0005102173890918493, + -0.001635607099160552, + -0.006574156228452921, + 0.0007140140514820814, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.665635883808136, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.01432245783507824, + 0.009032520465552807, + 0.010951328091323376, + 0.006414332427084446, + 0.004951334558427334, + 0.008958633057773113, + 0.008657954633235931, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.711277961730957, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1834850162267685, + 0.10580053180456161, + 0.18292799592018127, + 0.18817037343978882, + 0.3076501786708832, + 0.15092547237873077, + 0.1127411350607872, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2779955565929413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.45669886469841003, + 0.2752196490764618, + 0.40178874135017395, + 0.2569642961025238, + 0.2553403973579407, + 0.24139155447483063, + 0.1890239715576172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.19659824669361115, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6143484880447387, + -0.39371692562103267, + -0.6777150949001312, + -0.6583128417015075, + -1.4426410250663757, + -0.6675770700454713, + -0.4131294379234314, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.08486673181802035, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.7665856656551362, + -0.8687658917427064, + -1.09206223115921, + -0.84294264087677, + -0.609202272439003, + -0.8176013734817504, + -0.6940191761016845, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.10670718535780907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6324825129508973, + 0.3164169328212738, + 0.6923210113048555, + 0.5968620174407961, + 1.15903103017807, + 0.5463467423677444, + 0.44189159464836125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067215650454163, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2043245237350462, + 0.669174746847153, + 1.794497901535034, + 0.7042711029052735, + 0.8618204277515411, + 0.7357967818260196, + 0.7027042475700376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9067818530648947, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats_meta.json new file mode 100644 index 0000000..63d08ff --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robocoin_yinhe_s49_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboCOIN/yinhe_s49_a16_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_5452/robocoin_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 153600, + "num_frames": 4915186, + "estimated_total_batches": null, + "train_episodes": 5179, + "train_bytes": 711128217385, + "elapsed_sec": 1323.132462978363, + "frames_per_sec": 3714.810223109443 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/unified_action_space.json b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/unified_action_space.json new file mode 100644 index 0000000..285dfcf --- /dev/null +++ b/assets/cotrain_real_robot_fix/robocoin_yinhe_s49_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "df6e3ea1278ba06ec1cd8fc9405c482c55982b5ac43bbfb1dee1f5bfcd1a468a" +} diff --git a/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats.json new file mode 100644 index 0000000..f699bd5 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2912142872810364, + 0.7706507444381714, + 0.8166523575782776, + -0.5391867160797119, + 0.17443010210990906, + -0.03291980177164078, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.037457823753357, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3165360689163208, + 0.7844910025596619, + 0.8448988199234009, + -0.6473979949951172, + -0.19697701930999756, + 0.09821853041648865, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.071836233139038, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.31844455003738403, + 0.6649036407470703, + 0.6359055638313293, + 0.3965521454811096, + 0.26199185848236084, + 0.19108326733112335, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6735684871673584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2895064651966095, + 0.5852402448654175, + 0.5345459580421448, + 0.4037196934223175, + 0.25300946831703186, + 0.17583996057510376, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6739572286605835, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.1008532051086426, + 0.0013943950653076175, + 0.014930963516235352, + -1.3446834449768066, + -0.46284152030944825, + -0.5668264865875243, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.01151485834121704, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09137299480438232, + 0.0024674806594848636, + 0.013868572044372559, + -1.356740512084961, + -0.730856520652771, + -0.36164791870117186, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.015304181719198822, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11911020965576169, + 2.1889521074295044, + 2.31054425239563, + 0.27205753517150866, + 0.8036104869842529, + 0.5188723945617677, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.357991581296921, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0514802862167358, + 2.167783304977417, + 2.112537544631958, + 0.07684082565307637, + 0.48839656925201425, + 0.5515233222961426, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 5.254145598340035, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00031540499185211957, + -0.007605055347084999, + -0.013626378029584885, + 0.01294397097080946, + -0.008090313524007797, + 0.013309093192219734, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3646289110183716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0019422572804614902, + -0.007419590372592211, + -0.011846384033560753, + 0.012537145055830479, + 0.006900215987116098, + -0.007588144391775131, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.5834583044052124, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.1662832796573639, + 0.3357270061969757, + 0.2942589521408081, + 0.2550986111164093, + 0.16362538933753967, + 0.1354900598526001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.0903167724609375, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.15850712358951569, + 0.3416793942451477, + 0.28663069009780884, + 0.2630174458026886, + 0.13510547578334808, + 0.12409359216690063, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.1895596981048584, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.521558889389038, + -1.025707421875, + -1.1375078313827516, + -0.7164978378295899, + -0.5593309104919433, + -0.39902141418457027, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09417187500000002, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5945680046081545, + -1.064510614013672, + -1.072522581100464, + -0.7810182523727416, + -0.42451723403930663, + -0.4333285047531128, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.16773752975463874, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6086202415466309, + 0.9857216306686398, + 0.8020620159149168, + 0.9357657577514651, + 0.5060111686706543, + 0.4612753326416015, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.653624244689942, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5080000579833981, + 1.0137772064208983, + 0.8535642738342282, + 0.9668074893951419, + 0.47746843833923336, + 0.33230566730499245, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 6.698792873382567, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..af277e0 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_agilex_cobot_magic_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 196965, + "num_frames": 6302870, + "estimated_total_batches": null, + "train_episodes": 9855, + "train_bytes": 1015824843385, + "elapsed_sec": 1625.2714269161224, + "frames_per_sec": 3878.0414739459275 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_agilex_cobot_magic_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats.json new file mode 100644 index 0000000..56764de --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.02872992493212223, + -0.03250863403081894, + -0.044107649475336075, + -1.9217846393585205, + -0.03335548937320709, + 1.8634817600250244, + -0.09915560483932495, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.27069082856178284, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007103583309799433, + 0.09939762949943542, + 0.17450419068336487, + -1.4917900562286377, + -0.14953744411468506, + 1.5298478603363037, + 0.17748871445655823, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17512521147727966, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.24050824344158173, + 0.18076345324516296, + 0.162387877702713, + 0.3688068687915802, + 0.26190441846847534, + 0.38791725039482117, + 0.42700111865997314, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.38373228907585144, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20354995131492615, + 0.18818333745002747, + 0.14312860369682312, + 0.09749498218297958, + 0.42516154050827026, + 0.23171094059944153, + 0.315849632024765, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3484148383140564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7479126671791076, + -0.4948742458820343, + -0.4937059134244919, + -2.6657454515457153, + -0.7740779214859008, + 1.3427923250198364, + -1.4256502631664276, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.26181291670799256, + -0.12531252807974816, + -0.14902960658073428, + -1.8273668120980262, + -1.7342645349979402, + 1.3332580568790435, + -0.24545768320560457, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.004200000000000001, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6294316546440124, + 0.4177898835539817, + 0.3835556173324586, + -1.4613578771591187, + 0.8686296574592591, + 2.6317525205612182, + 1.02927272901535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665686247253418, + 0.6005449758857488, + 0.5071338846683502, + -1.253091666698456, + 0.17801692837476724, + 2.4559928531885147, + 1.320400775194168, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.00579951424151659, + 0.0009321922552771866, + 0.0001605675497557968, + 0.01468118466436863, + 0.004086125176399946, + -0.009518737904727459, + -0.0008803497767075896, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3470822870731354, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.009737007319927216, + -0.0050971596501767635, + 0.003751665586605668, + 0.002095873700454831, + 0.007014834322035313, + -0.006377325858920813, + -0.0024907798506319523, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.17645229399204254, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.18581676483154297, + 0.1604117602109909, + 0.09761915355920792, + 0.279049277305603, + 0.22557272017002106, + 0.3101310133934021, + 0.3323877155780792, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4602535367012024, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1281752586364746, + 0.11369078606367111, + 0.07542045414447784, + 0.07059511542320251, + 0.24174679815769196, + 0.14355233311653137, + 0.23310133814811707, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.35898837447166443, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.6203167253017425, + -0.5089887523770332, + -0.31527611851692194, + -0.861568698644638, + -0.7907215990066527, + -0.9439559233188629, + -0.9502868450164795, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5435035077095032, + -0.4396112471818924, + -0.27968518979549417, + -0.2505410222053528, + -1.0277889500141142, + -0.5418802068948746, + -0.8036095057487488, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.00437053572118748, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.6547829939365386, + 0.47977734111547465, + 0.3555985690355301, + 0.6909391857385636, + 0.7429793606758119, + 0.839421225786209, + 1.1230383680343627, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3702085198402405, + 0.3635676041245459, + 0.25351028020381916, + 0.2524659325599672, + 1.0453574712753295, + 0.48159508218765246, + 1.0040429187774658, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998000744047633, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..3c018d2 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_fr3_dual_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 11198, + "num_frames": 358321, + "estimated_total_batches": null, + "train_episodes": 1685, + "train_bytes": 186172127608, + "elapsed_sec": 205.53938150405884, + "frames_per_sec": 1743.3204156689756 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_fr3_dual_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats.json new file mode 100644 index 0000000..64bb6f7 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.050074514001607895, + 0.2168712615966797, + -0.04304725304245949, + -1.6480380296707153, + -0.04889731854200363, + 1.981959581375122, + 0.027210397645831108, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.31860384345054626, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20079824328422546, + 0.21306701004505157, + 0.14047782123088837, + 0.21161852777004242, + 0.18164995312690735, + 0.34882527589797974, + 0.35608425736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3863016366958618, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.43048445436954497, + -0.1407027938723564, + -0.4342776439547539, + -2.307061647772789, + -0.8071739921569825, + 1.4752378027439117, + -0.8850302599906921, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.605513199532032, + 0.7539548544883727, + 0.3651459789872169, + -1.2252477578639984, + 0.34580575790405277, + 2.9056127210855482, + 1.1405179331779483, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.991, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.006179585587233305, + -0.029241317883133888, + -0.004109390079975128, + -0.010029942728579044, + 0.002001858549192548, + -0.020291229709982872, + 0.00541237648576498, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3327816426753998, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17788256704807281, + 0.24914397299289703, + 0.10994547605514526, + 0.2059284746646881, + 0.1720099151134491, + 0.399440199136734, + 0.3174999952316284, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4199410378932953, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5027609734058381, + -0.659905499958992, + -0.3669868229150772, + -0.6224279801130295, + -0.5189719449043273, + -1.0841700080633165, + -0.9586771881103513, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5086506120204923, + 0.5854389501810073, + 0.3575911468267441, + 0.6135797002315522, + 0.5958229855537414, + 1.0015189151763915, + 0.94854157409668, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..2c43271 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_panda_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 57958, + "num_frames": 1854642, + "estimated_total_batches": null, + "train_episodes": 14956, + "train_bytes": 282424151738, + "elapsed_sec": 465.4217314720154, + "frames_per_sec": 3984.8633499218436 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_panda_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats.json new file mode 100644 index 0000000..e18c97f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.05431849882006645, + 0.2290264517068863, + 0.06054431572556496, + -1.7516008615493774, + -0.0009821689454838634, + 1.9669047594070435, + 0.10469292104244232, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3105355203151703, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.282229483127594, + 0.34571757912635803, + 0.26973626017570496, + 0.3954300284385681, + 0.2093062847852707, + 0.34419673681259155, + 0.6092366576194763, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32808253169059753, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.7128893469333648, + -0.7831290235042573, + -0.7018777868747712, + -2.654962126095593, + -0.7293025332927703, + 1.2178158522874118, + -1.579328977584839, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008327009677886466, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7805238378047945, + 0.996611042022705, + 0.6962547571659083, + -0.801373397190869, + 0.5592271712780001, + 2.9440562456270682, + 1.834556310653686, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7858265437364578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0003964641073253006, + -0.015292207710444927, + -0.005603020079433918, + 0.008090371266007423, + 0.0009030065848492086, + -0.013399748131632805, + 0.0025455045979470015, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3059731125831604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.14430563151836395, + 0.23040126264095306, + 0.12359558790922165, + 0.25404950976371765, + 0.1299935132265091, + 0.2845810651779175, + 0.23000602424144745, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32761436700820923, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.4282694184303284, + -0.7556568478345871, + -0.3945588711738588, + -0.8038546324968339, + -0.384043906879425, + -0.9643010272979735, + -0.766740892744064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007800394535064648, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.44182890958786025, + 0.5628056311607361, + 0.3584979928016665, + 0.8073955500125884, + 0.43689187560081466, + 0.7673846399307251, + 0.7996728756904603, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7859916551351547, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..b68a98f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_franka_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 48250, + "num_frames": 1543972, + "estimated_total_batches": null, + "train_episodes": 8445, + "train_bytes": 675920469639, + "elapsed_sec": 665.9570224285126, + "frames_per_sec": 2318.4258863577616 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_franka_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats.json new file mode 100644 index 0000000..61b96fe --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041941363364458084, + 0.23306936025619507, + 0.05907498672604561, + -1.8461532592773438, + -0.008388909511268139, + 2.0598065853118896, + 0.03718278184533119, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16530641913414001, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3363783061504364, + 0.24904070794582367, + 0.27618101239204407, + 0.3934434950351715, + 0.12503312528133392, + 0.2713543772697449, + 0.481111615896225, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115025877952576, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.842514001083374, + -0.14554469878673554, + -0.6748853764891625, + -2.5493086941719056, + -0.3112471418917179, + 1.444778957772255, + -1.0551550045967102, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0010764459133148496, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8897254436969759, + 1.0443386925697327, + 0.5906232087850571, + -0.7863341999053957, + 0.31217047451734536, + 2.5325355393886566, + 2.0018143637895585, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7445413999080657, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0013613005867227912, + -0.0019828719086945057, + -0.004892994649708271, + 0.040003255009651184, + 0.003110992955043912, + -0.026717711240053177, + 0.002946416148915887, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1649303436279297, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1734810769557953, + 0.18704959750175476, + 0.1274677813053131, + 0.26024433970451355, + 0.07944203168153763, + 0.23101893067359924, + 0.20181050896644592, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.21115633845329285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.5883622665405273, + -0.5670622599601746, + -0.4257954135894776, + -0.7182313198089599, + -0.22942946300506595, + -0.6761015580177308, + -0.6581925751209259, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0007068812847137451, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5921108510971069, + 0.532150031197071, + 0.4482104328155516, + 0.7808476925373078, + 0.2439403713226318, + 0.6174762445449828, + 0.6635519044399261, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7441247965335847, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..fc6ca81 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_none_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1107, + "num_frames": 35418, + "estimated_total_batches": null, + "train_episodes": 211, + "train_bytes": 6706236456, + "elapsed_sec": 11.181196451187134, + "frames_per_sec": 3167.6395414946483 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_none_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json new file mode 100644 index 0000000..f9b87d7 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12862539291381836, + 0.10420803725719452, + 0.1507907211780548, + -1.6999670267105103, + -0.14460554718971252, + 1.9053664207458496, + 0.4335462749004364, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06511421501636505, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6245681643486023, + 0.34309419989585876, + 0.5870680809020996, + 0.40795278549194336, + 0.20813338458538055, + 0.2701113522052765, + 1.0759789943695068, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12459228187799454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -2.8998490468978884, + -0.7582584895730018, + -0.744865327835083, + -2.576282403945923, + -0.6427169109582901, + 1.281201576291985, + -2.211445552444458, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.001115015268325692, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.8701619072914122, + 0.8050513436913491, + 2.8916868991851805, + -0.970624508154392, + 0.5479656597852707, + 2.4191241051438204, + 2.5220915309906005, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5271702873706818, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.004356690216809511, + -0.010021368972957134, + -0.005047916434705257, + -0.016711799427866936, + -0.011854293756186962, + 0.03055323101580143, + 0.029920563101768494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06573743373155594, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17619915306568146, + 0.17244896292686462, + 0.18936899304389954, + 0.22039532661437988, + 0.11159107834100723, + 0.18016842007637024, + 0.2773687541484833, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12432067841291428, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.559387174797058, + -0.5706956774711609, + -0.5846574388504027, + -0.8416802699804307, + -0.3643048192501068, + -0.4927735840797425, + -0.7364192728042602, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0008005832195281393, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5136722531795503, + 0.43214548578262324, + 0.5519980060100553, + 0.5205945446729658, + 0.3414099413871765, + 0.6120740163803098, + 1.1303667816162108, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5277051842689515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..a224597 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_no_front_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 1067, + "num_frames": 34125, + "estimated_total_batches": null, + "train_episodes": 150, + "train_bytes": 7133719955, + "elapsed_sec": 11.634025812149048, + "frames_per_sec": 2933.2064885367827 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_no_front_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats.json new file mode 100644 index 0000000..4454c2c --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.058677639812231064, + -0.020728396251797676, + 0.061011988669633865, + -1.6386123895645142, + -0.0016661359695717692, + 1.85384202003479, + 0.0318516306579113, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.14600756764411926, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5181325078010559, + 0.3683291971683502, + 0.47908589243888855, + 0.40745365619659424, + 0.24538974463939667, + 0.3270070254802704, + 1.1062960624694824, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.22717800736427307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.9134195173263548, + -0.9667847575187684, + -1.4075731660842894, + -2.5127280881881715, + -0.7051276074171067, + 1.1881394446477294, + -2.1848897399902345, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.008432700586318953, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.7120905005455018, + 0.8496470478296279, + 1.7842719498634345, + -0.7269027355104685, + 0.7306575120687486, + 2.559558767311461, + 2.2310024108886717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.7833485061168672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0030864360742270947, + -0.014526627026498318, + -0.008263246156275272, + -0.021576467901468277, + 0.0018557735020294785, + 0.007785191759467125, + -0.005972929298877716, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1463216096162796, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2138717919588089, + 0.20189231634140015, + 0.20727543532848358, + 0.25472593307495117, + 0.12306797504425049, + 0.25284504890441895, + 0.3214346170425415, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2268107682466507, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.6992091821670527, + -0.6429719269752503, + -0.6553837590217593, + -0.8025883827686309, + -0.3720137566566468, + -0.8318469825267791, + -1.1202265443801882, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.009108828496933175, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.665241785526276, + 0.5787899346351622, + 0.5988114666938777, + 0.802218522644043, + 0.40542664546966556, + 0.7172769757270818, + 1.1334667954444884, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.783179182076454, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json new file mode 100644 index 0000000..8576f0d --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_franka_sim_simulation_s8_a8", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 53134, + "num_frames": 1700279, + "estimated_total_batches": null, + "train_episodes": 8662, + "train_bytes": 465501426716, + "elapsed_sec": 452.24869179725647, + "frames_per_sec": 3759.6106541359254 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/unified_action_space.json new file mode 100644 index 0000000..0239421 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_franka_sim_simulation_s8_a8/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "ae5b84bc780ecc377d0bc80c6485614806e3656f6b59653aaaf81b2395f49727" +} diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..13cf76b --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.854895830154419, + 0.2895817458629608, + -0.21138238906860352, + -0.6613888740539551, + 0.4681619107723236, + -0.15557539463043213, + -0.1758464127779007, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9139211773872375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.26177895069122314, + -0.08320410549640656, + 0.13457360863685608, + 0.3343433141708374, + -0.2124287337064743, + 0.036814019083976746, + 0.17251014709472656, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9292864799499512, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.5788174271583557, + 0.25051409006118774, + 0.3781653642654419, + 0.4176454544067383, + 0.6007633805274963, + 0.24877780675888062, + 0.2531377375125885, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1635691225528717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4761202931404114, + 0.1770811527967453, + 0.3033520579338074, + 0.3387700021266937, + 0.3307650685310364, + 0.14587220549583435, + 0.18914712965488434, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10804925858974457, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.9158795733362437, + -0.0012460584171116347, + -1.2030685099601746, + -1.5389836430072785, + -0.4265326317191124, + -0.6112608863592148, + -0.6116086971282959, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4938, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.1381313104391098, + -0.7465972574207931, + -0.48163455011844636, + 0.06347694122642278, + -1.4407999408245087, + -0.28010992536544804, + -0.1230062010616064, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.4978, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.15307473979890363, + 0.8836218490540981, + 0.8103051093101503, + -0.08349389228224768, + 1.8251103843450545, + 0.40191861500740034, + 0.5704657346725464, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.5632996891856195, + -0.0001370591828597778, + 1.187215044903755, + 1.339963426311314, + 0.27724807739257784, + 0.5678760509967802, + 0.6107980014324189, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.0002876046346500516, + 0.000031505733204539865, + 0.0002759836206678301, + 0.00006468334322562441, + -0.0006845134194009006, + 0.00026760270702652633, + 0.00043154990999028087, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.909492552280426, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.00037748011527583003, + 0.0005291275447234511, + -0.00015418844122905284, + -0.00017428975843358785, + 0.0007537910132668912, + -0.00006510389357572421, + -0.00021084601758047938, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.9276549816131592, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.08800079673528671, + 0.07691292464733124, + 0.125771164894104, + 0.12257508188486099, + 0.21586425602436066, + 0.07356905937194824, + 0.06248171627521515, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.17170776426792145, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.05351067706942558, + 0.052141688764095306, + 0.07220736891031265, + 0.05641496554017067, + 0.0876786857843399, + 0.03790133446455002, + 0.0318601094186306, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11763474345207214, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.3049057404041289, + -0.23326391571760174, + -0.449493436717987, + -0.46661893243789676, + -0.8206052811384201, + -0.264598342704773, + -0.22057663996219634, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.179220182299614, + -0.19677410819530483, + -0.2365414365530012, + -0.17656873760223402, + -0.29757825162410745, + -0.13061386151313792, + -0.11544653077125544, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.5, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2864243935346604, + 0.27934236091375353, + 0.4529821054458618, + 0.3896261790275575, + 0.7331835649967196, + 0.24467797489166254, + 0.2423023993253708, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1760005448102948, + 0.19438928351402285, + 0.2754443703889846, + 0.20665088987350444, + 0.28490007309913645, + 0.1408833035707473, + 0.10577272950410843, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..f366f10 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 102313, + "num_frames": 3274013, + "estimated_total_batches": null, + "train_episodes": 5402, + "train_bytes": 214477074867, + "elapsed_sec": 861.7713775634766, + "frames_per_sec": 3799.1665599950165 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json new file mode 100644 index 0000000..bcdcf46 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.5683960318565369, + 0.22078832983970642, + -0.9512513875961304, + -0.4187726676464081, + -0.10543768852949142, + -0.6398162841796875, + -0.42031657695770264, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.7417075634002686, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.4049739837646484, + -0.5157197117805481, + -0.6557912826538086, + 0.9174462556838989, + -0.31378185749053955, + 0.3021593987941742, + 0.06857848912477493, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4635191261768341, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.064997598528862, + 0.07037549465894699, + 0.13303446769714355, + 0.11096090823411942, + 0.08682478964328766, + 0.11328177899122238, + 0.13669514656066895, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4326043128967285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6458616256713867, + 0.26487383246421814, + 0.6870888471603394, + 0.4772903025150299, + 0.3747406303882599, + 0.3143857717514038, + 0.2010403573513031, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4886818826198578, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.7200056463241578, + 0.07263180047273636, + -1.2190638768672943, + -0.5876646458387375, + -0.2917385724902153, + -0.785775899887085, + -0.6443712908029556, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.3306755208015443, + -1.236551355423592, + -1.5572463144063948, + -0.05791391396522516, + -1.486474338889122, + -0.3266377056598663, + -0.3021904477119446, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + -0.4484194566011429, + 0.3981429322063923, + -0.6136722717881203, + -0.19492976818084717, + 0.20381019022464752, + -0.33462102080285544, + -0.0783482120037079, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 2.5609298336505892, + -0.0006793295465874483, + 1.1604881446361541, + 1.7160904976725577, + 0.3718464797258374, + 0.7852976964950562, + 0.6216807430744171, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -1.9119422631774796e-6, + 0.00003626890611485578, + 0.000042202664189971983, + 2.2855781480757287e-6, + -0.000019521587091730908, + -0.00001689448436081875, + -0.00002351773582631722, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.995136022567749, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.020838096737861633, + 0.0010361943859606981, + -0.01129057165235281, + 0.014121136628091335, + 0.000757455884013325, + 0.00705363554880023, + -0.0017818119376897812, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.627912700176239, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0007892947178333998, + 0.0006520548486150801, + 0.0009216390899382532, + 0.0005412636674009264, + 0.0006694264011457562, + 0.0009917672723531723, + 0.0009289574227295816, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.49194738268852234, + 0.19771817326545715, + 0.34000205993652344, + 0.36470067501068115, + 0.19369961321353912, + 0.24002011120319366, + 0.07210414856672287, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4697430729866028, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.0017566436529159544, + -0.0015661208927631384, + -0.001643378257751467, + -0.0015505292415618896, + -0.001824682950973511, + -0.002112814867496482, + -0.0026672667026519936, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.9796605706214905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.3261862396717072, + -0.548191284418106, + -1.2032444964885711, + -1.0167676458120347, + -0.6221477860212326, + -0.6264349913597107, + -0.27403422360420227, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.002321670353412627, + 0.0019566214606165887, + 0.0028617384910583493, + 0.00153787824511528, + 0.0016360209584236132, + 0.0017452585577964752, + 0.0024165729403495817, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9999959321141243, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.2985927095890046, + 0.5280053668022155, + 0.9517922229290008, + 1.048540046620369, + 0.6327526432275774, + 0.715945652127266, + 0.2349968707561494, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json new file mode 100644 index 0000000..94e52cb --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_prod1_gello_s16_a16", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 50624, + "num_frames": 1619947, + "estimated_total_batches": null, + "train_episodes": 2811, + "train_bytes": 247276602528, + "elapsed_sec": 426.9908273220062, + "frames_per_sec": 3793.868383918118 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json new file mode 100644 index 0000000..fd388aa --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_prod1_gello_s16_a16/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9a0d9895669ad5b106f765ca2cb33f8c41f383ef7498ec7c090f1b00097964c7" +} diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats.json new file mode 100644 index 0000000..e0dfdfa --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.29493895173072815, + 0.22533413767814636, + -0.1456715613603592, + -0.37044036388397217, + 0.25953322649002075, + -0.2537669241428375, + -0.14796751737594604, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6502549648284912, + 0.28052079677581787, + 0.018628237769007683, + -0.00005931760824751109, + -0.06009761989116669, + -0.08868148177862167, + -0.05306922644376755, + -0.08859807997941971, + -0.04932575672864914, + -0.08857344835996628, + -0.04816029965877533, + -0.0868636965751648, + 0.33901673555374146, + -0.36104950308799744, + 0.3739446997642517, + 0.5144957900047302, + -0.25866034626960754, + 0.25732022523880005, + 0.2567217946052551, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.649032711982727, + -0.2628367841243744, + 0.0007943143136799335, + 0.0005952698993496597, + -0.07441623508930206, + -0.11178402602672577, + -0.06531063467264175, + -0.10965787619352341, + -0.05747656151652336, + -0.11185495555400848, + -0.05255016312003136, + -0.11343297362327576, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.42973142862319946, + 0.34801846742630005, + 0.22365431487560272, + 0.386581152677536, + 0.2664882242679596, + 0.27903592586517334, + 0.29781287908554077, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.07958385348320007, + 0.15354761481285095, + 0.0561688095331192, + 0.00017206600750796497, + 0.13671790063381195, + 0.20638827979564667, + 0.11897336691617966, + 0.20618008077144623, + 0.11050467938184738, + 0.2060556411743164, + 0.11131685972213745, + 0.20966513454914093, + 0.38633567094802856, + 0.40089690685272217, + 0.3132394552230835, + 0.5028060674667358, + 0.2161499261856079, + 0.31141015887260437, + 0.23277568817138672, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08685781061649323, + 0.16592749953269958, + 0.04572189226746559, + 0.021475350484251976, + 0.1447831094264984, + 0.2241557538509369, + 0.1266137659549713, + 0.21892304718494415, + 0.11279409378767014, + 0.22407935559749603, + 0.11696896702051163, + 0.22903063893318176, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.551503319787979, + -0.00008664713095640764, + -1.0151768641114236, + -1.3711347912874714, + -0.09397810050845146, + -0.6224041401863099, + -0.6123663410186768, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.4750549368372108, + -0.1695621688306332, + -0.0018915223360061462, + -0.00034682036133017397, + -0.5079660029932856, + -0.7161228560261428, + -0.41106695767641066, + -0.7180858494855463, + -0.3930065343528986, + -0.7158253021121025, + -0.43914203009605407, + -0.7168896266222, + -0.09407012546062465, + -1.2874860653210445, + -0.17408913574218754, + -0.001973554491996765, + -0.709429707813263, + -0.6109878363609313, + -0.16301011209487914, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.6588345624923706, + -0.35074032955169676, + -0.12010887455940245, + -0.0012235018730163416, + -0.4831454958856106, + -0.7578432049751282, + -0.4005000331997871, + -0.7217107752307659, + -0.37308507491350174, + -0.7606093155652285, + -0.38641987323760985, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.0888273763179781, + 1.1172733630652465, + 0.2808457560360431, + -0.0002945801234921497, + 0.9796338315457105, + 0.4171795751750469, + 0.3170011445522307, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.3117895703554154, + 0.00018126516474876553, + 0.00030309055969124366, + 0.000028632073849399475, + 0.0002895187854766723, + 0.00010798151530322375, + 0.0008826640248298379, + 0.00007219264842572848, + 0.001360881042480444, + 0.00013528634309745158, + 1.1458640512943268, + -0.00027783659604163624, + 1.2385047981381414, + 1.7348896422088147, + 0.18065005381107335, + 0.614627125453949, + 0.694216549706459, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.4432021089196205, + 0.1512626721620559, + 0.17926564176082604, + 0.000026741600036628288, + -0.00002473595589402855, + 0.00024811214208597665, + 0.004195320993661933, + -0.00017910952835265004, + 0.004062597829103454, + 0.0002905553966761065, + 0.01533390641212462, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0007787835202179849, + 0.0004752471577376127, + -0.0004414436989463866, + -0.001414016354829073, + 0.0013652392663061619, + -0.00017888400179799646, + -0.0015178258763626218, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.6531866788864136, + 0.28111645579338074, + 0.018650267273187637, + -0.00005974648956907913, + -0.0601251944899559, + -0.0887242928147316, + -0.053092923015356064, + -0.08864081650972366, + -0.04934830963611603, + -0.08861598372459412, + -0.048186045140028, + -0.0869021937251091, + -0.00015493706450797617, + -0.0017026631394401193, + 0.002548813121393323, + 0.00300780707038939, + -0.003767275018617511, + 0.0016496209427714348, + 0.004904294386506081, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.6519732475280762, + -0.26343226432800293, + 0.0008141772705130279, + 0.0005978844128549099, + -0.07443948835134506, + -0.11183939129114151, + -0.06535311043262482, + -0.10971058905124664, + -0.05751331150531769, + -0.11190853267908096, + -0.052590757608413696, + -0.11349154263734818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.03156838193535805, + 0.04225211963057518, + 0.021983617916703224, + 0.055804066359996796, + 0.027310846373438835, + 0.01656007580459118, + 0.03123629465699196, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.056290168315172195, + 0.1533438116312027, + 0.05616537109017372, + 0.0001719870779197663, + 0.1367076188325882, + 0.20637281239032745, + 0.11896534264087677, + 0.20616476237773895, + 0.11049602925777435, + 0.20604068040847778, + 0.11130741983652115, + 0.20963548123836517, + 0.04685088247060776, + 0.09096518158912659, + 0.04924608767032623, + 0.10160861164331436, + 0.05757398530840874, + 0.05817423388361931, + 0.06416540592908859, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06600471585988998, + 0.16580142080783844, + 0.04570968449115753, + 0.021479224786162376, + 0.1447719931602478, + 0.2241283804178238, + 0.12659254670143127, + 0.21889713406562805, + 0.11277542263269424, + 0.22405214607715607, + 0.116791270673275, + 0.22902773320674896, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.09061183040142051, + -0.12404775338172913, + -0.0704024293661118, + -0.2184853252649307, + -0.06330916590690605, + -0.04272201628684996, + -0.06422994765043255, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.5703161955150513, + -0.1695621688306332, + -0.0015250724613666555, + -0.0003453201183583588, + -0.5081007151834667, + -0.7161228560261428, + -0.4112192991763354, + -0.7180858494855463, + -0.39313467007130387, + -0.7158253021121025, + -0.43934326486587527, + -0.7167883361458778, + -0.14155023992061622, + -0.38511696057319633, + -0.11559314941167831, + -0.28750722980499266, + -0.24779948472976687, + -0.16634117028713225, + -0.09492523908615103, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.65917573107481, + -0.35003675141334534, + -0.11971547834873197, + -0.0012235018730163416, + -0.48335779817700386, + -0.7578432049751282, + -0.400345036894083, + -0.7218900377564061, + -0.3732176400005818, + -0.7603991222307086, + -0.386447157740593, + -0.7735595872879029, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.09489202313423162, + 0.1605967822551727, + 0.05606685764789576, + 0.17829083396196377, + 0.08422680478096012, + 0.03788482583761216, + 0.03299186817407607, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.6579432766681867, + 0.34925238815546034, + 0.31197279529273514, + 0.00017976492177695035, + 0.00016837836951022478, + 0.000028632073849399475, + 0.00028995392620556615, + 0.00010798151530322375, + 0.0004982568696141332, + 0.00007219264842572848, + 0.0011596462726592982, + 0.00015841935873028845, + 0.15761798739433286, + 0.2344477727532388, + 0.1723205381035804, + 0.43932262992858884, + 0.1318270815849305, + 0.22612803225517264, + 0.25317158517837535, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + -1.5372755635619164, + 0.1512626721620559, + 0.17887224555015568, + 0.000026741600036628288, + -0.00006495730280886569, + 0.00024811214208597665, + 0.003885328382253639, + -0.00017910952835265004, + 0.003930032742023526, + 0.0000803620621562251, + 0.015655354213714556, + -0.0003688353538513489, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats_meta.json new file mode 100644 index 0000000..18a2a87 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_real_s38_a38", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 3735, + "num_frames": 119501, + "estimated_total_batches": null, + "train_episodes": 139, + "train_bytes": 6479063622, + "elapsed_sec": 51.39154028892517, + "frames_per_sec": 2325.304891197284 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/unified_action_space.json new file mode 100644 index 0000000..710243d --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_real_s38_a38/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "b214ec84bd00be699f7085aa13f8ce94a5ec68921992fce7c0a2940630f38cc4" +} diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats.json new file mode 100644 index 0000000..8f7426a --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + -0.2495279163122177, + 0.17678681015968323, + -0.9840797781944275, + -0.6926301717758179, + 1.2251882553100586, + 0.08307325094938278, + 0.08522151410579681, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.34397265315055847, + -0.25304967164993286, + 0.9509468078613281, + 0.7654147744178772, + -1.22251558303833, + -0.13512815535068512, + -0.06612176448106766, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.26420679688453674, + 0.13415028154850006, + 0.47677046060562134, + 0.511353075504303, + 0.6439276337623596, + 0.20034494996070862, + 0.2428995817899704, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.3252720534801483, + 0.1595543771982193, + 0.486541211605072, + 0.5197448134422302, + 0.6544333100318909, + 0.1909613460302353, + 0.23475730419158936, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0170531200945376, + 0.0, + -1.9335804850578309, + -1.6159020401239395, + -0.25997581577301027, + -0.4047948722839355, + -0.5596908693313598, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.08971182259917254, + -0.7222377280950547, + 0.0475586646986194, + 0.18000000715255737, + -2.268928050994873, + -0.6213911081552506, + -0.6453999876976013, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.11371559751033788, + 0.5683805625915528, + -0.04447098979949926, + -0.1803198071599008, + 2.268323050069809, + 0.5785365489721299, + 0.6123555083274841, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.1841395626425744, + -0.0002228440999985093, + 2.0089757517626508, + 1.6936134419083595, + 0.35395139241218576, + 0.32321631383895877, + 0.5418778296709061, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0014831935986876488, + 0.00015102946781553328, + -0.004482831805944443, + -0.0021639675833284855, + -0.005934550892561674, + 0.0005814277101308107, + -0.00021758537332061678, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.005549073684960604, + -0.0006271626916714013, + 0.011006377637386322, + 0.00345456856302917, + 0.01563883200287819, + -0.0009500636951997876, + 0.005533472169190645, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.07221410423517227, + 0.039718322455883026, + 0.10084698349237442, + 0.08547154814004898, + 0.1351594477891922, + 0.0650010034441948, + 0.07518996298313141, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0988258570432663, + 0.05644811689853668, + 0.13093487918376923, + 0.0978231281042099, + 0.16362877190113068, + 0.06877110153436661, + 0.09312713146209717, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.21402704918384552, + -0.13221379663944244, + -0.42410457556247705, + -0.35352271614074704, + -0.5879369888305663, + -0.23091356999874113, + -0.27450559234619143, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.42848923683166507, + -0.21466804106235504, + -0.3375219912767411, + -0.2965521077394486, + -0.4419407671213149, + -0.23360881233215336, + -0.27623119473457325, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.2823349166870117, + 0.14318757643699642, + 0.28834942476749426, + 0.26326848864555363, + 0.3942917404174806, + 0.23076029906272888, + 0.2654346179962157, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.2984188953399658, + 0.186484931564331, + 0.5955430841207503, + 0.3762691063404082, + 0.7537251217126846, + 0.2303286559104918, + 0.3970500724315644, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json new file mode 100644 index 0000000..4499b07 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_tienkung_xsens_s14_a14", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 103821, + "num_frames": 3322263, + "estimated_total_batches": null, + "train_episodes": 5775, + "train_bytes": 286470910041, + "elapsed_sec": 845.7928259372711, + "frames_per_sec": 3927.986734007127 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/unified_action_space.json new file mode 100644 index 0000000..afc0e4f --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_tienkung_xsens_s14_a14/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "f93c8bfa8b83fa2fe49ad228c9db87bc4dd52e69118c7113e7db614a87543653" +} diff --git a/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats.json b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats.json new file mode 100644 index 0000000..3128de2 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.695399284362793, + -1.8317350149154663, + -1.590991497039795, + -1.160853624343872, + 1.3332312107086182, + 1.140396237373352, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2627898156642914, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5578770637512207, + 0.2017889767885208, + 0.21438661217689514, + 0.2472410500049591, + 0.4078080952167511, + 0.5581804513931274, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.306593120098114, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 1.819643810081482, + -2.436006836152077, + -2.2742806310653685, + -1.6289931789040566, + 0.1827675726890564, + 0.06774346570968626, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.018836079356074332, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 4.076547850751877, + -1.423432668375969, + -1.087432373046875, + -0.6889212518930434, + 2.1168328925490383, + 2.24854149518013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9015686275437474, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.19636471569538116, + -0.0574476420879364, + 0.013684072531759739, + 0.09973897784948349, + -0.03993012756109238, + -0.14549808204174042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.3047395348548889, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5691956281661987, + 0.24521367251873016, + 0.22722239792346954, + 0.256473571062088, + 0.4543776214122772, + 0.5897438526153564, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.37293967604637146, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.8262648647785187, + -0.6060506603240967, + -0.6010523344516754, + -0.47804851830005646, + -1.4664543380737305, + -1.7500526297569277, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.6849125693798066, + 0.605481555557251, + 0.5930862262487411, + 0.7191051467657088, + 1.1790077186584473, + 1.1551714324951172, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats_meta.json b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats_meta.json new file mode 100644 index 0000000..34a61b6 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_robot", + "dataset_id": "robomind_ur5e_s7_a7", + "builder_dir": "/mnt/bos/bo23lu/RoboMIND_full/ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380/robomind_full_infidata/1.0.0", + "split": "train", + "batch_size": 32, + "num_batches": 118080, + "num_frames": 3778539, + "estimated_total_batches": null, + "train_episodes": 25061, + "train_bytes": 185868082632, + "elapsed_sec": 956.0188310146332, + "frames_per_sec": 3952.3688000892153 +} \ No newline at end of file diff --git a/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/unified_action_space.json b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/unified_action_space.json new file mode 100644 index 0000000..eee1142 --- /dev/null +++ b/assets/cotrain_real_robot_fix/robomind_ur5e_s7_a7/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "6e093b089d4d4b4b7aa30decfa7266d28c6c842db12723952347da59fbb2cae4" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/action_chunk_metadata.json b/assets/egoscale_stage1_ego_cartesian_clean/action_chunk_metadata.json new file mode 100644 index 0000000..c0fc015 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/action_chunk_metadata.json @@ -0,0 +1,21 @@ +{ + "version": 1, + "action_source": "actions_cartesian", + "source_action_horizon": 100, + "model_action_horizon": 50, + "resampling": "uniform_full_window", + "dataset_ids": [ + "egoverse_aria", + "egoverse_eva", + "egoverse_human", + "egoverse_mecka" + ], + "excluded_dataset_ids": [ + "egoverse_scale" + ], + "source": { + "branch": "dev/weizhongxing", + "commit": "e597d5a", + "assets_name": "cotrain_real_robot_ego_fix" + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/norm_stats.json new file mode 100644 index 0000000..4ff2258 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12166035175323486, + 0.23119498789310455, + 0.4111783802509308, + -0.5298404693603516, + 0.44920289516448975, + 0.5565283298492432, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23643210530281067, + 0.21523436903953552, + 0.4122660756111145, + 0.3888055384159088, + -0.38106709718704224, + 0.6427460312843323, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08778028935194016, + 0.15163446962833405, + 0.13368120789527893, + 0.6714040040969849, + 0.3866713047027588, + 0.5079607367515564, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09122937172651291, + 0.12792636454105377, + 0.12599395215511322, + 0.582551121711731, + 0.3378855288028717, + 0.4499942362308502, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3689167526066303, + -0.054547168362140575, + 0.09931514641642572, + -2.4617583399295806, + -0.5316209133625031, + -0.7567985370635988, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.013067733407020554, + -0.04368885927200317, + 0.10875816532969476, + -1.0028089153289792, + -1.154629192495346, + -0.5534574932098391, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08753183281421661, + 0.7393663897156717, + 0.6762258793920278, + 0.8783182964801783, + 1.310225102376938, + 1.8091314195632933, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.45415698641538627, + 0.5861799350023269, + 0.6513249461054802, + 1.9897053428649905, + 0.3179172328710558, + 1.8096286849975582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12074601650238037, + 0.23127269744873047, + 0.4086158573627472, + -0.5268499851226807, + 0.4486653506755829, + 0.5590476989746094, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23527181148529053, + 0.2153901606798172, + 0.4092255234718323, + 0.3862147629261017, + -0.3803271949291229, + 0.645171046257019, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09276538342237473, + 0.15471841394901276, + 0.14132468402385712, + 0.6763492822647095, + 0.3874964416027069, + 0.5263004302978516, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0987233966588974, + 0.13191889226436615, + 0.13414499163627625, + 0.5869997143745422, + 0.3407040536403656, + 0.46784698963165283, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.37511724073886876, + -0.06733995723724373, + 0.07096390113830564, + -2.4730586353302, + -0.5389193408966064, + -0.8180741324424745, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.05074397559165966, + -0.06282284736633303, + 0.08328107010126118, + -1.0480259569168089, + -1.1708042019844056, + -0.6295796968936922, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.11001674745082868, + 0.7423019834518432, + 0.6922297708511351, + 0.8796471023559569, + 1.3180414205551148, + 2.025689142227173, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4544835112094878, + 0.5950588770866394, + 0.6731816347360611, + 1.975429588699341, + 0.3151969306945801, + 1.977904184818267, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_aria/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/norm_stats.json new file mode 100644 index 0000000..e6ae406 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2190004289150238, + -0.01304883137345314, + 0.21394658088684082, + -1.9095458984375, + -0.19596563279628754, + -1.419466495513916, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2360052466392517, + 0.02680254355072975, + 0.21276696026325226, + -1.916266679763794, + 0.13471189141273499, + -1.5923057794570923, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10091721266508102, + 0.10360612720251083, + 0.06888390332460403, + 0.45155060291290283, + 0.36519327759742737, + 0.4060201644897461, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1073782742023468, + 0.11774510145187378, + 0.083305723965168, + 0.46599993109703064, + 0.3570115268230438, + 0.4728350341320038, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07179967370331287, + -0.2740250060558319, + 0.08771113557145, + -2.8700483612060546, + -1.2913335979938507, + -2.317228254318237, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07996378449304029, + -0.26061565375328066, + 0.08465802989006042, + -2.8858336179733275, + -0.6177014261245727, + -2.7656726984024047, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.48311578728854654, + 0.2508078234434127, + 0.3998115311957896, + -1.0920184017658237, + 0.4456321312904361, + -0.09932647967338548, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.534533993572928, + 0.3292458095788955, + 0.4653055617466569, + -1.0375731033325195, + 1.212061049461365, + -0.5427560737609864, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22019365429878235, + -0.013202173635363579, + 0.21475966274738312, + -1.9115854501724243, + -0.1973499059677124, + -1.4179644584655762, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23747846484184265, + 0.027177968993782997, + 0.21387891471385956, + -1.9178380966186523, + 0.13657420873641968, + -1.5925509929656982, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10051397234201431, + 0.10388731211423874, + 0.06895716488361359, + 0.45243099331855774, + 0.36674046516418457, + 0.40779173374176025, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1066482812166214, + 0.11816641688346863, + 0.08349459618330002, + 0.4674621820449829, + 0.35862237215042114, + 0.47751733660697937, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07154435643851756, + -0.27418689156770704, + 0.08781253271102905, + -2.8701535339355466, + -1.294304462981224, + -2.318497973680496, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07960215345956385, + -0.2608030303299427, + 0.08477979813441634, + -2.886489329814911, + -0.6195968866348266, + -2.7708734118938447, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4832434459209442, + 0.2508078234434127, + 0.4002171197541058, + -1.0895058629512788, + 0.4471175637841225, + -0.09426423907279924, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.534533993572928, + 0.3296205627322196, + 0.4655490982353687, + -1.0342174954414367, + 1.214405522346497, + -0.5290375106334686, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_eva/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/norm_stats.json new file mode 100644 index 0000000..6080f77 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1330566257238388, + 0.24941594898700714, + 0.3912067711353302, + -0.5117707848548889, + 0.4540312588214874, + 0.5344458818435669, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22239437699317932, + 0.23018667101860046, + 0.40321943163871765, + -1.0734251737594604, + 0.40631866455078125, + -0.567889392375946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08491669595241547, + 0.14863893389701843, + 0.13072209060192108, + 0.665607213973999, + 0.38427573442459106, + 0.5125419497489929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09016702324151993, + 0.12886397540569305, + 0.1315808743238449, + 2.413289785385132, + 0.345689594745636, + 0.45598432421684265, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.37785880255699156, + -0.10297333164215094, + 0.06543110491633417, + -2.2986595950126647, + -0.4615935548305512, + -0.7673034253120425, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.012441163522005028, + -0.06359605151414871, + 0.08504984902143478, + -3.132793189573288, + -0.32782486844062797, + -1.9951087409973145, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.05176050739884375, + 0.7069211017608641, + 0.6560952421188355, + 0.9478633759498596, + 1.2835144963264464, + 2.1235865449905393, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.43256259637475025, + 0.5807454437494279, + 0.6534668659090995, + 3.1277673608303065, + 1.1876426827907562, + 0.5026934100627898, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.13209442794322968, + 0.24938827753067017, + 0.387939989566803, + -0.5071555972099304, + 0.4537590444087982, + 0.5403160452842712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22138313949108124, + 0.23027460277080536, + 0.39935484528541565, + -1.0899399518966675, + 0.4049857258796692, + -0.5746946334838867, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09488733857870102, + 0.15424220263957977, + 0.14098116755485535, + 0.6701377630233765, + 0.38455674052238464, + 0.5300745964050293, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10320556163787842, + 0.13505098223686218, + 0.14237873256206512, + 2.4028518199920654, + 0.34777238965034485, + 0.47335296869277954, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.4124593452453613, + -0.11575612220764153, + 0.030947245287895164, + -2.3122097148895264, + -0.46367396545410156, + -0.7979378693103794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.09252005891799975, + -0.0849433012008669, + 0.04245689219236359, + -3.1302830075740813, + -0.32215781345367445, + -2.220473990869522, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.039014852523802546, + 0.7114729148864747, + 0.6777088600516317, + 0.9575540544509895, + 1.2854063110589982, + 2.293356660604477, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.40437775545120225, + 0.5969644649505614, + 0.6737304461598397, + 3.129026132106781, + 1.1957805883407593, + 0.5252715008735653, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_human/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/norm_stats.json new file mode 100644 index 0000000..662a55a --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041311681270599365, + 0.02016034536063671, + 0.42764273285865784, + -0.30062398314476013, + 0.8043126463890076, + 0.7058155536651611, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16585250198841095, + 0.011174505576491356, + 0.4123918116092682, + 0.0937289446592331, + -0.7642404437065125, + 1.0252869129180908, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06677284091711044, + 0.0860026404261589, + 0.11104816198348999, + 1.4209537506103516, + 0.39864784479141235, + 1.3748582601547241, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07352157682180405, + 0.08598791807889938, + 0.11283272504806519, + 1.1708850860595703, + 0.41116347908973694, + 1.2039682865142822, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.24359868192076684, + -0.17205708267092706, + 0.20571585297584527, + -3.044824007701874, + -0.09930047750473037, + -2.861349939966202, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008344786661863335, + -0.1877607287824154, + 0.19212565280497074, + -2.8387421497821808, + -1.488239255809784, + -2.794754576873779, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1004951382339001, + 0.23993051539659493, + 0.7305141133069992, + 3.0272344609260555, + 1.494115477538109, + 2.925446102714538, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.38663559036850936, + 0.22775880253314973, + 0.718777276083827, + 2.9580810029029854, + 0.22219988961219794, + 2.926661149692536, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0410047322511673, + 0.019869746640324593, + 0.42761027812957764, + -0.2989015281200409, + 0.8042927980422974, + 0.7061425447463989, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1656421273946762, + 0.011028534732758999, + 0.4124082028865814, + 0.09209282696247101, + -0.7644954919815063, + 1.0257295370101929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07614587247371674, + 0.08977587521076202, + 0.11321776360273361, + 1.4226646423339844, + 0.3989226520061493, + 1.375699520111084, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0831696018576622, + 0.09024359285831451, + 0.1148906722664833, + 1.171791672706604, + 0.41162174940109253, + 1.2048040628433228, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.27464040846824644, + -0.18900329589843756, + 0.201951139831543, + -3.043574823951721, + -0.10428299293518073, + -2.8563359033584597, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.025380454158782872, + -0.2022279738187791, + 0.18923787055015562, + -2.8437695333480835, + -1.4884562452316283, + -2.797273115158081, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1306754380226136, + 0.25287380361557, + 0.7382136569499971, + 3.0272380673408508, + 1.493233833885193, + 2.9292208494186402, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.41612847385406515, + 0.23796629579067208, + 0.7276956573724747, + 2.9543535894393917, + 0.22295816173553473, + 2.925450050354004, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean/egoverse_mecka/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/action_chunk_metadata.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/action_chunk_metadata.json new file mode 100644 index 0000000..94487ec --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/action_chunk_metadata.json @@ -0,0 +1,31 @@ +{ + "datasets": { + "egoverse_aria": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + }, + "egoverse_eva": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + }, + "egoverse_human": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + }, + "egoverse_mecka": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + }, + "egoverse_rl2_eva": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + }, + "egoverse_rl2_human": { + "action_source": "actions_cartesian", + "source_action_horizon": 100 + } + }, + "model_action_horizon": 50, + "resampling": "uniform_full_window", + "version": 2 +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/norm_stats.json new file mode 100644 index 0000000..4ff2258 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12166035175323486, + 0.23119498789310455, + 0.4111783802509308, + -0.5298404693603516, + 0.44920289516448975, + 0.5565283298492432, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23643210530281067, + 0.21523436903953552, + 0.4122660756111145, + 0.3888055384159088, + -0.38106709718704224, + 0.6427460312843323, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08778028935194016, + 0.15163446962833405, + 0.13368120789527893, + 0.6714040040969849, + 0.3866713047027588, + 0.5079607367515564, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09122937172651291, + 0.12792636454105377, + 0.12599395215511322, + 0.582551121711731, + 0.3378855288028717, + 0.4499942362308502, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.3689167526066303, + -0.054547168362140575, + 0.09931514641642572, + -2.4617583399295806, + -0.5316209133625031, + -0.7567985370635988, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.013067733407020554, + -0.04368885927200317, + 0.10875816532969476, + -1.0028089153289792, + -1.154629192495346, + -0.5534574932098391, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08753183281421661, + 0.7393663897156717, + 0.6762258793920278, + 0.8783182964801783, + 1.310225102376938, + 1.8091314195632933, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.45415698641538627, + 0.5861799350023269, + 0.6513249461054802, + 1.9897053428649905, + 0.3179172328710558, + 1.8096286849975582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12074601650238037, + 0.23127269744873047, + 0.4086158573627472, + -0.5268499851226807, + 0.4486653506755829, + 0.5590476989746094, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23527181148529053, + 0.2153901606798172, + 0.4092255234718323, + 0.3862147629261017, + -0.3803271949291229, + 0.645171046257019, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09276538342237473, + 0.15471841394901276, + 0.14132468402385712, + 0.6763492822647095, + 0.3874964416027069, + 0.5263004302978516, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0987233966588974, + 0.13191889226436615, + 0.13414499163627625, + 0.5869997143745422, + 0.3407040536403656, + 0.46784698963165283, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.37511724073886876, + -0.06733995723724373, + 0.07096390113830564, + -2.4730586353302, + -0.5389193408966064, + -0.8180741324424745, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.05074397559165966, + -0.06282284736633303, + 0.08328107010126118, + -1.0480259569168089, + -1.1708042019844056, + -0.6295796968936922, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.11001674745082868, + 0.7423019834518432, + 0.6922297708511351, + 0.8796471023559569, + 1.3180414205551148, + 2.025689142227173, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4544835112094878, + 0.5950588770866394, + 0.6731816347360611, + 1.975429588699341, + 0.3151969306945801, + 1.977904184818267, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_aria/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/norm_stats.json new file mode 100644 index 0000000..e6ae406 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2190004289150238, + -0.01304883137345314, + 0.21394658088684082, + -1.9095458984375, + -0.19596563279628754, + -1.419466495513916, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2360052466392517, + 0.02680254355072975, + 0.21276696026325226, + -1.916266679763794, + 0.13471189141273499, + -1.5923057794570923, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10091721266508102, + 0.10360612720251083, + 0.06888390332460403, + 0.45155060291290283, + 0.36519327759742737, + 0.4060201644897461, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1073782742023468, + 0.11774510145187378, + 0.083305723965168, + 0.46599993109703064, + 0.3570115268230438, + 0.4728350341320038, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07179967370331287, + -0.2740250060558319, + 0.08771113557145, + -2.8700483612060546, + -1.2913335979938507, + -2.317228254318237, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07996378449304029, + -0.26061565375328066, + 0.08465802989006042, + -2.8858336179733275, + -0.6177014261245727, + -2.7656726984024047, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.48311578728854654, + 0.2508078234434127, + 0.3998115311957896, + -1.0920184017658237, + 0.4456321312904361, + -0.09932647967338548, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.534533993572928, + 0.3292458095788955, + 0.4653055617466569, + -1.0375731033325195, + 1.212061049461365, + -0.5427560737609864, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22019365429878235, + -0.013202173635363579, + 0.21475966274738312, + -1.9115854501724243, + -0.1973499059677124, + -1.4179644584655762, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23747846484184265, + 0.027177968993782997, + 0.21387891471385956, + -1.9178380966186523, + 0.13657420873641968, + -1.5925509929656982, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10051397234201431, + 0.10388731211423874, + 0.06895716488361359, + 0.45243099331855774, + 0.36674046516418457, + 0.40779173374176025, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1066482812166214, + 0.11816641688346863, + 0.08349459618330002, + 0.4674621820449829, + 0.35862237215042114, + 0.47751733660697937, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07154435643851756, + -0.27418689156770704, + 0.08781253271102905, + -2.8701535339355466, + -1.294304462981224, + -2.318497973680496, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07960215345956385, + -0.2608030303299427, + 0.08477979813441634, + -2.886489329814911, + -0.6195968866348266, + -2.7708734118938447, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.4832434459209442, + 0.2508078234434127, + 0.4002171197541058, + -1.0895058629512788, + 0.4471175637841225, + -0.09426423907279924, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.534533993572928, + 0.3296205627322196, + 0.4655490982353687, + -1.0342174954414367, + 1.214405522346497, + -0.5290375106334686, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_eva/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/norm_stats.json new file mode 100644 index 0000000..6080f77 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.1330566257238388, + 0.24941594898700714, + 0.3912067711353302, + -0.5117707848548889, + 0.4540312588214874, + 0.5344458818435669, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22239437699317932, + 0.23018667101860046, + 0.40321943163871765, + -1.0734251737594604, + 0.40631866455078125, + -0.567889392375946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.08491669595241547, + 0.14863893389701843, + 0.13072209060192108, + 0.665607213973999, + 0.38427573442459106, + 0.5125419497489929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09016702324151993, + 0.12886397540569305, + 0.1315808743238449, + 2.413289785385132, + 0.345689594745636, + 0.45598432421684265, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.37785880255699156, + -0.10297333164215094, + 0.06543110491633417, + -2.2986595950126647, + -0.4615935548305512, + -0.7673034253120425, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.012441163522005028, + -0.06359605151414871, + 0.08504984902143478, + -3.132793189573288, + -0.32782486844062797, + -1.9951087409973145, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.05176050739884375, + 0.7069211017608641, + 0.6560952421188355, + 0.9478633759498596, + 1.2835144963264464, + 2.1235865449905393, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.43256259637475025, + 0.5807454437494279, + 0.6534668659090995, + 3.1277673608303065, + 1.1876426827907562, + 0.5026934100627898, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.13209442794322968, + 0.24938827753067017, + 0.387939989566803, + -0.5071555972099304, + 0.4537590444087982, + 0.5403160452842712, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22138313949108124, + 0.23027460277080536, + 0.39935484528541565, + -1.0899399518966675, + 0.4049857258796692, + -0.5746946334838867, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.09488733857870102, + 0.15424220263957977, + 0.14098116755485535, + 0.6701377630233765, + 0.38455674052238464, + 0.5300745964050293, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.10320556163787842, + 0.13505098223686218, + 0.14237873256206512, + 2.4028518199920654, + 0.34777238965034485, + 0.47335296869277954, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.4124593452453613, + -0.11575612220764153, + 0.030947245287895164, + -2.3122097148895264, + -0.46367396545410156, + -0.7979378693103794, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.09252005891799975, + -0.0849433012008669, + 0.04245689219236359, + -3.1302830075740813, + -0.32215781345367445, + -2.220473990869522, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.039014852523802546, + 0.7114729148864747, + 0.6777088600516317, + 0.9575540544509895, + 1.2854063110589982, + 2.293356660604477, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.40437775545120225, + 0.5969644649505614, + 0.6737304461598397, + 3.129026132106781, + 1.1957805883407593, + 0.5252715008735653, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_human/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/norm_stats.json new file mode 100644 index 0000000..662a55a --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.041311681270599365, + 0.02016034536063671, + 0.42764273285865784, + -0.30062398314476013, + 0.8043126463890076, + 0.7058155536651611, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.16585250198841095, + 0.011174505576491356, + 0.4123918116092682, + 0.0937289446592331, + -0.7642404437065125, + 1.0252869129180908, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.06677284091711044, + 0.0860026404261589, + 0.11104816198348999, + 1.4209537506103516, + 0.39864784479141235, + 1.3748582601547241, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07352157682180405, + 0.08598791807889938, + 0.11283272504806519, + 1.1708850860595703, + 0.41116347908973694, + 1.2039682865142822, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.24359868192076684, + -0.17205708267092706, + 0.20571585297584527, + -3.044824007701874, + -0.09930047750473037, + -2.861349939966202, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008344786661863335, + -0.1877607287824154, + 0.19212565280497074, + -2.8387421497821808, + -1.488239255809784, + -2.794754576873779, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1004951382339001, + 0.23993051539659493, + 0.7305141133069992, + 3.0272344609260555, + 1.494115477538109, + 2.925446102714538, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.38663559036850936, + 0.22775880253314973, + 0.718777276083827, + 2.9580810029029854, + 0.22219988961219794, + 2.926661149692536, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0410047322511673, + 0.019869746640324593, + 0.42761027812957764, + -0.2989015281200409, + 0.8042927980422974, + 0.7061425447463989, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1656421273946762, + 0.011028534732758999, + 0.4124082028865814, + 0.09209282696247101, + -0.7644954919815063, + 1.0257295370101929, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.07614587247371674, + 0.08977587521076202, + 0.11321776360273361, + 1.4226646423339844, + 0.3989226520061493, + 1.375699520111084, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0831696018576622, + 0.09024359285831451, + 0.1148906722664833, + 1.171791672706604, + 0.41162174940109253, + 1.2048040628433228, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.27464040846824644, + -0.18900329589843756, + 0.201951139831543, + -3.043574823951721, + -0.10428299293518073, + -2.8563359033584597, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.025380454158782872, + -0.2022279738187791, + 0.18923787055015562, + -2.8437695333480835, + -1.4884562452316283, + -2.797273115158081, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1306754380226136, + 0.25287380361557, + 0.7382136569499971, + 3.0272380673408508, + 1.493233833885193, + 2.9292208494186402, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.41612847385406515, + 0.23796629579067208, + 0.7276956573724747, + 2.9543535894393917, + 0.22295816173553473, + 2.925450050354004, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_mecka/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/norm_stats.json new file mode 100644 index 0000000..1375600 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2164417803287506, + -0.0104580819606781, + 0.21470171213150024, + -1.9113050699234009, + -0.1933761090040207, + -1.4234869480133057, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23465768992900848, + 0.027926092967391014, + 0.21325136721134186, + -1.9062485694885254, + 0.1409778594970703, + -1.5935752391815186, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10017848014831543, + 0.10553289204835892, + 0.06925559788942337, + 0.4389428496360779, + 0.3652651607990265, + 0.400618314743042, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1057286411523819, + 0.11862988770008087, + 0.0838322713971138, + 0.4714084267616272, + 0.36273449659347534, + 0.46921059489250183, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07111438088715077, + -0.2764020213007927, + 0.08954840897098183, + -2.873914425897598, + -1.2687851601600646, + -2.2832934657096864, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07890571261048318, + -0.2747246411561966, + 0.08502333462312817, + -2.8750053367614745, + -0.6304698666334152, + -2.7695189712524413, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4792568555921316, + 0.2491615037560463, + 0.40273056274577973, + -1.1473007554531096, + 0.47531614527702315, + -0.10432972040176391, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5254945877596736, + 0.3248962529063225, + 0.46128720968291165, + -1.0906822261810305, + 1.2141797671318053, + -0.590554977893829, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.21758773922920227, + -0.010592794977128506, + 0.21552473306655884, + -1.9134125709533691, + -0.19465908408164978, + -1.421970009803772, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23606525361537933, + 0.028307797387242317, + 0.2143336683511734, + -1.9075227975845337, + 0.142909437417984, + -1.593762755393982, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09978611767292023, + 0.10580997169017792, + 0.06933467835187912, + 0.4390905499458313, + 0.3667401373386383, + 0.4025161564350128, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.10500019788742065, + 0.11898990720510483, + 0.08402133733034134, + 0.4730278551578522, + 0.36428719758987427, + 0.47377777099609375, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07066055307984354, + -0.27658275153636935, + 0.08954840897098183, + -2.8739228715896608, + -1.2699071294784545, + -2.2858256137371065, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.07865712431371213, + -0.2747246411561966, + 0.08502333462312817, + -2.875186069107056, + -0.6317541275024413, + -2.7746516216278074, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4792568555921316, + 0.2491615037560463, + 0.4029797132261097, + -1.1460501422882081, + 0.47699909925460826, + -0.10180401444435105, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5254945877596736, + 0.32510805823802946, + 0.46140897792726754, + -1.0844840503692628, + 1.2160476791381836, + -0.5818213861465455, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_eva/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/norm_stats.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/norm_stats.json new file mode 100644 index 0000000..3968451 --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12933999300003052, + 0.24063190817832947, + 0.4416622519493103, + -0.6944487690925598, + 0.45836564898490906, + 0.5358689427375793, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.2502874433994293, + 0.23516084253787994, + 0.44360414147377014, + 0.6077548861503601, + -0.3730250298976898, + 0.5937881469726562, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08935471624135971, + 0.12952828407287598, + 0.12448161840438843, + 0.692352831363678, + 0.3486703932285309, + 0.47871237993240356, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09328444302082062, + 0.12007708102464676, + 0.11179827898740768, + 0.5902003049850464, + 0.3326391279697418, + 0.4485953748226166, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.40781200494766234, + -0.04547922207117083, + 0.07553541901111602, + -2.5019622619628907, + -0.2722730859756468, + -0.6120399420261382, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.00043503417968754343, + -0.020089824151992786, + 0.11202512446939944, + -0.9034745678424834, + -1.253897266817093, + -0.4536574764251706, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08629501163959497, + 0.5917687045812607, + 0.6719588408708572, + 1.1007870376586908, + 1.3654368005752566, + 1.868492502450943, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.46086201287508, + 0.5766027160167695, + 0.6505929843217135, + 1.9616211562633517, + 0.33306661038398744, + 1.7265954761505125, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.12846162915229797, + 0.24065281450748444, + 0.4385462999343872, + -0.6843387484550476, + 0.45870089530944824, + 0.5427051186561584, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.24914047122001648, + 0.2354695051908493, + 0.4400724470615387, + 0.5994752049446106, + -0.3723706305027008, + 0.6013513803482056, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09751614928245544, + 0.13535769283771515, + 0.1366906315088272, + 0.7017932534217834, + 0.3501686751842499, + 0.5054476857185364, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.1045742928981781, + 0.12611989676952362, + 0.12571245431900024, + 0.5984635353088379, + 0.33506423234939575, + 0.4695108234882355, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.41811091079711815, + -0.07327920675277699, + 0.011085566711425798, + -2.519557163476944, + -0.27655053532123564, + -0.6710433414459227, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0602045078277591, + -0.040453712654113794, + 0.038514400863647325, + -1.017873287677765, + -1.2669479208946228, + -0.49134299960136385, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0946989654541035, + 0.5982611298561089, + 0.6756373184204101, + 1.2000885007381443, + 1.3711365784168246, + 2.3222655406951906, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4471913352966297, + 0.5886022707939151, + 0.6626308078765888, + 1.9515580302715305, + 0.3337616587638854, + 2.161416199684143, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/unified_action_space.json b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/unified_action_space.json new file mode 100644 index 0000000..79be3ed --- /dev/null +++ b/assets/egoscale_stage1_ego_cartesian_clean_rl2/egoverse_rl2_human/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "0b96a01712acfc71cdae8c5c23dd2b5d5ae7bcc7e9d5cb664ea2191426d691eb" +} diff --git a/assets/egoscale_stage2_self_collected_aligned/action_chunk_metadata.json b/assets/egoscale_stage2_self_collected_aligned/action_chunk_metadata.json new file mode 100644 index 0000000..513eb89 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/action_chunk_metadata.json @@ -0,0 +1,29 @@ +{ + "action_frame": "current_canonical_eef", + "datasets": { + "aligned_hangzhou_human_right": { + "action_source": "relative_eef_se3_translation_rotvec_plus_absolute_gripper", + "source_action_horizon": 50 + }, + "aligned_hangzhou_robot_right": { + "action_source": "relative_eef_se3_translation_rotvec_plus_absolute_gripper", + "source_action_horizon": 50 + }, + "aligned_shenzhen_human_bimanual": { + "action_source": "relative_eef_se3_translation_rotvec_plus_absolute_gripper", + "source_action_horizon": 50 + }, + "aligned_shenzhen_robot_bimanual": { + "action_source": "relative_eef_se3_translation_rotvec_plus_absolute_gripper", + "source_action_horizon": 50 + } + }, + "gripper_encoding": "absolute_closure_0_open_1_closed", + "model_action_horizon": 50, + "normalization": "per_dataset_state_shared_action_by_unified_active_slot", + "physical_horizon_seconds": 1.0, + "pose_encoding": "relative_se3_translation_xyz_plus_rotation_vector_xyz", + "resampling": "uniform_full_window", + "target_time_offsets_seconds": "0.02..1.00 inclusive at 0.02 intervals", + "version": 4 +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats.json new file mode 100644 index 0000000..729642c --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.04772701859474182, + -0.027484094724059105, + 0.4073707163333893, + -1.3708199262619019, + -0.5684096217155457, + 2.298532485961914, + 0.0, + 0.0, + 0.0, + 0.4108084440231323, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08056430518627167, + 0.032921433448791504, + 0.05660773068666458, + 1.478535532951355, + 0.3785008490085602, + 1.394388198852539, + 1.0, + 1.0, + 1.0, + 0.18889550864696503, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.09979915680885315, + -0.1208118818357587, + 0.27710762294530866, + -6.802695386600494, + -0.9454607655525208, + -3.2941735162734984, + -1.0, + -1.0, + -1.0, + 0.024, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18746914806365966, + 0.04004142888933421, + 0.5225105694174766, + 4.403865003204347, + 0.8232634908676144, + 4.587789735507965, + 1.0, + 1.0, + 1.0, + 0.9880000000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0005168745410628617, + 0.0015924478648230433, + 0.002164255129173398, + 0.0014091331977397203, + -0.0030547294300049543, + 0.0029673920944333076, + 0.0, + 0.0, + 0.0, + 0.5390127301216125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.021473892033100128, + 0.02923824079334736, + 0.02860417775809765, + 0.12305063754320145, + 0.09236558526754379, + 0.08396059274673462, + 1.0, + 1.0, + 1.0, + 0.3480131924152374, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0680360094487667, + -0.09853469914197921, + -0.08442509250640869, + -0.35048141593933124, + -0.2836640691757202, + -0.2656443134784694, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06770443831086159, + 0.0925940738916397, + 0.10119616718292235, + 0.427083967208862, + 0.26864766888618474, + 0.25838116617202767, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats_meta.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats_meta.json new file mode 100644 index 0000000..b5f838e --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/norm_stats_meta.json @@ -0,0 +1,19 @@ +{ + "action_norm": "shared_by_unified_active_slot", + "dataset_id": "aligned_hangzhou_human_right", + "shared_action_dataset_ids": [ + "aligned_hangzhou_human_right", + "aligned_shenzhen_human_bimanual", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_robot_bimanual" + ], + "shared_action_train_frames_by_dataset": { + "aligned_hangzhou_human_right": 46426, + "aligned_hangzhou_robot_right": 17706, + "aligned_shenzhen_human_bimanual": 43471, + "aligned_shenzhen_robot_bimanual": 38380 + }, + "state_norm": "per_dataset", + "train_frames": 46426, + "version": 2 +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/unified_action_space.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/unified_action_space.json new file mode 100644 index 0000000..4c25085 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_human_right/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "6c8784e5ea15ba6ed42f14ed1d5066da3498ba6bb9fd9ddb5bb3531f3096b16e" +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats.json new file mode 100644 index 0000000..115203b --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0763854905962944, + -0.034955210983753204, + 0.44513243436813354, + 2.414245843887329, + 0.47534802556037903, + -0.08713078498840332, + 0.0, + 0.0, + 0.0, + 0.2989233136177063, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.11682433634996414, + 0.05020182579755783, + 0.09741662442684174, + 0.6448267698287964, + 0.29118484258651733, + 0.5615286231040955, + 1.0, + 1.0, + 1.0, + 0.33227288722991943, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.1251919910311699, + -0.18278437212705612, + 0.2302037693977356, + 0.6112992504119873, + -0.3812687681674957, + -1.3662484539628028, + -1.0, + -1.0, + -1.0, + 0.0025944967865943907, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.26317213323712346, + 0.04026901828646662, + 0.573158506655693, + 3.7403096044540405, + 1.0258603947162628, + 0.8858128664731981, + 1.0, + 1.0, + 1.0, + 0.9918960791826248, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0005168745410628617, + 0.0015924478648230433, + 0.002164255129173398, + 0.0014091331977397203, + -0.0030547294300049543, + 0.0029673920944333076, + 0.0, + 0.0, + 0.0, + 0.5390127301216125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.021473892033100128, + 0.02923824079334736, + 0.02860417775809765, + 0.12305063754320145, + 0.09236558526754379, + 0.08396059274673462, + 1.0, + 1.0, + 1.0, + 0.3480131924152374, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0680360094487667, + -0.09853469914197921, + -0.08442509250640869, + -0.35048141593933124, + -0.2836640691757202, + -0.2656443134784694, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06770443831086159, + 0.0925940738916397, + 0.10119616718292235, + 0.427083967208862, + 0.26864766888618474, + 0.25838116617202767, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats_meta.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats_meta.json new file mode 100644 index 0000000..0688355 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/norm_stats_meta.json @@ -0,0 +1,19 @@ +{ + "action_norm": "shared_by_unified_active_slot", + "dataset_id": "aligned_hangzhou_robot_right", + "shared_action_dataset_ids": [ + "aligned_hangzhou_human_right", + "aligned_shenzhen_human_bimanual", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_robot_bimanual" + ], + "shared_action_train_frames_by_dataset": { + "aligned_hangzhou_human_right": 46426, + "aligned_hangzhou_robot_right": 17706, + "aligned_shenzhen_human_bimanual": 43471, + "aligned_shenzhen_robot_bimanual": 38380 + }, + "state_norm": "per_dataset", + "train_frames": 17706, + "version": 2 +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/unified_action_space.json b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/unified_action_space.json new file mode 100644 index 0000000..4c25085 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_hangzhou_robot_right/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "6c8784e5ea15ba6ed42f14ed1d5066da3498ba6bb9fd9ddb5bb3531f3096b16e" +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats.json new file mode 100644 index 0000000..a9eb926 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.08149129152297974, + 0.031205302104353905, + 0.5018802881240845, + -2.423288106918335, + -0.4217444360256195, + 0.23025599122047424, + 0.0, + 0.0, + 0.0, + 0.6306188702583313, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.1260407567024231, + 0.051268402487039566, + 0.5168296098709106, + -0.6372190117835999, + -0.35566186904907227, + 2.290114402770996, + 0.0, + 0.0, + 0.0, + 0.5068424344062805, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.04409920424222946, + 0.06398195773363113, + 0.06796959787607193, + 0.9641264081001282, + 0.31528440117836, + 0.34878256916999817, + 1.0, + 1.0, + 1.0, + 0.2853068709373474, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.054386332631111145, + 0.06693936884403229, + 0.054346658289432526, + 0.9667418003082275, + 0.2621683180332184, + 1.6607937812805176, + 1.0, + 1.0, + 1.0, + 0.3376900255680084, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.17958860237151386, + -0.10589541621208191, + 0.35756173493862153, + -5.564514849948883, + -1.009931216096878, + -0.28173026733398476, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.061422359228134146, + -0.1107434471398592, + 0.38827431951165203, + -4.319070265007019, + -0.8682094507217407, + -3.4505513811111452, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.027619799971580483, + 0.13712259278297423, + 0.672132810986042, + 2.3540000686645506, + 0.6408968575954437, + 1.4908114804744717, + 1.0, + 1.0, + 1.0, + 0.9882000000000001, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.20732704186439516, + 0.1499485088080168, + 0.6316818821907044, + 2.5721545613288885, + 0.6000244626998903, + 3.663807424545288, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0010765381157398224, + -0.0004962195525877178, + 0.00041657642577774823, + -0.0027519697323441505, + 0.0015751465689390898, + -0.003329648170620203, + 0.0, + 0.0, + 0.0, + 0.7505389451980591, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0005168745410628617, + 0.0015924478648230433, + 0.002164255129173398, + 0.0014091331977397203, + -0.0030547294300049543, + 0.0029673920944333076, + 0.0, + 0.0, + 0.0, + 0.5390127301216125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025834443047642708, + 0.034900493919849396, + 0.034236982464790344, + 0.14448918402194977, + 0.08971908688545227, + 0.09599316865205765, + 1.0, + 1.0, + 1.0, + 0.2987584173679352, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.021473892033100128, + 0.02923824079334736, + 0.02860417775809765, + 0.12305063754320145, + 0.09236558526754379, + 0.08396059274673462, + 1.0, + 1.0, + 1.0, + 0.3480131924152374, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.08858595550060272, + -0.11524101165533066, + -0.09926413218975066, + -0.4447510935068131, + -0.2813325479507447, + -0.36630915203094494, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0680360094487667, + -0.09853469914197921, + -0.08442509250640869, + -0.35048141593933124, + -0.2836640691757202, + -0.2656443134784694, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0825064355134964, + 0.10687081228494644, + 0.11328908758759498, + 0.5389812388420105, + 0.28062369060516357, + 0.2829389832496645, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06770443831086159, + 0.0925940738916397, + 0.10119616718292235, + 0.427083967208862, + 0.26864766888618474, + 0.25838116617202767, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats_meta.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats_meta.json new file mode 100644 index 0000000..ebaddb4 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/norm_stats_meta.json @@ -0,0 +1,19 @@ +{ + "action_norm": "shared_by_unified_active_slot", + "dataset_id": "aligned_shenzhen_human_bimanual", + "shared_action_dataset_ids": [ + "aligned_hangzhou_human_right", + "aligned_shenzhen_human_bimanual", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_robot_bimanual" + ], + "shared_action_train_frames_by_dataset": { + "aligned_hangzhou_human_right": 46426, + "aligned_hangzhou_robot_right": 17706, + "aligned_shenzhen_human_bimanual": 43471, + "aligned_shenzhen_robot_bimanual": 38380 + }, + "state_norm": "per_dataset", + "train_frames": 43471, + "version": 2 +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/unified_action_space.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/unified_action_space.json new file mode 100644 index 0000000..d5ca03d --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_human_bimanual/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9921eb689347852210dc792127f5b395146b9e85dc1bcaa10fa1ed55fbb869e5" +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats.json new file mode 100644 index 0000000..8b4abf4 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.23539705574512482, + -0.05204107239842415, + 0.2321033477783203, + 1.4823812246322632, + 0.1809314787387848, + -2.007082223892212, + 0.0, + 0.0, + 0.0, + 0.8834712505340576, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.22609539330005646, + 0.085231713950634, + 0.21371018886566162, + 1.712662935256958, + -0.17823533713817596, + -2.4008657932281494, + 0.0, + 0.0, + 0.0, + 0.84740149974823, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12199165672063828, + 0.080263152718544, + 0.0731939822435379, + 0.17581583559513092, + 0.235862597823143, + 1.632733941078186, + 1.0, + 1.0, + 1.0, + 0.25873562693595886, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.12353440374135971, + 0.10102841258049011, + 0.07435078918933868, + 0.18985289335250854, + 0.304569274187088, + 0.5496923923492432, + 1.0, + 1.0, + 1.0, + 0.30603307485580444, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.026630076923407617, + -0.26035510135293005, + 0.1069361055791378, + 0.953197679400444, + -0.10397613348960877, + -3.373305220603943, + -1.0, + -1.0, + -1.0, + 0.008979995250701905, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + 0.04058266267552972, + -0.03627533200979233, + 0.09393872980773449, + 1.3351357639312744, + -1.219997201192379, + -3.266027463269234, + -1.0, + -1.0, + -1.0, + 0.004995978325605392, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.4361712695078924, + 0.08019910069704056, + 0.4031697407186031, + 1.754161243081093, + 0.9476984263658523, + 4.4019090377807615, + 1.0, + 1.0, + 1.0, + 0.9998009999990464, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.43278052514605225, + 0.34909820429831745, + 0.39053035313189033, + 2.2550515100479127, + 0.24955642898082742, + -1.4379324356198309, + 1.0, + 1.0, + 1.0, + 0.9998007999956607, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -0.0010765381157398224, + -0.0004962195525877178, + 0.00041657642577774823, + -0.0027519697323441505, + 0.0015751465689390898, + -0.003329648170620203, + 0.0, + 0.0, + 0.0, + 0.7505389451980591, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0005168745410628617, + 0.0015924478648230433, + 0.002164255129173398, + 0.0014091331977397203, + -0.0030547294300049543, + 0.0029673920944333076, + 0.0, + 0.0, + 0.0, + 0.5390127301216125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025834443047642708, + 0.034900493919849396, + 0.034236982464790344, + 0.14448918402194977, + 0.08971908688545227, + 0.09599316865205765, + 1.0, + 1.0, + 1.0, + 0.2987584173679352, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.021473892033100128, + 0.02923824079334736, + 0.02860417775809765, + 0.12305063754320145, + 0.09236558526754379, + 0.08396059274673462, + 1.0, + 1.0, + 1.0, + 0.3480131924152374, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.08858595550060272, + -0.11524101165533066, + -0.09926413218975066, + -0.4447510935068131, + -0.2813325479507447, + -0.36630915203094494, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0680360094487667, + -0.09853469914197921, + -0.08442509250640869, + -0.35048141593933124, + -0.2836640691757202, + -0.2656443134784694, + -1.0, + -1.0, + -1.0, + 0.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0825064355134964, + 0.10687081228494644, + 0.11328908758759498, + 0.5389812388420105, + 0.28062369060516357, + 0.2829389832496645, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.06770443831086159, + 0.0925940738916397, + 0.10119616718292235, + 0.427083967208862, + 0.26864766888618474, + 0.25838116617202767, + 1.0, + 1.0, + 1.0, + 0.9998, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats_meta.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats_meta.json new file mode 100644 index 0000000..dba18e8 --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/norm_stats_meta.json @@ -0,0 +1,19 @@ +{ + "action_norm": "shared_by_unified_active_slot", + "dataset_id": "aligned_shenzhen_robot_bimanual", + "shared_action_dataset_ids": [ + "aligned_hangzhou_human_right", + "aligned_shenzhen_human_bimanual", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_robot_bimanual" + ], + "shared_action_train_frames_by_dataset": { + "aligned_hangzhou_human_right": 46426, + "aligned_hangzhou_robot_right": 17706, + "aligned_shenzhen_human_bimanual": 43471, + "aligned_shenzhen_robot_bimanual": 38380 + }, + "state_norm": "per_dataset", + "train_frames": 38380, + "version": 2 +} diff --git a/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/unified_action_space.json b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/unified_action_space.json new file mode 100644 index 0000000..d5ca03d --- /dev/null +++ b/assets/egoscale_stage2_self_collected_aligned/aligned_shenzhen_robot_bimanual/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "9921eb689347852210dc792127f5b395146b9e85dc1bcaa10fa1ed55fbb869e5" +} diff --git a/assets/piper30_task_split_norm/full_norm_run_meta.json b/assets/piper30_task_split_norm/full_norm_run_meta.json new file mode 100644 index 0000000..fa5ff53 --- /dev/null +++ b/assets/piper30_task_split_norm/full_norm_run_meta.json @@ -0,0 +1,23 @@ +{ + "config_name": "cotrain_real_only", + "output_assets_dir": "/data/wudi/Atom-0/assets/piper30_task_split_norm", + "dataset_id": "piper30", + "skip_dataset_ids": [], + "copy_from_assets_name": null, + "datasets": [ + { + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 + } + ] +} \ No newline at end of file diff --git a/assets/piper30_task_split_norm/piper30/norm_stats.json b/assets/piper30_task_split_norm/piper30/norm_stats.json new file mode 100644 index 0000000..7e4b702 --- /dev/null +++ b/assets/piper30_task_split_norm/piper30/norm_stats.json @@ -0,0 +1,664 @@ +{ + "norm_stats": { + "state": { + "mean": [ + 0.08737307041883469, + 1.0953994989395142, + -0.821331262588501, + 0.15251709520816803, + 0.4993223249912262, + -0.08671002835035324, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.016357315704226494, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.051994405686855316, + 0.6898560523986816, + -0.4541918933391571, + -0.24467997252941132, + 0.26987171173095703, + 0.18143217265605927, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.007753136567771435, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2868099808692932, + 0.8798884749412537, + 0.7222753167152405, + 0.7446919679641724, + 0.5128063559532166, + 0.629437267780304, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03423196077346802, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.18338783085346222, + 0.8041480183601379, + 0.5695235729217529, + 0.677094042301178, + 0.45993149280548096, + 0.5101659893989563, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.025858882814645767, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.48970193145275115, + -0.00043919531644787645, + -2.29064900592342, + -1.597105912566185, + -0.2944919108390809, + -1.6354926676750183, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.45787846466302873, + -0.005599666852504015, + -1.818879740881827, + -1.7327060890197754, + -0.7119369508743285, + -0.9796926288843155, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.890928191637993, + 2.508617184537439, + 0.0021993396155535194, + 1.7347798178911207, + 1.2541333590745922, + 1.6585437088012696, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.5623895115494728, + 2.186986375693791, + 0.00564035423500453, + 1.408437099456787, + 1.2125430245399476, + 1.5564807460308074, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + }, + "actions": { + "mean": [ + -0.001188037102110684, + -0.0033542870078235865, + 0.004400196485221386, + -0.0028323382139205933, + -0.0015195368323475122, + 0.002721932251006365, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.017288101837038994, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.00031630470766685903, + 0.00013673616922460496, + -0.0002151419030269608, + -0.0006771574262529612, + 0.0002553860249463469, + -0.00034903758205473423, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.008260202594101429, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.13685013353824615, + 0.4660901427268982, + 0.3690923750400543, + 0.3494621515274048, + 0.28257957100868225, + 0.31252312660217285, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.03510034456849098, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.08642010390758514, + 0.30906790494918823, + 0.224879652261734, + 0.20891116559505463, + 0.18015824258327484, + 0.202719584107399, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.026628535240888596, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "q01": [ + -0.5632874671697616, + -1.625787436580658, + -1.1869233741760252, + -1.3135088970661164, + -1.0423710818052292, + -1.049885765504837, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0029380800276063383, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.3428865031480789, + -1.169913307905197, + -0.913574746274948, + -0.7581958461761471, + -0.6523888399124145, + -0.7960410856246949, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -0.0035174399364739655, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0, + -1.0 + ], + "q99": [ + 0.41478261446952813, + 1.6800629229068758, + 1.425927872848511, + 1.3184264080047603, + 1.0416255737543105, + 1.189476832151413, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.09956015744088217, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.32284709212780016, + 1.305864639520645, + 0.9142873680591586, + 0.8233775739669804, + 0.7752770959854125, + 0.6917715557098387, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0994968021675013, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + } +} \ No newline at end of file diff --git a/assets/piper30_task_split_norm/piper30/norm_stats_meta.json b/assets/piper30_task_split_norm/piper30/norm_stats_meta.json new file mode 100644 index 0000000..7fcf00e --- /dev/null +++ b/assets/piper30_task_split_norm/piper30/norm_stats_meta.json @@ -0,0 +1,14 @@ +{ + "config_name": "cotrain_real_only", + "dataset_id": "piper30", + "builder_dir": "/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0", + "split": "train", + "batch_size": 32, + "num_batches": 64615, + "num_frames": 2067680, + "estimated_total_batches": null, + "train_episodes": 4927, + "train_bytes": 322604666560, + "elapsed_sec": 560.7578251361847, + "frames_per_sec": 3687.295847361286 +} \ No newline at end of file diff --git a/assets/piper30_task_split_norm/piper30/unified_action_space.json b/assets/piper30_task_split_norm/piper30/unified_action_space.json new file mode 100644 index 0000000..1c34b2e --- /dev/null +++ b/assets/piper30_task_split_norm/piper30/unified_action_space.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "width": 80, + "fingerprint": "61fa4a0bc418db15b056513e14b933f6d99508a965467b49e5823f65b5902d34" +} diff --git a/docs/cotrain_real_data_configs.md b/docs/cotrain_real_data_configs.md new file mode 100644 index 0000000..1994bb6 --- /dev/null +++ b/docs/cotrain_real_data_configs.md @@ -0,0 +1,228 @@ +# 真机与 Robot 数据训练配置 + +本文说明两套新增的 80D 统一动作空间训练配置: + +| 配置名 | 数据组成 | +| --- | --- | +| `cotrain_real_only` | 任务隔离重划分后的真机 `piper30` + 新真机 `piper2` | +| `cotrain_real_robot` | 上述两份真机数据 + AgiBot + DROID + RoboCOIN + RoboMIND_full;不包含 EgoVerse | + +`cotrain_real_robot` 延续现有 `cotrain_full_all` 的数据质量选择,仍排除 +`robocoin_unitree_g1_dex3_s28_a28` 和 `robomind_tienkung_sim_s38_a38`。两套配置均按 train +episode 数量设置采样权重。`piper30` 默认按新 builder 的 4,927 个 train episode 计算, +`piper2` 默认按 902 个 train episode 计算;若训练机上的 builder 数量不同,必须通过环境变量覆盖。 + +## 1. 数据路径 + +训练进程启动前设置以下环境变量。两个 `*_BUILDER_DIR` 都必须指向直接包含 +`dataset_info.json` 和 `features.json` 的 TFDS version 目录。`piper30` 的默认值已经是新的 +task-disjoint 1.1.0 builder;显式设置可避免不同机器上的挂载根目录歧义。 + +```bash +cd /data/wudi/Atom-0 + +export RLDS_DATA_DIR=/mnt/bos/bo23lu +export REALWORLD_PIPER30_BUILDER_DIR=/mnt/bos/bo23lu/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0 +export REALWORLD_PIPER30_TRAIN_EPISODES=4927 +export REALWORLD_PIPER_2_BUILDER_DIR=/mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0 +export REALWORLD_PIPER_2_TRAIN_EPISODES=902 + +test -f "${REALWORLD_PIPER30_BUILDER_DIR}/dataset_info.json" +test -f "${REALWORLD_PIPER30_BUILDER_DIR}/features.json" +test -f "${REALWORLD_PIPER_2_BUILDER_DIR}/dataset_info.json" +test -f "${REALWORLD_PIPER_2_BUILDER_DIR}/features.json" +``` + +当前训练机已经按上述结构整理数据。若其他训练机的 RLDS 根目录不同,只需让两个 builder +环境变量指向实际的 `...//` 目录,不需要修改代码。 + +`piper30` 保持原 dataset id、重构函数和 14D→80D 动作映射不变,直接替换旧 builder。 +其 split 语义为:`train` 包含 10 个 seen task 的训练轨迹,`seen_test` 是同一批 task 的 +held-out trajectories,`unseen_test` 只包含两个未在 `train` 出现的任务。因此训练和评估仍使用 +逻辑 split 名 `train`、`seen`、`unseen`,但 unseen 已具备严格的 task-disjoint 语义。 + +新数据使用独立 id `piper2`,其 14D state/action 布局为: + +```text +left_joint_1..6, left_gripper, right_joint_1..6, right_gripper +``` + +它映射到统一空间的 `U1-U6, U17, U30-U35, U46`。手臂 target 转成相对当前 state 的 +delta,两个 gripper 保持 absolute。 + +该映射经过实际数据检查:builder metadata 和 train/seen/unseen 抽样均给出相同的左右臂字段 +顺序;在一个 949 帧真实 train episode 中,全部 948 个相邻 transition、全部 14 个维度都满足 +`action[t] == state[t+1]`,最大误差为 0。因此这里的 action 是 next-step absolute target,不能 +当作源数据已经提供的 delta 再使用。 + +## 2. 计算 norm stats + +每套训练配置使用独立的 assets 目录。首次训练前必须先计算全部 active dataset 的 80D norm +stats。下面的命令会跳过目标目录中已有且带 full-run metadata 的数据集;需要强制重算时增加 +`--overwrite`。 + +### 2.1 仅真机数据 + +```bash +RLDS_DATA_DIR="${RLDS_DATA_DIR}" \ +REALWORLD_PIPER30_BUILDER_DIR="${REALWORLD_PIPER30_BUILDER_DIR}" \ +REALWORLD_PIPER30_TRAIN_EPISODES="${REALWORLD_PIPER30_TRAIN_EPISODES}" \ +REALWORLD_PIPER_2_BUILDER_DIR="${REALWORLD_PIPER_2_BUILDER_DIR}" \ +REALWORLD_PIPER_2_TRAIN_EPISODES="${REALWORLD_PIPER_2_TRAIN_EPISODES}" \ +UV_CACHE_DIR=/data/wudi/.cache/uv \ +uv run --group rlds python scripts/compute_cotrain_full_norm_stats_light.py \ + --config-name cotrain_real_only \ + --output-assets-dir /data/wudi/Atom-0/assets/cotrain_real_only \ + --num-parallel-reads 1 \ + --num-parallel-calls 2 \ + --overwrite +``` + +### 2.2 真机 + Robot 数据,不含 EgoVerse + +```bash +RLDS_DATA_DIR="${RLDS_DATA_DIR}" \ +REALWORLD_PIPER30_BUILDER_DIR="${REALWORLD_PIPER30_BUILDER_DIR}" \ +REALWORLD_PIPER30_TRAIN_EPISODES="${REALWORLD_PIPER30_TRAIN_EPISODES}" \ +REALWORLD_PIPER_2_BUILDER_DIR="${REALWORLD_PIPER_2_BUILDER_DIR}" \ +REALWORLD_PIPER_2_TRAIN_EPISODES="${REALWORLD_PIPER_2_TRAIN_EPISODES}" \ +UV_CACHE_DIR=/data/wudi/.cache/uv \ +uv run --group rlds python scripts/compute_cotrain_full_norm_stats_light.py \ + --config-name cotrain_real_robot \ + --output-assets-dir /data/wudi/Atom-0/assets/cotrain_real_robot \ + --num-parallel-reads 1 \ + --num-parallel-calls 2 \ + --overwrite +``` + +如果两套配置都要训练,推荐先运行 2.2。norm stats 是逐 dataset 计算的,与 mixture 采样权重无关, +因此 `piper30` 和 `piper2` 可以无损复用到 `cotrain_real_only`,不必再次扫描两份真机数据: + +```bash +mkdir -p \ + /data/wudi/Atom-0/assets/cotrain_real_only/piper30 \ + /data/wudi/Atom-0/assets/cotrain_real_only/piper2 + +cp -a /data/wudi/Atom-0/assets/cotrain_real_robot/piper30/. \ + /data/wudi/Atom-0/assets/cotrain_real_only/piper30/ +cp -a /data/wudi/Atom-0/assets/cotrain_real_robot/piper2/. \ + /data/wudi/Atom-0/assets/cotrain_real_only/piper2/ +``` + +计算完成后,每个 dataset 子目录都应同时包含: + +```text +norm_stats.json +norm_stats_meta.json +unified_action_space.json +``` + +## 3. 启动训练 + +下面以本地 `pi05_base` 参数为例。`--batch-size` 是全局 batch size;多机任务中的所有进程必须 +使用相同的环境变量和命令参数。 + +```bash +export PARAMS_PATH=/data/models/openpi +export WANDB_API_KEY='...' +export XLA_PYTHON_CLIENT_MEM_FRACTION=0.9 +``` + +### 3.1 仅真机数据 + +```bash +UV_CACHE_DIR=/data/wudi/.cache/uv \ +uv run --group rlds python -u scripts/train_cotrain.py cotrain_real_only \ + --exp-name=cotrain_real_only_run1 \ + --fsdp-devices=8 \ + --batch-size=256 \ + --num-train-steps=3000000 \ + --data-num-parallel-reads=1 \ + --data-num-parallel-calls=2 \ + --weight-loader.params-path="${PARAMS_PATH}" +``` + +### 3.2 真机 + Robot 数据,不含 EgoVerse + +```bash +UV_CACHE_DIR=/data/wudi/.cache/uv \ +uv run --group rlds python -u scripts/train_cotrain.py cotrain_real_robot \ + --exp-name=cotrain_real_robot_run1 \ + --fsdp-devices=8 \ + --batch-size=256 \ + --num-train-steps=3000000 \ + --data-num-parallel-reads=1 \ + --data-num-parallel-calls=2 \ + --weight-loader.params-path="${PARAMS_PATH}" +``` + +单机 GPU 数量不同时相应修改 `--fsdp-devices` 和全局 `--batch-size`。多机启动继续使用项目已有的 +`RANK`、`WORLD_SIZE`、`MASTER_ADDR`、`MASTER_PORT` 环境变量;训练入口会据此初始化 JAX distributed。 + +## 4. 启动前检查配置组成 + +```bash +UV_CACHE_DIR=/data/wudi/.cache/uv uv run python - <<'PY' +from openpi.cotrain import config + +for name in ("cotrain_real_only", "cotrain_real_robot"): + cfg = config.get_config(name) + ids = [dataset.uid for dataset in cfg.data.datasets] + print(name, len(ids), ids) + assert "piper2" in ids + assert not any(dataset_id.startswith("egoverse_") for dataset_id in ids) +PY +``` + +预期 `cotrain_real_only` 有 2 个 dataset,`cotrain_real_robot` 有 37 个 active dataset。 + +## 5. 检查 norm 与统一动作空间 + +完成计算或复制后运行: + +```bash +UV_CACHE_DIR=/data/wudi/.cache/uv uv run python - <<'PY' +from pathlib import Path + +import numpy as np + +from openpi.cotrain import action_space, config +from openpi.shared import normalize + + +def check(config_name: str) -> None: + cfg = config.get_config(config_name) + root = Path("assets") / config_name + for dataset in cfg.data.datasets: + directory = root / dataset.uid + spec = action_space.UNIFIED_ACTION_SPECS[dataset.uid] + stats = normalize.load(directory) + action_space.validate_metadata(directory, spec) + assert (directory / "norm_stats_meta.json").is_file(), directory + + state_mask = np.zeros(action_space.UNIFIED_ACTION_DIM, dtype=bool) + state_mask[list(spec.state_target_slots)] = True + for key, mask in (("state", state_mask), ("actions", np.asarray(spec.action_mask))): + value = stats[key] + for field in ("mean", "std", "q01", "q99"): + array = np.asarray(getattr(value, field)) + assert array.shape == (action_space.UNIFIED_ACTION_DIM,), (dataset.uid, key, field) + assert np.isfinite(array).all(), (dataset.uid, key, field) + assert np.allclose(np.asarray(value.mean)[~mask], 0) + assert np.allclose(np.asarray(value.std)[~mask], 1) + assert np.allclose(np.asarray(value.q01)[~mask], -1) + assert np.allclose(np.asarray(value.q99)[~mask], 1) + print(f"PASS {config_name}: {len(cfg.data.datasets)} datasets") + + +check("cotrain_real_robot") +check("cotrain_real_only") +PY +``` + +预期输出: + +```text +PASS cotrain_real_robot: 37 datasets +PASS cotrain_real_only: 2 datasets +``` diff --git "a/docs/cotrain_\346\212\200\346\234\257\346\226\207\346\241\243.md" "b/docs/cotrain_\346\212\200\346\234\257\346\226\207\346\241\243.md" index 6689979..3e01ee1 100644 --- "a/docs/cotrain_\346\212\200\346\234\257\346\226\207\346\241\243.md" +++ "b/docs/cotrain_\346\212\200\346\234\257\346\226\207\346\241\243.md" @@ -126,7 +126,12 @@ RLDS/inspect_cotrain_datasets.py # 数据集动作语义实测脚本 - **动作表示 = 绝对笛卡尔双手 EEF 位姿(12 维)**。人手没有统一关节定义,cartesian 是 ego 的自然表示(不是为了对齐机器人)。layout:`左 xyz + 欧拉角(yaw/pitch/roll),右 xyz + 欧拉角`。 - **相机缺失处理**(`_egoverse_mecka_restructure`):mecka 只有 1 路相机,两个 wrist 槽填 blank JPEG 并设 `image_mask=False`,让模型不 attend 不存在的相机。 -- **监督信号**:实测 `action[t] == state[t]`(单步动作 = 当前态),但**管线 chunk 未来 H 步**(`actions[t:t+H]`,chunk size = action_horizon),所以 target 是未来轨迹 = 有效监督。**无需用预存的 `actions_cartesian`**。 +- **监督信号**:实测 `action[t] == actions_cartesian[t,0]`。生产 Stage 1 使用 + RLDS 已对齐的 `actions_cartesian[T,100,12]`,在完整物理时间窗上均匀重采样为 + `[T,50,12]`;不再用相邻 episode 帧 `action[t:t+H]` 拼接,因为 moving head frame + 下相邻帧 pose 可能不在同一坐标系。 +- **Scale 子集**:当前 BOS 版本存在极端 pose tails,已从 `egoscale_stage1_ego` 暂时 + 排除;保留 mapping 和旧混合配置,等待重处理数据后重新审计。 - **prompt 字段**:EgoVerse 用 `prompt`,真机用 `task`(restructure 里分别取)。 **设计定位(关键,尚未实现)**:EgoVerse 的真正杠杆是 **domain anchor**(ego 与真机共享任务 / 场景),不是动作空间对齐。原文显示增益(+30%)只在有锚点时出现。当前是把 ego 当通用数据混入,**anchor 对齐 + 有效性消融(real-only / +ego / +anchor)是下一阶段的核心工作,目前尚未开展**。 diff --git a/docs/egomimic_stage2.md b/docs/egomimic_stage2.md new file mode 100644 index 0000000..e93e42a --- /dev/null +++ b/docs/egomimic_stage2.md @@ -0,0 +1,361 @@ +# EgoMimic Stage 2 接入与训练 + +## 结论 + +EgoMimic 不能复用项目中预留的双臂 14D +`EEF xyz+ypr+gripper` aligned contract。公开文件的真实监督是: + +| 域 | observation | 100-step future action | +|---|---|---| +| human,单臂任务 | 当前相机坐标系中的手部 XYZ,3D | `actions_xyz_act[100,3]` | +| robot,单臂任务 | 6 arm joints + 1 gripper + EEF XYZ,10D | `actions_joints_act[100,7] + actions_xyz_act[100,3]` | +| human,双臂任务 | 左右手 XYZ,6D | `actions_xyz_act[100,6]` | +| robot,双臂任务 | 双臂 joint/gripper + 左右 EEF XYZ,20D | `actions_joints_act[100,14] + actions_xyz_act[100,6]` | + +因此 Atom 的适配方式是: + +- human 和 robot 的 XYZ 写入相同的 EEF position slots; +- robot 样本额外监督 arm joint 和 gripper slots; +- robot arm absolute joint target 在 normalization 前转成 delta; +- gripper 和 EEF XYZ 保持 absolute; +- Euler、human gripper 等不存在的标签保持 `mask=0`; +- human/robot 使用独立 norm stats; +- 官方 100-point future trajectory 均匀重采样到 Pi0.5 的 50-step horizon。 + +第一轮流程使用最小的 groceries 人机配对数据。配置名为 +`egoscale_stage2_egomimic`,启动 stage 名为 `stage2_egomimic`。 +真实文件审计显示 groceries 是双臂数据:human source width 为 6, +robot source width 为 20(14D joint/gripper + 6D EEF XYZ)。 + +> 数据授权注意:截至接入时,Hugging Face 数据集页面没有声明 dataset +> license。EgoMimic 代码仓库的 MIT license 不自动等价于数据授权。公开 +> 数据可先用于内部研究验证,进一步发布模型或再分发数据前应向作者确认。 + +## 一、下载 groceries 人机数据 + +百度环境无法直接访问 Hugging Face 时使用国内镜像: + +```bash +mkdir -p /data/junhe/datasets/EgoMimic + +HF_ENDPOINT=https://hf-mirror.com \ +/data/junhe/Atom-0/.venv/bin/huggingface-cli download \ + gatech/EgoMimic \ + --repo-type dataset \ + --include groceries_human.hdf5 groceries_robot.hdf5 \ + --local-dir /data/junhe/datasets/EgoMimic +``` + +下载中断时重复同一命令即可从 `.incomplete` 文件续传。 + +完整性检查: + +```bash +ls -lh \ + /data/junhe/datasets/EgoMimic/groceries_human.hdf5 \ + /data/junhe/datasets/EgoMimic/groceries_robot.hdf5 +``` + +## 二、转换 smoke RLDS + +先只转换少量 episode,验证 schema、图像、split、mapping 和训练链路: + +```bash +cd /data/junhe/Atom-0 + +.venv/bin/python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_human.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_smoke_v2 \ + --max-train-episodes 2 \ + --max-validation-episodes 1 + +.venv/bin/python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_robot.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_smoke_v2 \ + --max-train-episodes 2 \ + --max-validation-episodes 1 +``` + +生成目录: + +```text +/data/junhe/RLDS/EgoMimic_smoke_v2/ +└── ego_mimic_rlds/ + ├── groceries_human/1.0.0/ + └── groceries_robot/1.0.0/ +``` + +转换器使用官方 `mask/train` 和 `mask/valid`。human 文件有 50 demos, +其中 train 36、valid 14 且不重叠,因此 human `seen/unseen` 都读取 official +valid(没有语义上的 unseen task)。robot 文件只有一个 5000-frame demo, +两个官方 mask 都指向该 demo;为避免把同一份大图像物理写入三次,robot +builder 只保存一次 `train` split,其 `seen/unseen` 都读取 train。robot +验证只能作为流程健康检查,不能作为 held-out 结果汇报。 + +转换器还会把公开文件中的 5000-frame 长 demo 切成最多 256 帧的 RLDS +episodes。每帧的 `actions_*_act[100]` 已经预先对齐,因此切 episode 不会 +截断 future-action 监督;这样也避免单个 TFRecord example 达到 1GB,并让 +两个 JAX host 能按 episode 读取互斥数据。 + +## 三、计算 smoke norm stats + +smoke stats 与正式 stats 分开,避免少量样本统计污染正式训练: + +```bash +cd /data/junhe/Atom-0 + +export ATOM_EGOMIMIC_RLDS_ROOT=/data/junhe/RLDS/EgoMimic_smoke_v2 +export ASSETS_BASE_DIR=/data/junhe/smoke-assets-v2 + +.venv/bin/python scripts/compute_cotrain_norm_stats_light.py \ + --config-name egoscale_stage2_egomimic \ + --exp-name egomimic_groceries_smoke_norm \ + --assets-base-dir "$ASSETS_BASE_DIR" \ + --max-frames 4096 +``` + +应生成: + +```text +/data/junhe/smoke-assets-v2/egoscale_stage2_egomimic_groceries/ +├── action_chunk_metadata.json +├── egomimic_groceries_human/ +│ ├── norm_stats.json +│ └── unified_action_space.json +└── egomimic_groceries_robot/ + ├── norm_stats.json + └── unified_action_space.json +``` + +## 四、Stage 2 smoke + +从一个已经完成写入的 Stage 1 checkpoint 初始化,例如: + +```text +/data/junhe/checkpoints/egoscale_stage1_ego/ + stage1_ego_cartesian_clean_baidu_v2/5000/params +``` + +不要读取 `.orbax-checkpoint-tmp-*`,也不要读取正在写入的 step。 + +下发器环境: + +```bash +cd /data/junhe/baige-cluster +source /data/junhe/.venvs/baige-py311/bin/activate + +set -a +source .env +set +a + +export PFS_NAME=pfs-AndjNd + +export MODE=smoke +export STAGE=stage2_egomimic +export EXP_NAME=stage2_egomimic_groceries_smoke_v1 + +export INSTANCES=1 +export GPU_PER_NODE=8 +export FSDP_DEVICES=8 +export BATCH_SIZE=16 +export NUM_TRAIN_STEPS=100 + +export PARAMS_PATH=/data/junhe/checkpoints/egoscale_stage1_ego/stage1_ego_cartesian_clean_baidu_v2/5000/params +export ATOM_EGOMIMIC_RLDS_ROOT=/data/junhe/RLDS/EgoMimic_smoke_v2 +export ASSETS_BASE_DIR=/data/junhe/smoke-assets-v2 +export CHECKPOINT_BASE_DIR=/data/junhe/checkpoints + +export DATA_NUM_PARALLEL_READS=1 +export DATA_NUM_PARALLEL_CALLS=2 +export SHUFFLE_BUFFER_SIZE=128 + +export SAVE_INTERVAL=50 +export EVAL_INTERVAL=50 +export NUM_VAL_BATCHES=1 +export RUN_ACTION_MSE=0 + +export WANDB_ENABLED=0 +export OVERWRITE=1 +export RESUME=0 + +python atom0_jax_job.py +``` + +验收项: + +- strict loader 完整加载 Stage 1 80D params; +- human batch 只激活左右 EEF XYZ 六个 action slots; +- robot batch 激活左右臂各 6 joints、两个 gripper、左右 EEF XYZ; +- robot joint 走 absolute-to-delta,gripper/XYZ 保持 absolute; +- 100-step source chunk 被均匀重采样为 50 steps; +- human/robot loss、aggregate validation 均为有限值; +- step 50 和最终完整 checkpoint 成功; +- 使用保存的 checkpoint 恢复 5–10 steps。 + +### 已完成的 DSW 单卡 smoke + +2026-07-27 已在百度 DSW 的 1×B20Z 183GB 上完成 20-step +`stage2_egomimic` smoke: + +- 从 + `/data/junhe/checkpoints/egoscale_stage1_ego/stage1_ego_cartesian_clean_baidu_v2/10000/params` + 严格恢复 Stage 1 参数; +- human/robot 两个 builder 均成功训练,loss 和 grad norm 有限; +- step 10 fixed-seed flow loss:aggregate `0.7967`、human `0.5081`、 + robot `1.0852`; +- step 19 完整保存 `params + train_state + assets`,checkpoint 约 19GB; +- W&B run ID:`lmnwbktv`。 + +该 smoke 使用精简 human builder,验证值仅用于证明评估链路可运行。human +正式 builder 必须用全部 36 个 train demo 和 14 个 valid demo 重新转换和统计。 + +## 五、正式转换与 Stage 2 训练 + +smoke 通过后使用新的输出根目录转换全部 episode,不覆盖 smoke builder: + +```bash +cd /data/junhe/Atom-0 + +.venv/bin/python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_human.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_full + +.venv/bin/python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_robot.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_full +``` + +正式统计放入独立 assets 根目录: + +```bash +export ATOM_EGOMIMIC_RLDS_ROOT=/data/junhe/RLDS/EgoMimic_full +export ASSETS_BASE_DIR=/data/junhe/assets + +.venv/bin/python scripts/compute_cotrain_norm_stats_light.py \ + --config-name egoscale_stage2_egomimic \ + --exp-name egomimic_groceries_full_norm \ + --assets-base-dir "$ASSETS_BASE_DIR" \ + --max-frames 1000000 \ + --finite-train +``` + +`--finite-train` 会禁用 train split 的无限 repeat,并保留最后一个不满 batch +的尾批,因此每个 builder 的全部唯一 train frames 恰好统计一次。 + +### 三任务正式主配置 + +`egoscale_stage2_egomimic` 保留为 groceries-only 消融。正式主配置使用 +`egoscale_stage2_egomimic_all`(启动 stage 名 +`stage2_egomimic_all`),包含: + +- bowlplace human/robot:单臂 XYZ 3D;robot 额外监督 6 joint + gripper; +- groceries human/robot:双臂 XYZ 6D;robot 额外监督双臂 joint + gripper; +- smallclothfold human/robot:双臂 XYZ 6D;robot 额外监督双臂 joint + gripper。 + +六个 builder 各占 `1/6`,即先等权三个任务,再在每个任务中等权 +human/robot,避免长 robot trajectory 按原始帧数主导训练。 + +其余四个文件转换到同一个正式根目录: + +```bash +for source in \ + bowlplace_human.hdf5 \ + bowlplace_robot.hdf5 \ + smallclothfold_human.hdf5 \ + smallclothfold_robot.hdf5 +do + .venv/bin/python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 "/data/junhe/datasets/EgoMimic/${source}" \ + --output-data-dir /data/junhe/RLDS/EgoMimic_full +done +``` + +三任务全量统计: + +```bash +export ATOM_EGOMIMIC_RLDS_ROOT=/data/junhe/RLDS/EgoMimic_full +export ASSETS_BASE_DIR=/data/junhe/assets + +.venv/bin/python scripts/compute_cotrain_norm_stats_light.py \ + --config-name egoscale_stage2_egomimic_all \ + --exp-name egomimic_all_full_norm \ + --assets-base-dir "$ASSETS_BASE_DIR" \ + --max-frames 1000000 \ + --finite-train +``` + +2026-07-27 已使用正式六-builder RLDS 和全量 stats 在 1×B20Z 上完成 +20-step `stage2_egomimic_all` smoke: + +- 严格恢复 Stage 1 clean checkpoint `10000/params`; +- step 10 aggregate fixed-seed flow loss:seen `0.6844`、unseen `0.6967`; +- 六个 builder 的 loss、训练 grad norm 均为有限值; +- step 19 完整保存 `params + train_state + assets`,约 19GB; +- W&B run ID:`b4xgqrb0`。 + +这里的 seen/unseen 是 pipeline 标签,不代表三个任务都有真正的 held-out 泛化 +测试:只有 human train/valid 和 smallclothfold robot train/valid 是物理分离的; +bowlplace/groceries robot 的公开 valid 与 train 重叠。 + +正式训练建议先使用最新稳定的 Stage 1 checkpoint,而不是固定使用早期 +5000 step。第一轮配置: + +```bash +export MODE=full +export STAGE=stage2_egomimic +export EXP_NAME=stage2_egomimic_groceries_full_v1 + +export INSTANCES=2 +export GPU_PER_NODE=8 +export FSDP_DEVICES=8 +export BATCH_SIZE=512 +export NUM_TRAIN_STEPS=50000 + +export PARAMS_PATH=/data/junhe/checkpoints/egoscale_stage1_ego///params +export ATOM_EGOMIMIC_RLDS_ROOT=/data/junhe/RLDS/EgoMimic_full +export ASSETS_BASE_DIR=/data/junhe/assets +export CHECKPOINT_BASE_DIR=/data/junhe/checkpoints + +export DATA_NUM_PARALLEL_READS=4 +export DATA_NUM_PARALLEL_CALLS=8 +export SHUFFLE_BUFFER_SIZE=50000 + +export SAVE_INTERVAL=5000 +export EVAL_INTERVAL=5000 +export NUM_VAL_BATCHES=10 +export RUN_ACTION_MSE=1 + +export WANDB_ENABLED=1 +export WANDB_API_KEY_FILE=/data/junhe/.secrets/wandb_api_key +export OVERWRITE=0 +export RESUME=0 + +python atom0_jax_job.py +``` + +三任务正式主实验将上面的: + +```bash +export STAGE=stage2_egomimic +export EXP_NAME=stage2_egomimic_groceries_full_v1 +``` + +替换为: + +```bash +export STAGE=stage2_egomimic_all +export EXP_NAME=stage2_egomimic_all_full_v1 +``` + +本 Stage 2 默认冻结 PaliGemma language transformer,继续训练 vision encoder、 +action expert 和动作投影。正式效果对照至少需要: + +1. `pi05_base → robot-only` +2. `pi05_base → Stage 1 EgoVerse → robot-only` +3. `pi05_base → Stage 1 EgoVerse → EgoMimic aligned → robot-only` + +EgoMimic groceries 虽是双臂 ALOHA 数据,但 human 侧仍没有 orientation 或 +gripper 标签。human 的官方 train/valid demo 互斥;但 robot 文件的官方 +train/valid mask 都指向唯一的 `demo_0`,因此 robot validation 不是 held-out +评估。它不能替代项目未来计划采集的双臂 EEF+平行夹爪 aligned 数据,也不能 +直接证明对目标机器人任务有效。 diff --git a/docs/egoscale_staged_training.md b/docs/egoscale_staged_training.md new file mode 100644 index 0000000..b915830 --- /dev/null +++ b/docs/egoscale_staged_training.md @@ -0,0 +1,215 @@ +# EgoScale-inspired staged training(平行夹爪版) + +本文档对应以下配置: + +| 阶段 | 配置 | 数据 | 初始化 | +|---|---|---|---| +| Stage 1 | `egoscale_stage1_ego` | EgoVerse 4 个干净 builder + EgoVerse-RL2 2 个 builder(暂不含 Scale) | 服务器 PaliGemma/Gemma NPZ 初始化视觉语言骨干,80D action stack 随机初始化 | +| Stage 2 baseline | `egoscale_stage2_robot` | full-all 去掉全部 EgoVerse | Stage 1 严格 checkpoint | +| Stage 2 aligned | `egoscale_stage2_aligned` | 新采 human/robot EEF+gripper | Stage 1 严格 checkpoint | +| Stage 3 基线(训练1) | `egoscale_stage3_robot` | Piper30 + Piper2 | aligned Stage 2 严格 checkpoint 微调 | +| Stage 3 对比(方案二) | `egoscale_stage3_real_robot_fix` | 审计后的 34 个真机 Robot 数据集 | aligned Stage 2 严格 checkpoint | +| Stage 4(训练1微调) | `egoscale_stage4_piper_finetune` | Piper30 + Piper2 | Stage 3 对比实验严格 checkpoint | + +后续阶段必须显式传 `--weight-loader.params-path`。加载器要求 checkpoint 与当前 80D +模型完全同构,任何 shape 或缺失参数都会在训练前失败,避免静默随机初始化。 + +Stage 3 对比配置严格复现百度云指南“正式训练2”的训练配方:97,728 steps、 +5,000 warmup、`1e-6 -> 1e-7` cosine decay,并进行全参数训练。Stage 4 严格复现 +“正式训练1”的 Piper-only 配方:20,000 steps、1,000 warmup、 +`2.5e-5 -> 2.5e-6` cosine decay。两者只改变初始化来源:Stage 3 从 aligned +Stage 2 的 `/params` 初始化,Stage 4 从完成后的 Stage 3 `/params` +初始化;都必须使用新的 `EXP_NAME`,不能通过同名实验目录 resume 来代替阶段继承。 + +指南的“正式训练2”参数表写 save interval 10,000,但旧正式命令写 25,000;本实现按 +当前实验要求配置为 10,000。训练循环还会无条件保存最终 step 97,727,因此 Stage 4 +应以实际存在的最终 `/params` 路径为准,不要预先猜测为 97,728。 + +## NAS 路径 + +所有现有 builder 路径由一个环境变量控制: + +```bash +export ATOM_RLDS_ROOT=/mnt/workspace/RLDS +``` + +目录结构保持现有约定: + +```text +/mnt/workspace/RLDS/ + AgiBot/ + DROID/ + EgoVerse_full/ + realworld_piper/ + RoboCOIN/ + RoboMIND_full/ + aligned_parallel_gripper/ # 尚未采集时可不存在 +``` + +aligned 数据也可单独设置: + +```bash +export ATOM_ALIGNED_RLDS_ROOT=/mnt/workspace/RLDS/aligned_parallel_gripper +export ATOM_ALIGNED_HUMAN_BUILDER_DIR=/path/to/human/aligned_parallel_gripper/1.0.0 +export ATOM_ALIGNED_ROBOT_BUILDER_DIR=/path/to/robot/aligned_parallel_gripper/1.0.0 +``` + +## Aligned RLDS 14D contract + +human 和 robot 分别保存为独立 TFDS builder,便于独立归一化和评估。每帧必须包含: + +```text +state[T,14] = L xyz, L yaw/pitch/roll, L gripper, + R xyz, R yaw/pitch/roll, R gripper +actions[T,14] = 同一顺序的 absolute target +image_base[T], image_left_wrist[T], image_right_wrist[T] = encoded JPEG +image_mask_base[T], image_mask_left_wrist[T], image_mask_right_wrist[T] = bool +prompt[T] = string +eef_frame = scalar episode string +``` + +EEF 保持项目最新版统一动作空间约定:absolute `xyz + yaw/pitch/roll`,不做 SE(3) delta; +夹爪为连续 absolute target,统一 `0=open, 1=closed`。映射槽位为 +`U8-U13/U17` 和 `U37-U42/U46`。 + +默认 human:robot 采样权重为 `0.8:0.2`,正式实验前应依据采集规模做消融。 + +## Norm stats + +Stage 1 使用专用的 +`assets/egoscale_stage1_ego_cartesian_clean_rl2`:aria、eva、human、mecka 以及 +EgoVerse-RL2 的 EVA/human 两个 builder 的统计量来自官方 +`actions_cartesian`,并带有 `action_chunk_metadata.json`。当前 BOS 中的 Scale 子集具有异常 +pose tails,已从生产 Stage 1 暂时排除,但 mapping 和旧配置仍保留,待数据重处理后重新审计。 +旧的 `assets/egoscale_stage1_ego_cartesian_clean` 不含 RL2, +`assets/cotrain_full_all_full_norm` 则按相邻帧 `action` 计算;二者都不能用于新的 Stage 1。 + +robot 阶段继续复用经过数据审计的 `assets/cotrain_real_robot_fix`。这些统计量都已随 Git +仓库提供,`ASSETS_BASE_DIR` 默认就是仓库内的 `assets`。未来新增 aligned builder 时,才需要 +先计算它自己的 smoke stats: + +```bash +uv run --group rlds python scripts/compute_cotrain_norm_stats_light.py \ + --config-name egoscale_stage2_aligned \ + --exp-name norm_probe \ + --assets-base-dir ./assets \ + --max-frames 10000 +``` + +robot/aligned 阶段替换 config name 即可。正式训练前必须运行 +`compute_cotrain_full_norm_stats_light.py` 得到全量统计,不能把 probe stats 用于论文实验。 + +## Stage 1 动作语义 + +Stage 1 的 state 和 action 仍是 absolute 双手 EEF +`xyz + yaw/pitch/roll`,不做 delta。区别在时间维:RLDS 的 +`actions_cartesian[t]` 已提供与当前帧对齐的 100 步未来轨迹,且第 0 步等于 +`action[t]`。loader 将完整 100 步时间窗均匀重采样为模型的 50 步 horizon,不再从相邻 +episode 帧重新拼接。这样避免移动 head frame 下相邻帧 pose 坐标系不一致。 + +动作表示、数据 mixture 和 norm 均已改变,因此以前使用 5 个 builder 训练得到的 Stage 1 +checkpoint **不能 resume**。新训练必须使用新的 `EXP_NAME`、`RESUME=0`,从 +`pi05_base` 重新初始化。 + +## DSW smoke + +```bash +export ATOM_RLDS_ROOT=/mnt/workspace/RLDS +export ATOM_PI05_BASE_PARAMS=/mnt/workspace/cache/openpi/openpi-assets/checkpoints/pi05_base/params +export ASSETS_BASE_DIR=$PWD/assets +export CHECKPOINT_BASE_DIR=/mnt/workspace/Atom-0-checkpoints + +STAGE=stage1_ego \ +EXP_NAME=stage1_dsw_smoke \ +FSDP_DEVICES=2 BATCH_SIZE=2 NUM_TRAIN_STEPS=20 \ +bash scripts/run_egoscale_stage.sh +``` + +Stage 2: + +```bash +export STAGE1_EXP=stage1_dsw_smoke +export STAGE1_STEP=19 # 以 NAS 中真实生成的 checkpoint 步数为准 +export PARAMS_PATH=/mnt/workspace/Atom-0-checkpoints/egoscale_stage1_ego/${STAGE1_EXP}/${STAGE1_STEP}/params +export ASSETS_BASE_DIR=$PWD/assets +export CHECKPOINT_BASE_DIR=/mnt/workspace/Atom-0-checkpoints +STAGE=stage2_robot \ +EXP_NAME=stage2_dsw_smoke \ +FSDP_DEVICES=2 BATCH_SIZE=2 NUM_TRAIN_STEPS=20 \ +bash scripts/run_egoscale_stage.sh +``` + +首次 smoke 默认关闭 W&B、action-MSE 和轨迹图,减少 JIT 时间。数据、loss、保存恢复通过后再设置 +`WANDB_ENABLED=1 RUN_ACTION_MSE=1`。 + +## 阿里云 DSW / DLC 环境 + +推荐使用阿里云 PAI 官方镜像: + +```text +modelscope:1.31.0-pytorch2.8.0-gpu-py311-cu124-ubuntu22.04 +``` + +项目会在实例本地 `${HOME}/.cache/atom0/venvs/Atom-0-py311` 中按 `uv.lock` 安装 +JAX 0.5.3、Torch 2.7.1 和 TensorFlow CPU 2.15,并在仓库创建 `.venv` 软链接;这样可避免 +向 NAS 写入大量 Python 小文件。安装默认使用阿里云 PyPI 且只加入训练所需的 `rlds` group; +需要开发工具时设置 `INSTALL_DEV=1`。不要在 DSW 内升级 NVIDIA driver。 + +上传代码后执行: + +```bash +bash scripts/setup_aliyun_dsw_env.sh +``` + +当前 DSW 已实测为 2×L20Y 80GB、128GB RAM、128GB `/dev/shm`,适合用 +`FSDP_DEVICES=2 BATCH_SIZE=2` 做计算和数据链路 smoke。该配置保存完整 Adam 训练状态时会在 +Orbax 的 GPU-to-host 回传阶段超过 128GB 主机内存,因此 DSW smoke 应设置 +`CHECKPOINT_PARAMS_ONLY=1`。此模式仍生成可用于推理和下一阶段初始化的 `/params` 以及 +norm assets,但不包含优化器状态,不能用于 `RESUME=1`。全参数大规模训练仍建议使用 8×80GB +GPU、至少 512GB 主机内存,并保持默认的完整 checkpoint。当前 NAS 挂载点是 +`/mnt/workspace`;DLC 若使用不同挂载点,只需同步修改 `ATOM_RLDS_ROOT` 和 checkpoint 环境变量。 + +DLC 使用与 DSW 相同的镜像或把验证后的 DSW 环境制作成同地域 ACR 自定义镜像。DLC 的 +`WORLD_SIZE/RANK` 是节点级变量,当前 JAX 入口每个节点只启动一个 Python 进程。 + +Stage 1 所需的六组全量 norm stats 已随仓库保存在 +`assets/egoscale_stage1_ego_cartesian_clean_rl2`。DLC 挂载 RLDS 与 base params 后,可先运行 +只读 preflight;它会检查六个 builder、对应 norm/mapping metadata 和初始化 checkpoint, +不会启动训练: + +```bash +cd /mnt/workspace/junhe/Atom-0 +PREFLIGHT_ONLY=1 WANDB_ENABLED=0 \ +bash scripts/run_egoscale_stage1_dlc_full.sh +``` + +正式 2 节点 × 8 卡训练使用 production wrapper。`WANDB_API_KEY` 必须通过 DLC Secret +注入环境,不要写进 JobSpec 或脚本: + +```bash +cd /mnt/workspace/junhe/Atom-0 +EXP_NAME=stage1_ego_full_dlc_20260806_v1 \ +bash scripts/run_egoscale_stage1_dlc_full.sh +``` + +该 wrapper 显式使用 100,000 steps、全局 batch 512、每 100 steps 记录、每 1,000 steps +验证、每 5,000 steps 保存完整训练状态,以及 50,000 条 encoded-image shuffle buffer。 +不要把通用 `run_egoscale_stage.sh` 的 smoke 默认值直接用于全量训练。 + +不要用 `torchrun --nproc_per_node=8` 包裹该命令;否则会在每个节点启动 8 个 JAX 进程, +与当前 node-level JAX distributed 和 `fsdp_devices=8` 冲突。 + +大规模训练前先用独立实验名在 DLC 做 2 节点 × 8 卡、100 steps 测试: + +```bash +EXP_NAME=stage1_ego_dlc_2n8g_100step_preflight \ +NUM_TRAIN_STEPS=100 SAVE_INTERVAL=99 EVAL_INTERVAL=50 \ +bash scripts/run_egoscale_stage1_dlc_full.sh +``` + +确认两个节点均加入、各节点读取不同 split、只有 rank 0 创建 W&B run,并且 step 99 的完整 +checkpoint 能保存和恢复。全量任务必须使用新的 `EXP_NAME`;不得从 100-step 预检任务 resume。 + +production wrapper 默认 `OVERWRITE=0`,不会删除同名目录。中断后从同一实验目录恢复时,保持 +所有训练参数和 `EXP_NAME` 不变并设置 `RESUME=1`。后续阶段的 `PARAMS_PATH` 必须填写 checkpoint +目录中真实存在的 `/params`,不要按总步数猜目录名。 diff --git a/docs/new_host_environment.md b/docs/new_host_environment.md new file mode 100644 index 0000000..e3cc7f8 --- /dev/null +++ b/docs/new_host_environment.md @@ -0,0 +1,78 @@ +# Atom-0 new-host environment + +The repository environment is installed in `.venv` with Python 3.11. The full +RLDS dependency group is included. + +Load the host-local paths before running commands: + +```bash +cd /data/wudi/Atom-0 +source scripts/atom0_env.sh +``` + +The defaults are: + +- RLDS root: `/mnt/bos/bo23lu` +- OpenPI runtime cache: `/data/wudi/cache/openpi` +- Shared OpenPI model root: `/data/models/openpi` +- pi05 parameters on this host: `/data/models/openpi` +- Hugging Face cache: `/data/wudi/cache/huggingface` +- XDG/JAX cache: `/data/wudi/.cache` +- Logs: `/data/wudi/Atom-0/logs` + +Override any of `ATOM0_STATE_ROOT`, `RLDS_DATA_DIR`, `OPENPI_DATA_HOME`, +`OPENPI_MODEL_HOME`, `PARAMS_PATH`, `HF_HOME`, or `LOG_DIR` before sourcing the +script if storage is mounted elsewhere. + +Verify the environment: + +```bash +UV_CACHE_DIR=/data/wudi/.cache/uv \ +UV_PYTHON_INSTALL_DIR=/data/wudi/.local/share/uv/python \ +UV_LINK_MODE=copy \ +uv sync --offline --group rlds + +.venv/bin/python -c 'import jax, torch, tensorflow; print(jax.devices()); print(torch.cuda.device_count())' +.venv/bin/pytest -q tests/cotrain +``` + +Before training, the RLDS tree and the pi05 checkpoint must exist at the paths +printed by `source scripts/atom0_env.sh`. Set a fresh W&B key in the shell; do +not store it in this repository. + +Download the pi05 base parameters into the path expected by the training +wrapper: + +```bash +source scripts/atom0_env.sh +OPENPI_DATA_HOME="${OPENPI_MODEL_HOME}" .venv/bin/python - <<'PY' +from openpi.shared.download import maybe_download + +path = maybe_download("gs://openpi-assets/checkpoints/pi05_base/params") +print(f"Downloaded pi05 parameters to: {path}") +PY + +test -f "${PARAMS_PATH}/_CHECKPOINT_METADATA" +test -f "${PARAMS_PATH}/manifest.ocdbt" +``` + +The training container must also expose the NVIDIA device nodes (at minimum +`/dev/nvidiactl`, the assigned `/dev/nvidiaN`, and `/dev/nvidia-uvm`). If +`nvidia-smi` cannot communicate with the driver or `jax.devices()` only lists a +CPU, fix the container/Kubernetes GPU allocation before launching training; a +Python package reinstall cannot create that device assignment. + +Eight-GPU training (the wrapper validates the checkpoint before starting): + +```bash +source scripts/atom0_env.sh +export WANDB_API_KEY='...' +FSDP_DEVICES=8 BATCH_SIZE=256 NUM_TRAIN_STEPS=36000 \ +EXP_NAME=cotrain_full_all_full_norm_8gpus \ +bash scripts/train_cotrain_full_all_full_norm_local_weights.sh +``` + +For a 16-GPU, two-node job, keep `FSDP_DEVICES=8`, use a global batch size of +512, and provide the launcher variables (`RANK`, `WORLD_SIZE`, `MASTER_ADDR`, +and `MASTER_PORT`). `scripts/train_cotrain.py` initializes JAX distributed mode +from those variables. diff --git a/docs/vla_data_audit_report.md b/docs/vla_data_audit_report.md new file mode 100644 index 0000000..bdae94c --- /dev/null +++ b/docs/vla_data_audit_report.md @@ -0,0 +1,57 @@ +# VLA RLDS 数据迁移与读取审计报告 + +审计时间:2026-07-15(UTC) +数据目录:`/mnt/bos/bo23lu` +挂载类型:`fuse.bosfs2`,只读 + +## 结论 + +当前未发现缺失分片、截断文件、无效 JSON、TFRecord CRC 错误或损坏图片。数据的结构、迁移清单和代表性内容均通过检查,可以进入训练前集成测试。 + +当前审计容器没有 TensorFlow/TFDS,且临时下载 TensorFlow 时代理长时间无进展,因此没有在该容器中完成 `tfds.builder_from_directory(...).as_dataset(...)` 的原生 TensorFlow 路径测试。独立解析已经确认样本是合法的 `tf.train.Example`,并成功解码真实图像;训练环境仍需安装与数据生成端兼容的 TensorFlow/TFDS。 + +## 全量结构与迁移检查 + +- 总文件数:84,056 +- 总字节数:46,038,503,225,764(约 46.04 TB) +- TFDS 数据集:49 +- split:147 +- episode:409,543 +- TFRecord 分片:83,876 +- TFRecord 字节数:46,038,442,755,911 +- JSON:98,全部可解析 +- 空文件、不可读文件、断裂软链接:0 +- 分片缺号、重复号、`-of-N` 数量错误:0 +- `dataset_info.json` 与实际 split/分片数量不一致:0 + +`dataset_info.json` 声明的 payload 总量为 46,038,436,203,223 字节,实际 TFRecord 比它多 6,552,688 字节;差值恰好等于 409,543 个 record × 16 字节 TFRecord framing,因此一致。 + +迁移报告共 83,731 条:83,727 条 `transferred`、4 条 `skipped`。其中 251 条目录、83,480 条文件;83,480 个文件逐个存在且大小完全一致,总计 45,918,241,899,817 字节。4 条 `skipped` 均为目标端已存在且源/目标大小与修改时间相同,并非漏传。 + +当前目录比迁移清单包含更多后续数据;这些额外数据也已包含在完整分片结构检查中。 + +## 内容与图片检查 + +- 每个数据集选择一个完整 TFRecord 分片,共 49 个分片、1,977,280,127 字节。 +- 所选分片逐 record 校验 TFRecord length CRC32C 和 payload CRC32C,49/49 通过。 +- 每个数据集解析至少一个完整 `tf.train.Example`,49/49 通过。 +- 从样本中识别并完整解码 JPEG 29,146 张,失败 0。 +- 覆盖分辨率包括 320×180、640×360、640×368、640×480、848×480、1280×720。 + +边界:CRC 和图片内容检查是覆盖所有 49 个数据集的代表性抽样,不是对 46 TB 的全量逐字节扫描。全量结构、文件大小和分片连续性检查已经覆盖所有文件。若要求对静默 bit rot 给出绝对保证,需要后台运行全量 CRC/源端 checksum 比对,预计是数十小时级任务。 + +## I/O 性能 + +使用未用于 CRC 抽样的大 TFRecord 分片测试: + +| 模式 | 并发 | 吞吐 | 请求速率 | 估算平均请求耗时 | +|---|---:|---:|---:|---:| +| 顺序读取,每对象前 256 MiB | 1 | 375.5 MB/s | 1.40 ops/s | 715 ms | +| 顺序读取,每对象前 256 MiB | 4 | 800.1 MB/s | 2.98 ops/s | 1,342 ms | +| 顺序读取,每对象前 256 MiB | 8 | 962.1 MB/s | 3.58 ops/s | 2,232 ms | +| 随机范围读取,4 MiB | 8 | 130.1 MB/s | 31.0 ops/s | 258 ms | +| 随机范围读取,64 KiB | 8 | 12.5 MB/s | 190.7 ops/s | 42 ms | + +结论:顺序读取并配合 4–8 个并行 reader 时,挂载吞吐较好;小块随机读取性能很差,会成为瓶颈。训练应按 shard/episode 粒度 shuffle,在 shard 内顺序读取,并使用并行 interleave 和 prefetch。避免按 frame 对远端文件做随机 seek。多机或多 GPU 的总需求若接近 1 GB/s,应增加本地 NVMe 缓存或先将热点 shard staging 到本地盘。 + + diff --git "a/docs/wudi\345\267\245\344\275\234\344\272\244\346\216\2450705_aliyun\345\244\232\345\215\241\350\256\255\347\273\203\350\267\221\351\200\232.pdf" "b/docs/wudi\345\267\245\344\275\234\344\272\244\346\216\2450705_aliyun\345\244\232\345\215\241\350\256\255\347\273\203\350\267\221\351\200\232.pdf" new file mode 100644 index 0000000..7bccec1 Binary files /dev/null and "b/docs/wudi\345\267\245\344\275\234\344\272\244\346\216\2450705_aliyun\345\244\232\345\215\241\350\256\255\347\273\203\350\267\221\351\200\232.pdf" differ diff --git "a/docs/\346\250\241\345\236\213\350\276\223\345\205\245\350\276\223\345\207\272\346\212\200\346\234\257\350\247\204\350\214\203.md" "b/docs/\346\250\241\345\236\213\350\276\223\345\205\245\350\276\223\345\207\272\346\212\200\346\234\257\350\247\204\350\214\203.md" new file mode 100644 index 0000000..a299529 --- /dev/null +++ "b/docs/\346\250\241\345\236\213\350\276\223\345\205\245\350\276\223\345\207\272\346\212\200\346\234\257\350\247\204\350\214\203.md" @@ -0,0 +1,741 @@ +# Atom-0 统一动作模型输入输出技术规范 + +## 摘要 + +本文给出 Atom-0 当前 co-training 系统中低层视觉—语言—动作模型的形式化输入输出定义。规范以 +`src/openpi/cotrain/config.py` 中现存的四个训练配置为准:`cotrain_real_only`、 +`cotrain_real_robot`、`cotrain_real_robot_fix` 和 `cotrain_full_all_full_norm`。四者共享同一个 +π0.5 模型结构与统一 80 维动作空间,区别仅在训练数据混合组成和每数据集归一化统计。 + +本文区分三个容易混淆的接口层次: + +1. **RLDS 数据接口**:数据集原生 state/action、图像和文本字段; +2. **模型接口**:经过 80D 映射、差分、归一化、图像处理和 tokenization 后的 + `Observation` 与监督动作块; +3. **执行接口**:模型采样得到统一 80D 动作块后,经过反归一化、可选逆差分和 native + 维度恢复后交给机器人控制器的动作。 + +核心模型的规范输出不是机器人可直接执行的原生绝对动作,而是**归一化空间中的统一 80D +动作块**。任何部署实现都必须显式说明其输出停留在哪一个接口层次。 + +--- + +## 1. 适用范围与符号 + +### 1.1 当前基准配置 + +当前四个 co-training 配置使用同一个 `_UNIFIED_PI05_MODEL`: + +| 配置 | active dataset 数 | 数据范围 | +| --- | ---: | --- | +| `cotrain_real_only` | 2 | Piper30 + Piper2 | +| `cotrain_real_robot` | 37 | 真机 + 开源 robot,保留三个审计风险集 | +| `cotrain_real_robot_fix` | 34 | 上述混合排除三个审计风险集 | +| `cotrain_full_all_full_norm` | 39 | `real_robot_fix` 的 34 个数据集 + 5 个 EgoVerse | + +模型超参数为: + +| 参数 | 当前值 | 含义 | +| --- | ---: | --- | +| 模型类型 | π0.5 | state 以离散 token 进入语言前缀 | +| `action_dim` | 80 | 统一 state/action 宽度 | +| `action_horizon` | 50 | 每次预测未来 50 步动作 | +| `max_token_len` | 384 | 主任务文本与离散 state 的固定 token 长度 | +| 图像槽位数 | 3 | base、left wrist、right wrist | +| 图像分辨率 | 224 × 224 | resize-with-pad 后的模型分辨率 | +| VLM | Gemma 2B | prefix 专家,宽度 2048,18 层 | +| action expert | Gemma 300M | action suffix 专家,宽度 1024,18 层 | +| vision encoder | SigLIP So400m/14 | 14 × 14 patch,输出视觉 patch token | +| 默认 ODE 步数 | 10 | `sample_actions()` 的 Euler 去噪步数 | +| 数值主 dtype | bfloat16 | Transformer 内部矩阵计算配置 | + +当前配置中 `history_length=1`、`ki_enabled=False`、`diverse_context_enabled=False`、 +`use_subgoal_image=False`。因此本文主体描述单时刻、无 KI、无 DCC、无长短期 memory 的实际训练路径; +相关可选字段在附录中单独定义。 + +### 1.2 记号 + +| 记号 | 当前值 | 定义 | +| --- | ---: | --- | +| \(B\) | 运行时决定 | global batch size | +| \(H\) | 50 | action horizon | +| \(D\) | 80 | unified action dimension | +| \(L\) | 384 | prompt token length | +| \(V\) | 3 | image view count | +| \(P\) | 256 | 单路 224×224 图像的 14×14 patch token 数 | +| \(N_p\) | 1152 | 当前 prefix 长度:\(3P+L=768+384\) | +| \(N_s\) | 50 | π0.5 action suffix token 数 | + +所有槽位索引在代码中均为 **0-based**。本文同时给出便于人工阅读的 1-based 编号。 + +--- + +## 2. 端到端接口概览 + +训练数据从 RLDS 到模型的主路径为: + +```text +RLDS trajectory + │ 原生 state[T, Ds] / action[T, Da] / encoded images / prompt[T] + ▼ +dataset-specific restructure + │ 统一字段名、三路 canonical camera、image_mask、dataset_id + ▼ +UnifiedActionSpec scatter + │ state[T,80] / actions[T,80] / action_mask[T,80] + ▼ +action chunking + flatten + mixed-dataset batching + │ state[B,80] / actions[B,50,80] / action_mask[B,80] + ▼ +StandardizedInputs → DispatchDeltaActions → DispatchNormalize + │ 每数据集 delta 语义与 quantile normalization + ▼ +ResizeImages → TokenizePrompt → PadStatesAndActions + │ + ▼ +Observation + supervised Actions + │ + ▼ +π0.5 flow-matching model + ├─ training: masked flow loss[B,50] → scalar mean + └─ inference: normalized unified action chunk[ B,50,80 ] +``` + +`dataset_id` 只用于选择每数据集 delta mask 和 norm stats。`DispatchNormalize` 完成后会将其从样本 +字典中移除,因此**模型不会直接接收 dataset ID**。 + +--- + +## 3. RLDS 标准化输入契约 + +### 3.1 trajectory 级标准字段 + +每个 dataset-specific restructure 最终必须产生以下 trajectory 字段。首维 \(T\) 为 episode +时间长度。 + +| 字段 | dtype | shape | 必需 | 语义 | +| --- | --- | --- | --- | --- | +| `state` | float | `[T, Ds]` | 是 | 数据集原生 proprioceptive state | +| `actions` | float | `[T, Da]` | 是 | 数据集原生逐帧监督动作 | +| `image/base_0_rgb` | encoded bytes | `[T]` | 是 | 主视角图像 | +| `image/left_wrist_0_rgb` | encoded bytes | `[T]` | 是 | 左腕图像或 blank placeholder | +| `image/right_wrist_0_rgb` | encoded bytes | `[T]` | 是 | 右腕图像或 blank placeholder | +| `image_mask/*` | bool | `[T]` | 是 | 对应相机在该帧是否真实存在 | +| `prompt` | string | `[T]` | 是 | 任务语言指令 | +| `prompt_prefix` | string | `[T]` | 推荐 | action mode 与 EEF frame 元信息 | +| `dataset_id` | string | `[T]` | 是 | norm/delta dispatch 键 | + +缺失相机不能仅用全零图像表示,必须同时令对应 `image_mask=False`。当前 EgoVerse、RoboCOIN 和 +RoboMIND 的部分 builder 使用 blank JPEG 补齐结构,并依靠 image mask 阻止模型 attention 到该视角。 + +### 3.2 canonical image slots + +模型始终要求以下三个键存在: + +```text +base_0_rgb +left_wrist_0_rgb +right_wrist_0_rgb +``` + +不同数据集的物理相机通过 restructure 映射到这三个逻辑槽。例如 Piper 使用 `cam_high` 和两个 +wrist camera;EgoVerse 使用 `front_1` 作为 base;只有第一视角的 Ego/Robo 数据会填充两个 masked +wrist placeholder。 + +### 3.3 action chunk 构造 + +对于 trajectory 中第 \(t\) 帧,监督动作块定义为: + +\[ +A_t[h] = a_{\min(t+h,\,T-1)}, \qquad h=0,\ldots,H-1. +\] + +因此 episode 尾部不足 50 步时,不是用零 padding,而是重复最后一个真实动作。chunk 后 trajectory +中的 action shape 从 `[T,80]` 变为 `[T,50,80]`;随后 flatten 产生逐帧样本。 + +--- + +## 4. 统一 80D state/action 空间 + +### 4.1 物理槽位定义 + +统一空间不是“原生向量放在前 \(D_a\) 维、尾部补零”,而是按固定物理语义 scatter。完整槽位如下。 + +| 0-based 范围 | 1-based 范围 | 宽度 | 物理语义 | +| --- | --- | ---: | --- | +| `0:7` | 1–7 | 7 | left arm joints | +| `7:10` | 8–10 | 3 | left EEF position | +| `10:13` | 11–13 | 3 | left EEF Euler rotation | +| `13:16` | 14–16 | 3 | reserved | +| `16` | 17 | 1 | left gripper | +| `17:29` | 18–29 | 12 | left hand joints | +| `29:36` | 30–36 | 7 | right arm joints | +| `36:39` | 37–39 | 3 | right EEF position | +| `39:42` | 40–42 | 3 | right EEF Euler rotation | +| `42:45` | 43–45 | 3 | reserved | +| `45` | 46 | 1 | right gripper | +| `46:58` | 47–58 | 12 | right hand joints | +| `58:64` | 59–64 | 6 | left leg joints | +| `64:70` | 65–70 | 6 | right leg joints | +| `70:72` | 71–72 | 2 | head joints | +| `72:74` | 73–74 | 2 | waist joints | +| `74:80` | 75–80 | 6 | other body joints | + +### 4.2 `UnifiedActionSpec` + +每个 dataset ID 必须注册唯一的 `UnifiedActionSpec`: + +```python +UnifiedActionSpec( + state_mapping=((source_dim, unified_slot), ...), + action_mapping=((source_dim, unified_slot), ...), + absolute_to_delta_slots=(...), + already_delta_slots=(...), +) +``` + +该 spec 同时决定: + +- 原生 state 到 80D 的 scatter; +- 原生 action 到 80D 的 scatter; +- 哪些统一槽位有 action supervision; +- 哪些绝对动作槽需要转成相对当前 state 的 delta; +- norm stats 对应的 mapping fingerprint。 + +对于原生数组 \(x\) 和 mapping \(\mathcal M\),scatter 定义为: + +\[ +u_j = +\begin{cases} +x_i, & (i,j)\in\mathcal M,\\ +0, & j\notin \operatorname{target}(\mathcal M). +\end{cases} +\] + +### 4.3 action mask + +每个数据集的 binary action mask 由 `action_mapping` 自动推导: + +\[ +m_j = \mathbb{1}\left[j\in\operatorname{target}(\mathcal M_a)\right], +\qquad m\in\{0,1\}^{80}. +\] + +trajectory mapping 阶段生成 `[T,80]` mask;flatten 后单样本为 `[80]`;batch 后模型输入为 +`[B,80]`。mask 可以非连续,不能用“前 \(D_a\) 维有效”替代。 + +典型例子: + +- **EgoVerse**:12 个有效槽,分别为左右 EEF position + Euler;68 个槽无监督; +- **DROID/单臂 Franka**:单臂统一写入 right-arm 槽 `29:36`,gripper 写入槽 45; +- **Piper**:左右 6 轴分别写入 `0:6` 与 `29:35`,gripper 写入槽 16 和 45; +- **双臂 7-DoF**:左右 arm 通常使用 `0:7` 与 `29:36`,手或夹爪写入各自语义槽。 + +### 4.4 delta/absolute 混合语义 + +对于 `absolute_to_delta_slots` 中的槽位,训练 action 在归一化前转换为: + +\[ +\Delta a_{t,h,j}=a_{t+h,j}-s_{t,j}. +\] + +注意所有 horizon 动作都减去**当前 observation state \(s_t\)**,而不是分别减去未来 state。 +`already_delta_slots` 不会再次求差;未列入 delta mask 的有效槽保持绝对语义。因此同一个 80D +向量可以同时包含 joint delta、absolute gripper 和 absolute EEF pose。 + +当前 EgoVerse 的 EEF pose 保持 absolute,不做欧拉角差分;Piper、DROID、AgiBot 和多数 +RoboCOIN/RoboMIND 的 arm joint 使用 delta,gripper/hand/body 等依 spec 保持 absolute。 + +--- + +## 5. 归一化与文本状态表示 + +### 5.1 每数据集 quantile normalization + +π0.5 配置使用 quantile normalization。对每个 dataset、每个 state/action 槽独立统计 +\(q_{0.01}\) 和 \(q_{0.99}\),变换为: + +\[ +\tilde{x}=2\frac{x-q_{0.01}}{q_{0.99}-q_{0.01}+10^{-6}}-1. +\] + +归一化不执行显式 clipping,因此极端值可能落在 `[-1,1]` 之外。state 与 action 使用各自的 +80D stats;action stats 是在完成 delta 转换后计算的。 + +未映射槽的 stats 被强制设为: + +```text +mean = 0, std = 1, q01 = -1, q99 = 1 +``` + +因此 scatter 产生的零值归一化后仍为零。加载 stats 时必须同时满足: + +- state/action stats 宽度均为 80; +- `unified_action_space.json` 宽度为 80; +- metadata fingerprint 与当前 `UnifiedActionSpec` 完全一致。 + +当前实现对“整个 dataset norm 目录不存在”只记录 warning 并跳过归一化;这属于危险降级,不应作为 +合法训练模式。生产训练前应通过 preflight 验证所有 active dataset 的 norm 完整性。 + +### 5.2 π0.5 离散 state tokenization + +归一化后的 `state[80]` 仍保留在 `Observation.state` 中,但 π0.5 不把它作为连续 suffix token。 +`TokenizePrompt(discrete_state_input=True)` 将 80 个 state 值分别量化到 256 个 bin,并写入文本: + +```text +{prompt_prefix}Task: {cleaned_prompt}, State: i_1 i_2 ... i_80; +Action: +``` + +其中 nominal 输入范围 `[-1,1]` 被离散为整数 bin。代码使用 `np.digitize`,不额外 clip;因此 +严重越界的 state 应在数据质量检查中提前发现。 + +`prompt_prefix` 的当前格式为: + +```text +Action Mode: joint. +``` + +或: + +```text +Action Mode: eef. EEF Frame: {frame}. +``` + +任务文本会去除首尾空白,将下划线替换为空格,并将换行替换为空格。token 序列使用 BOS,超过 +384 token 时截断,不足时以 token ID 0 padding;`tokenized_prompt_mask` 标记真实 token。 + +一个重要性质是:虽然 `action_mask` 屏蔽了无效 action loss,80 个 state 槽仍全部出现在离散 +state 文本中。无效 state 槽因为映射值和中性 norm 都为零,表现为固定的中性离散 bin。 + +--- + +## 6. 模型级输入定义 + +### 6.1 当前训练 batch + +数据加载器最终产生二元组: + +```python +(observation: Observation, actions: float[B, 50, 80]) +``` + +当前必需字段如下。 + +| `Observation` 字段 | dtype | shape | 数值/语义 | +| --- | --- | --- | --- | +| `images[base_0_rgb]` | float32 | `[B,224,224,3]` | RGB,范围通常为 `[-1,1]` | +| `images[left_wrist_0_rgb]` | float32 | `[B,224,224,3]` | 左腕或 masked placeholder | +| `images[right_wrist_0_rgb]` | float32 | `[B,224,224,3]` | 右腕或 masked placeholder | +| `image_masks[base_0_rgb]` | bool | `[B]` | base 图像有效性 | +| `image_masks[left_wrist_0_rgb]` | bool | `[B]` | 左腕有效性 | +| `image_masks[right_wrist_0_rgb]` | bool | `[B]` | 右腕有效性 | +| `state` | float32 | `[B,80]` | 每数据集 quantile-normalized unified state | +| `action_mask` | bool | `[B,80]` | 逐样本有效 action 槽 | +| `tokenized_prompt` | int32 | `[B,384]` | 任务、action mode、离散 state token | +| `tokenized_prompt_mask` | bool | `[B,384]` | 文本 token padding mask | +| 监督 `actions` | float32 | `[B,50,80]` | normalized unified mixed-semantics action chunk | + +`Observation.from_dict()` 会把 uint8 RGB 从 `[0,255]` 映射到 float32 `[-1,1]`。模型前向要求三个 +canonical image key 全部存在;缺键会立即报错。 + +### 6.2 训练图像增强 + +`compute_loss(train=True)` 内部对图像执行以下处理: + +- 如尺寸不是 224×224,使用保持宽高比的 resize-with-pad; +- 非 wrist 相机:95% random crop、恢复原尺寸、随机旋转 ±5°; +- 所有相机:brightness 0.3、contrast 0.4、saturation 0.5 的 color jitter; +- 推理 `train=False` 时不执行随机增强。 + +图像 mask 不改变像素本身,而是在 token attention mask 中屏蔽对应视角的全部 patch token。 + +### 6.3 mask 缺省行为 + +如果 `Observation.action_mask is None`,`_broadcast_action_mask()` 会返回与 action tensor 同 shape +的全 True mask,即所有 80 维均参与 loss 和采样。这是兼容旧数据的 fallback,不是统一动作训练的 +正常路径。若提供 mask,其 shape 必须严格为 `[B,80]`,随后广播到 `[B,50,80]`;错误宽度会抛出 +`ValueError`。 + +训练时 action mask 由 RLDS 的 `map_trajectory_tensorflow()` 自动生成。在线推理不经过这段 +trajectory mapping;`StandardizedInputs` 只会转发调用方已经提供的 `action_mask`,不会根据 +`dataset_id` 重新生成。因此 dataset-specific inference adapter 必须从目标 `UnifiedActionSpec` +注入 `[80]` mask,随后 `Policy.infer()` 才会添加 batch 维成为 `[1,80]`。否则 sampler 会按 +全 80 维有效运行。 + +同理,在线输入若使用现有 `DispatchNormalize`,必须在 transform 前提供正确 `dataset_id`,使其能 +选择目标数据集 stats;该字段会在进入模型前被移除。 + +--- + +## 7. 模型内部条件表示 + +### 7.1 视觉—语言 prefix + +每路 224×224 图像通过 SigLIP So400m/14 编码。14×14 patch size 在每个空间方向产生 16 个 +patch,因此每路产生 \(16\times16=256\) 个视觉 token。三路图像共 768 token,经 projection +对齐到 Gemma 2B 的 2048 hidden width。 + +固定长度文本产生 384 个 token。当前 prefix 因而为: + +\[ +Z_p\in\mathbb R^{B\times1152\times2048}. +\] + +prefix 内视觉和语言 token 采用 full attention block;padding 文本 token 和无效相机 patch +通过 `input_mask` 屏蔽。 + +### 7.2 action suffix + +训练时的 noisy action \(x_t\in\mathbb R^{B\times50\times80}\) 先经过线性层: + +\[ +\operatorname{Linear}_{in}:\mathbb R^{80}\rightarrow\mathbb R^{1024}, +\] + +形成 50 个 action expert token。标量时间 \(t\) 使用正余弦 embedding 和两层 MLP 映射到 +1024 维,并作为 π0.5 action expert 的 adaptive RMSNorm 条件。与 π0 不同,π0.5 不在 suffix +中加入连续 state token。 + +suffix attention mask 使全部 action token 能读取 prefix,并允许同一个 action block 内的 token +相互作用;prefix token 不能反向读取 action suffix。动作 horizon 不是逐 token 自回归生成。 + +action expert 输出最后 50 个 hidden states,再经: + +\[ +\operatorname{Linear}_{out}:\mathbb R^{1024}\rightarrow\mathbb R^{80} +\] + +得到向量场预测 \(v_\theta(x_t,t,o)\in\mathbb R^{B\times50\times80}\)。 + +--- + +## 8. 训练输出与目标函数 + +### 8.1 flow-matching 构造 + +令 \(a\) 为归一化后的监督动作块,\(m\) 为广播后的 action mask。模型首先执行: + +\[ +a\leftarrow m\odot a,\qquad +\epsilon\leftarrow m\odot\epsilon,\qquad +\epsilon\sim\mathcal N(0,I). +\] + +时间采样为: + +\[ +t=0.999\,z+0.001,\qquad z\sim\operatorname{Beta}(1.5,1). +\] + +代码采用“\(t=1\) 为噪声、\(t=0\) 为数据”的约定: + +\[ +x_t=t\epsilon+(1-t)a, +\qquad +u_t=\epsilon-a. +\] + +模型学习预测速度场 \(u_t\)。 + +### 8.2 masked flow loss + +逐样本、逐 horizon 的 loss 为: + +\[ +\mathcal L_{b,h}= +\frac{\sum_{d=1}^{80}m_{b,d} +\left(v_{\theta,b,h,d}-u_{b,h,d}\right)^2} +{\max\left(\sum_{d=1}^{80}m_{b,d},1\right)}. +\] + +`compute_loss()` 在当前无 KI 配置下返回 shape `[B,50]` 的数组。训练入口再计算: + +\[ +\mathcal L_{train}=\frac{1}{BH}\sum_{b,h}\mathcal L_{b,h}, +\] + +得到用于反向传播的 scalar。该归一化保证有效维度较少的数据集不会因 80D padding 被系统性稀释, +也不会仅因有效维度较多而产生更大的 loss 尺度。 + +无效维度同时满足: + +- ground-truth action 为零; +- sampled noise 为零; +- squared error 乘 mask 后为零; +- 不进入分母的有效维数计数; +- 对该维误差不产生直接梯度。 + +### 8.3 模型训练“输出”的含义 + +训练前向的直接输出是 loss,不是动作: + +```text +compute_loss(...) -> flow_loss[B,50] +train_step(...) -> scalar loss + metrics +``` + +`v_t[B,50,80]` 是内部向量场,不应解释为最终动作预测。 + +--- + +## 9. 推理输出定义 + +### 9.1 ODE 采样 + +`sample_actions()` 从 masked Gaussian noise 开始: + +\[ +x_1=m\odot\epsilon. +\] + +采用显式 Euler 积分,默认 \(N=10\),步长 \(\Delta t=-1/N\): + +\[ +x_{t+\Delta t}=m\odot\left(x_t+\Delta t\, +v_\theta(x_t,t,o)\right), +\qquad t:1\rightarrow0. +\] + +prefix 只计算一次并缓存 KV;每个 ODE step 只重新计算 action suffix。每一步都用 `where(mask, ..., 0)` +强制无效槽为零,因此在正确提供 mask 时最终输出无效维严格为零。 + +### 9.2 核心模型输出 + +核心模型直接返回: + +| 属性 | 定义 | +| --- | --- | +| shape | `[B,50,80]` | +| dtype | float32(`Actions` 接口与 ODE state 的规范 dtype) | +| 空间 | 每数据集 quantile-normalized unified 80D | +| 时间语义 | 从当前 observation 开始的未来 50 步 action chunk | +| 槽位语义 | `UnifiedActionSpec` 定义的 mixed delta/absolute action | +| 无效槽 | 提供 action mask 时严格为 0 | +| 不确定性 | 不单独输出;可通过不同 RNG/noise 重复采样估计 | + +模型不输出 value、success probability、domain label、confidence 或 termination signal。 + +### 9.3 从模型输出恢复到执行动作 + +部署端必须先指定希望得到哪一种输出: + +#### A. normalized unified action + +直接使用模型输出,适合模型内部评估,不适合机器人控制器。 + +#### B. physical-scale unified mixed-semantics action + +使用当前 dataset 的 action quantile stats 反归一化: + +\[ +a=(\tilde a+1)\frac{q_{0.99}-q_{0.01}+10^{-6}}{2}+q_{0.01}. +\] + +结果仍为 `[50,80]`,且仍混合 joint delta 与 absolute gripper/EEF 等语义。 + +#### C. native-layout mixed-semantics action + +按 `action_mapping` 做 inverse gather: + +\[ +y_i=a_j\quad\text{if }(i,j)\in\mathcal M_a. +\] + +输出 shape 为 `[50,Da]`。设计中主动丢弃且没有 mapping 的原生源维度恢复为 0。 + +#### D. native-layout original absolute target + +若控制接口要求恢复数据集原始 absolute joint target,则必须在物理尺度下先逆 delta: + +\[ +a^{abs}_{h,j}=a^{delta}_{h,j}+s_{current,j} +\] + +仅对 `delta_mask=True` 的槽执行,然后再 inverse gather。其他 absolute 槽保持不变。 + +### 9.4 当前 output pipeline 的实现边界 + +仓库已经提供 `StandardizedOutputs`,可执行 unified 80D 到 native source layout 的 inverse mapping; +但当前 `CotrainDataConfig.create()` 没有把它注册到 `data_transforms.outputs`。此外,co-training 的 +per-dataset normalization 由输入侧 `DispatchNormalize` 完成,通用 `create_trained_policy()` 的单份 +`Unnormalize` 不能自动表达一个混合配置中 39 份不同 stats。 + +因此当前代码可以可靠定义和评估**核心模型的 normalized 80D 输出**,但不能假定通用 policy factory +会自动完成以下操作: + +- 根据部署目标 dataset 选择正确 action stats; +- 反归一化 80D action; +- 可选逆 delta; +- 80D 到 native layout 的逆映射。 + +生产部署应构造 dataset-specific policy/output adapter,并显式传入目标 `dataset_id`、对应 norm stats、 +`UnifiedActionSpec` 以及控制器期望的 delta/absolute 语义。 + +--- + +## 10. 训练与推理接口对照 + +| 项目 | 训练 | 推理 | +| --- | --- | --- | +| 图像 | 3 路,允许 masked placeholder | 同训练 | +| 图像增强 | crop/rotate/color jitter | 无随机增强 | +| state | 80D normalized,并写入 prompt token | 同训练 | +| prompt | 必需,固定 384 token | 必需,固定 384 token | +| action mask | `[B,80]`,控制 loss | `[B,80]`,控制 noise 与 ODE 状态 | +| GT actions | `[B,50,80]`,必需 | 不提供 | +| 随机量 | noise + Beta timestep | 初始 Gaussian noise | +| 直接返回 | `flow_loss[B,50]` | `actions[B,50,80]` | +| 默认最终聚合 | batch/horizon mean scalar | 无聚合,返回完整 chunk | + +--- + +## 11. 典型样本实例 + +### 11.1 EgoVerse 样本 + +模型输入中: + +```text +state [B,80] +actions [B,50,80] +action_mask [B,80] +active action slots 7:13 and 36:42 (0-based, end-exclusive) +active dimensions 12 +inactive dimensions 68 +action semantics absolute left/right EEF position + Euler +action source actions_cartesian[T,100,12] uniformly resampled to 50 +prompt prefix Action Mode: eef. EEF Frame: . +``` + +仅 Eva 等带真实 wrist camera 的子集对应 wrist masks 为 True;其他 Ego 子集的 wrist images 是 masked +placeholder。loss 只在 12 个 EEF 槽上计算。生产 `egoscale_stage1_ego` 当前使用 +aria/eva/human/mecka 四个 builder;Scale 因异常 pose tails 暂时排除。旧 +`cotrain_full_all_full_norm` 仍保留历史的相邻帧 action 语义。 + +### 11.2 Piper 样本 + +```text +native state/action 14D +unified arm slots left 0:6, right 29:35 +unified grippers 16, 45 +active dimensions 14 +delta slots 12 arm joints +absolute slots 2 grippers +prompt prefix Action Mode: joint. +``` + +模型输出反归一化后仍是“12 个 joint delta + 2 个 absolute gripper”的 mixed-semantics 动作。 + +### 11.3 DROID/单臂样本 + +单臂动作统一放在 right-arm 区域,而不是 80D 前缀: + +```text +right arm joints slots 29:36 +right gripper slot 45 +active dimensions 8 +``` + +这说明任何 prefix mask 或简单截取 `actions[..., :Da]` 都不能替代 `UnifiedActionSpec` inverse mapping。 + +--- + +## 12. 不变量与失败条件 + +生产训练和推理必须维护以下不变量。 + +1. 所有 co-training 模型的 `action_dim` 必须等于 80; +2. 每个 active dataset ID 必须存在唯一 `UnifiedActionSpec`; +3. state/action mapping 的 source 和 target 索引不能重复; +4. 所有 target slot 必须位于 `[0,79]`; +5. delta slot 必须同时存在于 state mapping 和 action mapping; +6. batch 中 action mask 必须为 `[B,80]`; +7. 监督 action 必须为 `[B,50,80]`; +8. 三个 canonical image key 必须全部存在; +9. prompt 与 prompt mask 必须同时存在; +10. norm stats 必须为 80D,且 mapping fingerprint 与代码一致; +11. 多数据集 batch 前所有样本必须具有相同 nested structure; +12. `dataset_id` 必须在 normalization 前存在,并在进入 JAX model 前移除。 + +以下行为虽有 fallback,但不应在生产中依赖: + +- 缺失 action mask → 全 80 维有效; +- 缺失整个 dataset norm 目录 → 跳过该 dataset normalization; +- 缺失 image mask → 模型预处理默认该图像有效; +- 普通机器人数据 episode 尾部 future action 不足 → 重复最后动作;使用预切片 + `actions_cartesian` 的 Stage 1 不走该 fallback。 + +--- + +## 13. 当前未进入主路径的可选字段 + +`Observation` 数据结构还支持以下扩展,但当前四个 co-training 配置均未启用: + +| 字段组 | 用途 | 当前状态 | +| --- | --- | --- | +| `state_history[B,T,80]` | MEM proprioceptive history | `history_length=1`,关闭 | +| 5D image history | MEM visual history | 关闭 | +| `subgoal_images` / masks | π0.7 future visual subgoal | 关闭 | +| `dcc_metadata_*` | quality/speed/mistake/success context | 关闭 | +| `dcc_control_*` | control-mode context | 关闭 | +| `dcc_subtask_*` | low-level subtask context | 关闭 | +| `ki_fast_tokens` / masks | KI 辅助 FAST-token supervision | co-training 显式禁止 | +| `memory_summary_*` | high-level memory supervision | 不属于当前低层 action model | + +特别地,当前系统没有 `domain_mask` 模型输入,也没有 Ego/robot 双头输出。Ego 与 robot 样本共享同一个 +action expert,通过视觉、语言、离散 state、action mode、per-dataset normalization 和 action mask +共同条件化。 + +--- + +## 14. 代码依据索引 + +| 主题 | 代码位置 | +| --- | --- | +| 当前四个配置和 π0.5 参数 | `src/openpi/cotrain/config.py` | +| RLDS restructure 与 chunking | `src/openpi/cotrain/rlds_dataset.py` | +| 统一 80D slot/spec/mask | `src/openpi/cotrain/action_space.py` | +| standardized input、delta、per-dataset norm | `src/openpi/cotrain/transforms.py` | +| model transform 顺序 | `src/openpi/training/config.py` | +| normalization 数学 | `src/openpi/transforms.py` | +| state/prompt tokenization | `src/openpi/models/tokenizer.py` | +| `Observation` 数据结构 | `src/openpi/models/model.py` | +| π0.5 input spec | `src/openpi/models/pi0_config.py` | +| prefix/suffix、flow loss、ODE sampler | `src/openpi/models/pi0.py` | +| batch → `Observation` 转换 | `src/openpi/training/data_loader.py` | +| co-training loader | `src/openpi/cotrain/data_loader.py` | +| validation flow/action MSE | `src/openpi/cotrain/eval.py` | +| 通用 policy 输入输出 transform 顺序 | `src/openpi/policies/policy_config.py` | + +--- + +## 15. 规范性总结 + +当前 Atom-0 co-training 模型的最简形式化接口为: + +\[ +f_\theta: +\left( +I^{B\times3\times224\times224\times3}, +M_I^{B\times3}, +S^{B\times80}, +T^{B\times384}, +M_T^{B\times384}, +M_A^{B\times80} +\right) +\longrightarrow +A^{B\times50\times80}. +\] + +其中: + +- 图像为三路 canonical RGB; +- state 是 per-dataset normalized unified 80D,并以离散 token 进入 π0.5; +- task token 同时包含 action mode、可选 EEF frame 和 state 序列; +- action mask 定义每个样本真正受监督/可采样的统一槽位; +- 输出是 normalized unified 80D mixed-semantics action chunk; +- 机器人执行前必须进行 dataset-specific postprocessing。 + +任何声称模型“输入 80D、输出原生机器人动作”的接口描述都不完整;至少还必须说明 normalization、 +mask、delta/absolute 语义、native mapping 和 action horizon。 diff --git "a/docs/\347\231\276\345\272\246\344\272\221\350\256\255\347\273\203\346\214\207\345\215\227.md" "b/docs/\347\231\276\345\272\246\344\272\221\350\256\255\347\273\203\346\214\207\345\215\227.md" new file mode 100644 index 0000000..760f934 --- /dev/null +++ "b/docs/\347\231\276\345\272\246\344\272\221\350\256\255\347\273\203\346\214\207\345\215\227.md" @@ -0,0 +1,156 @@ +# 百度云正式训练指南 + +## 运行前准备 + +配置百舸凭证: + +```bash +cd /data/wudi/baige-cluster +cp -n .env.example .env +vim .env +``` + +检查代码环境、数据配置、norm 和 VLM 权重: + +```bash +cd /data/wudi/Atom-0 +source scripts/atom0_env.sh + +PARAMS_PATH=/data/models/paligemma/pt_224.npz \ +.venv/bin/python scripts/preflight_cotrain_baige.py \ + cotrain_real_only_unified80_aliyun_recipe + +PARAMS_PATH=/data/models/paligemma/pt_224.npz \ +.venv/bin/python scripts/preflight_cotrain_baige.py \ + cotrain_real_robot_fix +``` + +正式提交前确认: + +- `/data/models/paligemma/pt_224.npz` 存在; +- `git status --short` 中没有未确认的代码改动; +- 每次新训练使用一个从未产生过 checkpoint 的 `EXP_NAME`。 + +如果复用已经存在 checkpoint 的 `EXP_NAME`,训练框架会恢复该实验自身的模型、 +optimizer 和 step,而不会重新从 `PARAMS_PATH` 初始化。下面两条命令已经使用新的 +VLM 实验名;再次重跑时,需要继续更换 `EXP_NAME`。 + +使用 VLM NPZ 时,任务启动日志应包含: + +```text +PARAMS_LAYOUT=paligemma-vlm-npz +INIT_POLICY=PaliGemma vision+language loaded; action expert, timestep MLP, and action projections random +``` + +## 实验逻辑 + ++ 正式训练1代表的是,只用真机数据,从paligemma开始训练。 +同时,此实验配置也可以用来后训练微调。 +即,如果是预训练后的模型想做真机微调,则修改正式训练1中的PARAMS_PATH,改成你的预训练ckpt,然后修改EXP_NAME,其他不变,进行训练即可。 +这即完成了“直接训练” vs “预训练+微调”的对比 + ++ 正式训练2代表的是,如何用所有真机数据,从paligemma开始预训练 + ++ 进行新的实验时,需要修改EXP_NAME + ++ 目前wudi分支的最新代码,已经修改了数据配置的代码,对于piper30数据集,已经自动切换至最新的validation set划分版本。 + + +## 正式训练 1:Piper30 + Piper2,Unified80 + +该实验使用 `cotrain_real_only_unified80_aliyun_recipe`: + +| 超参数 | 值 | +| --- | ---: | +| 数据集 | `piper30 + piper2` | +| 动作空间 | Unified80 | +| prompt prefix | `Action Mode: joint.` | +| max token length | 384 | +| 节点 × GPU | 1 × 8 B200 | +| FSDP devices | 4 | +| train global batch size | 512 | +| validation global batch size | 96 | +| train steps | 20,000 | +| warmup / decay steps | 1,000 / 30,000 | +| peak / decay LR | `2.5e-5` / `2.5e-6` | +| eval / save interval | 1,000 / 5,000 | +| validation batches | 10 | +| action MSE | 开启 | +| 初始化权重 | 基础 PaliGemma VLM | + +```bash +cd /data/wudi/baige-cluster +export BOS_SOURCE=atom0-data/ +export BOS_MOUNT_PATH=/mnt/bos/bo23lu +export PARAMS_PATH=/data/models/paligemma/pt_224.npz + +MODE=train CONFIG_NAME=cotrain_real_only_unified80_aliyun_recipe \ +EXP_NAME=cotrain_real_only_unified80_from_paligemma_vlm_b200_8gpu_b512_v1 \ +INSTANCES=1 GPU_PER_NODE=8 FSDP_DEVICES=4 BATCH_SIZE=512 VAL_BATCH_SIZE=96 \ +NUM_TRAIN_STEPS=20000 WARMUP_STEPS=1000 DECAY_STEPS=30000 \ +EVAL_INTERVAL=1000 SAVE_INTERVAL=5000 NUM_VAL_BATCHES=10 RUN_ACTION_MSE=1 \ +DATA_NUM_PARALLEL_READS=1 DATA_NUM_PARALLEL_CALLS=2 WANDB_ENABLED=1 \ +.venv/bin/python atom0_train_job.py +``` + +## 正式训练 2:自采真机 + 开源 Robot 混训 + +该实验使用 `cotrain_real_robot_fix`,不包含 EgoVerse,并排除经过审计后停用的 +三个 Robot 数据集。 + +| 超参数 | 值 | +| --- | ---: | +| active datasets | 34 | +| source frames | 150,109,749 | +| 动作空间 | Unified80 | +| 节点 × GPU | 3 × 8 B200 | +| FSDP devices | 4 | +| train global batch size | 1,536 | +| validation global batch size | 96 | +| train steps | 97,728 | +| warmup / decay steps | 5,000 / 97,728 | +| peak / decay LR | `1e-6` / `1e-7` | +| eval / save interval | 1,000 / 10,000 | +| validation batches | 5 | +| action MSE | 关闭 | +| 初始化权重 | 基础 PaliGemma VLM | + +排除的数据集: + +- `robocoin_leju_robot_s54_a54` +- `robocoin_agilex_decoupled_magic_s14_a14_fps50` +- `robocoin_agilex_decoupled_magic_s26_a26` + +```bash +cd /data/wudi/baige-cluster +export BOS_SOURCE=atom0-data/ +export BOS_MOUNT_PATH=/mnt/bos/bo23lu +export PARAMS_PATH=/data/models/paligemma/pt_224.npz + +MODE=train CONFIG_NAME=cotrain_real_robot_fix \ +EXP_NAME=cotrain_real_robot_fix_from_paligemma_vlm_b200_v2 \ +INSTANCES=3 GPU_PER_NODE=8 FSDP_DEVICES=4 BATCH_SIZE=1536 VAL_BATCH_SIZE=96 \ +NUM_TRAIN_STEPS=97728 WARMUP_STEPS=5000 DECAY_STEPS=97728 \ +EVAL_INTERVAL=1000 SAVE_INTERVAL=25000 NUM_VAL_BATCHES=5 RUN_ACTION_MSE=0 \ +DATA_NUM_PARALLEL_READS=1 DATA_NUM_PARALLEL_CALLS=2 WANDB_ENABLED=1 \ +.venv/bin/python atom0_train_job.py +``` + +## 任务检查 + +查询任务结构与日志: + +```bash +cd /data/wudi/baige-cluster +.venv/bin/python logs.py +.venv/bin/python logs.py +``` + +启动后至少核对: + +1. 日志中的 `PARAMS_LAYOUT` 为 `paligemma-vlm-npz`; +2. `EXP_NAME` 对应的 checkpoint 目录在提交前不存在; +3. W&B config 中 action dim 为 80; +4. 正式训练 1 构建了 `piper30` 和 `piper2` 的训练及验证 loader; +5. 正式训练 2 构建了 34 个 active datasets; +6. global batch、训练步数、warmup、decay、eval/save interval 与上表一致。 diff --git "a/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\345\274\200\345\217\221\346\227\245\345\277\227.md" "b/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\345\274\200\345\217\221\346\227\245\345\277\227.md" new file mode 100644 index 0000000..978ddaf --- /dev/null +++ "b/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\345\274\200\345\217\221\346\227\245\345\277\227.md" @@ -0,0 +1,150 @@ +# 统一动作空间开发日志 + +## 开发目标 + +将 `cotrain_full_all` 从“原生向量放在前 D 维、尾部补零”改为固定物理语义的 80D state/action, +并在训练、采样、评估和可视化中使用每样本 binary action mask。原始 RLDS 文件不修改。 + +## 基线链路 + +2026-07-15 审计确认当前顺序为: + +`restructure -> source index selection -> prefix placement/zero padding -> chunk -> delta -> normalization -> model` + +已确认的风险: + +- 不同机器人的同一物理量位于不同前缀维度。 +- flow loss 对当前全部 64D 取平均,补零维也参与目标。 +- action MSE 和可视化用“前 D 维有效”表示 mask,不支持非连续统一槽位。 +- `delta_action_mask_dims` 没有显式区分“源 absolute 需做差”与“源已是 delta”。 + +## 阶段一:映射配置与静态校验 + +### 实现 + +- 新增 `src/openpi/cotrain/action_space.py`。 +- 用 `UnifiedActionSpec` 分别声明 state/action 的 source-to-80D 映射。 +- 将 `absolute_to_delta_slots` 和 `already_delta_slots` 分开,防止原生 delta 动作被再次做差。 +- `action_mask` 和 `delta_mask` 由映射自动推导。 +- 注册设计文档中全部 43 个 builder,包括当前从 full-all 排除的 2 个 builder。 +- RoboCOIN 7 个混合 action builder 只映射 joint/gripper/body,EEF 源维度不进入 80D。 + +### 验证 + +- 首次执行 `python3 -m pytest tests/cotrain/test_action_space.py -q` 在 collection 阶段失败;原因是当前 shell + 未设置 `PYTHONPATH=src`,系统 Python 无法定位 `openpi`。 +- 使用 `PYTHONPATH=src python3 -m pytest tests/cotrain/test_action_space.py -q`:`48 passed`。 +- `python3 -m ruff check src/openpi/cotrain/action_space.py tests/cotrain/test_action_space.py`:通过。 +- 静态验证覆盖:43 builder 注册表、80D mask 长度、delta/state/action 包含关系、只有 + EgoVerse 使用 EEF 槽、7 个 RoboCOIN EEF 源区间全部丢弃、Yinhe state reorder。 +- 环境备注:系统 Python 未安装完整项目依赖;后续 RLDS/TensorFlow 验证使用 + `/mnt/workspace/xule/pi07_reproduction/.venv/bin/python` 并指向新仓库 `PYTHONPATH`。 + +## 阶段二:RLDS loader、delta 与归一化 + +### 实现 + +- `CotrainRLDSDataset` 新增可选 `unified_action_spec`;只有 full-all 混合配置启用,旧单数据集配置 + 继续使用 native-prefix padding。 +- loader 在 restructure 之后、chunk/mix/batch 之前 scatter state/action 到 80D,并生成 + 样本级 `action_mask[80]`。 +- `StandardizedInputs` 保留 `action_mask`,使其后续可进入 JAX batch。 +- delta 转换改为使用映射 spec 自动生成的 80D `delta_mask`;只对 + `absolute_to_delta_slots` 做一次 `action-state`。 +- `cotrain_full_all` 和 `cotrain_full_all_full_norm` 的 model action width 改为 80。 +- lightweight/full/AgiBot norm-stats 入口共用同一映射和 delta 实现。 +- 每数据集统计为完整 80D;无效槽强制 `mean=0, std=1, q01=-1, q99=1`。 +- norm stats 目录写入 mapping fingerprint;训练加载时校验 fingerprint 和 80D shape,防止静默 + 复用旧 64D/native stats。 + +### 验证 + +- `PYTHONPATH=src python3 -m pytest tests/cotrain/test_action_space.py -q`:`52 passed`。 +- TensorFlow 轨迹映射测试已实际执行(未 skip);验证 state/action scatter、未使用槽补零和 + `[T,80]` action mask 广播。 +- 纯 NumPy 全注册表验证:43/43 spec 均能完成 state/action 80D 映射,非 mask 槽全为零。 +- delta 单元测试:Piper arm 槽精确得到 `target-current=3`,gripper/未映射槽保持不变。 +- stale metadata 测试:将 width 从 80 改成 64 后加载立即报 mapping mismatch。 +- `py_compile` 通过:config、RLDS loader、transforms 及三个 norm-stats 入口均无语法错误。 +- 完整 config 动态 import 在当前交互容器受依赖环境限制:系统 Python 缺 `jax/tyro/dlimp`, + 旧 venv 同时初始化 JAX/TensorFlow CUDA 后进程被容器终止且无 traceback。真实 TFDS 的逐 builder + 验证安排在阶段四的轻量审计器中,避免同时加载 JAX。 + +## 阶段三:masked loss、采样与评估 + +### 实现 + +- `Observation` 新增可选 `action_mask[B,80]`,`from_dict` 和图像预处理均完整保留;缺省为 `None`, + 因而非统一空间的旧训练保持“全部维度有效”。 +- flow matching 在构造 `x_t/u_t` 前将无效 action/noise 槽清零;平方误差仅在有效槽求和,并按每样本 + 有效槽数归一化。 +- ODE 采样的初始 noise 和每次更新后结果都重新应用 mask,避免无效槽通过后续 action token 反馈到 + 有效槽;最终无效槽严格为 0。 +- action MSE 改用 batch 内的样本级 mask;旧数据无 mask 时使用配置生成的 prefix fallback mask。 +- 轨迹图只画有效的非连续统一槽,并显示 `Uxx + 物理语义`,不再把有效维假设为前 D 维。 +- 增加 80D 到 native source index 的逆映射;设计中主动丢弃的 RoboCOIN EEF 源槽保持为 0。 +- unified 80D 配置与 KI FAST-token 辅助监督同时启用时立即报错,避免一个没有逐维 mask 的辅助目标 + 被误认为已经支持。 + +### 验证 + +- `pi0_action_mask_test.py`:`5 passed`。覆盖 horizon 广播、无 mask 全 1 兼容、错误宽度拒绝、修改 + masked GT 不改变 flow loss、两步 ODE 采样后 masked 槽严格为 0。 +- `test_action_space.py` 增加 native inverse mapping 和 80 个槽名测试;完整结果见阶段四回归。 +- 轨迹图首次脚本断言把 subplot 总数误当作有效槽数而失败:14 个槽按 4 列布局会创建 16 个 axes, + 末尾 2 个会关闭。修正为统计非空标题后通过,输出 `14 U1 left_arm_joint_1 U30 right_arm_joint_1`。 +- `py_compile`:model、loss/sample、config、eval、train entrypoint 全部通过。 +- Ruff 对本阶段文件执行 `E/F/I` 检查(忽略仓库既有 jaxtyping `F722/F821` 与既有长行):通过。 +- 模型测试使用旧仓库 venv、`JAX_PLATFORMS=cpu` 和新仓库 `PYTHONPATH=src`;仅出现上游 + JAX/Flax deprecation warnings,无功能失败。 + +## 阶段四:真实 RLDS 与端到端验证 + +### 实现 + +- 新增 `scripts/audit_unified_action_space.py`,可重复审计真实 builder,而不是只检查手写配置。 +- raw audit 会读取每个 builder 的首个 train episode/frame,验证真实 state/action 宽度、source index、 + 80D scatter、mask 外全零和 delta 非目标槽不变。 +- pipeline audit 将 EgoVerse EEF、Piper joint、RoboCOIN ALOHA(丢弃 EEF)和 Yinhe(state reorder) + 混合采样,验证 chunk/batch 后 shape、逐样本 mask 和 Action Mode/EEF Frame prompt。 +- model smoke 使用临时 neutral 80D stats,贯通 restructure、mapping、delta、normalize、tokenizer、 + `Observation`、dummy π0.5 flow loss 和两步 sampler;临时目录退出即删除,不修改仓库 assets。 + +### 验证 + +- 真实 builder:`43/43 PASS`;配置全集与 mapping registry 完全一致。当前 `cotrain_full_all` 为 + `41` 个 active builder,恰好只排除设计中确认的 2 个 builder。 +- 关键真实宽度:Galaxea `state16/action18`、Leju `state118/action54`、Yinhe `state49/action16`、 + Ruantong `state41/action34`;对应非连续/crop/reorder mapping 均成功执行。 +- mixed RLDS:4 类代表数据全部出现,3 个 batch 内观察到真实跨数据集混合;shape 为 + `state[B,80]`、`actions[B,4,80]`、`action_mask[B,80]`,mask 外动作全零。 +- prompt 回归:joint 样本以 `Action Mode: joint.` 开头;EgoVerse 样本以 + `Action Mode: eef.` 开头且包含 `EEF Frame:`。 +- transformed/model smoke:`actions[4,4,80]`、`mask[4,80]`、finite `loss[4,4]`、 + `sample[4,4,80]`;采样结果 mask 外严格为零。 +- 全量回归:action-space 单测 `54 passed`,model mask 单测 `5 passed`;审计脚本 `py_compile`、 + Ruff `E/F/I` 和 `git diff --check` 均通过。 + +### 训练前置条件 + +- 必须先为 41 个 active builder 重新计算 80D norm stats。旧 native/64D stats 没有 mapping + fingerprint,训练会按设计立即拒绝,避免误用旧统计量开始训练。 + +## 阶段五:80D 作为 co-training 强制基础 + +### 实现 + +- `CotrainDataConfig.create()` 自动按 `dataset_id` 从 registry 挂载 mapping,不再依赖配置作者手动 attach。 +- 所有 co-training 配置强制 `action_dim=80`;未知 dataset、非 80D model 或覆盖 registry mapping 均立即报错。 +- 删除 full-all 专用 attach 路径,full-all、单数据集和后续新配置共用同一不变量。 +- 现有 Piper、DROID、AgiBot、EgoVerse、RoboCOIN、RoboMIND 配置全部改为 80D;从 32D π0.5 + checkpoint 初始化的配置统一使用 shape-safe loader。 +- 分阶段 Ego 迁移为尚未采集的 aligned human/robot 平行夹爪数据预留 2 个可选 mapping;它们不计入 + 上述 43 个真实 builder 审计,数据 contract 见 `docs/egoscale_staged_training.md`。 + +### 验证 + +- 配置测试覆盖:全部注册配置解析为 80D/spec、32D model 被拒绝、未注册 dataset 被拒绝。 +- `tests/cotrain`:`57 passed`。 +- 清除代表 dataset 的预挂载 spec 后重跑真实 transformed/model smoke:自动解析仍得到 + `actions[4,4,80]`、`mask[4,80]`、finite `loss[4,4]` 和 mask-safe `sample[4,4,80]`。 diff --git "a/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\350\256\276\350\256\241_v1.md" "b/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\350\256\276\350\256\241_v1.md" new file mode 100644 index 0000000..4aa657b --- /dev/null +++ "b/docs/\347\273\237\344\270\200\345\212\250\344\275\234\347\251\272\351\227\264\350\256\276\350\256\241_v1.md" @@ -0,0 +1,259 @@ +### 一. Qwen-Manip 动作空间参考 + +论文把不同机器人的 **state 和 action 都放进统一的 80 维模板**。 +但这不代表每台机器人都实际使用 80 个物理自由度,而是采用“固定槽位 + 零填充 + binary mask”的方式。 +对 EEF 旋转,Qwen-Manip 的 state 使用由旋转矩阵得到的连续 6D 表示,action 旋转增量使用 +3D rotation vector;下表主要用于说明其 80D 槽位划分。 +我们只复用这一统一槽位思路,不要求 EEF 旋转表示和时序表示与 Qwen-Manip 完全一致。 + + +| 维度 | 具体内容 | 时序表示 | +| --- | --- | --- | +| 1 | 左臂关节位置 1 | absolute | +| 2 | 左臂关节位置 2 | absolute | +| 3 | 左臂关节位置 3 | absolute | +| 4 | 左臂关节位置 4 | absolute | +| 5 | 左臂关节位置 5 | absolute | +| 6 | 左臂关节位置 6 | absolute | +| 7 | 左臂关节位置 7 | absolute | +| 8 | 左臂末端位置 (x) | relative | +| 9 | 左臂末端位置 (y) | relative | +| 10 | 左臂末端位置 (z) | relative | +| 11 | 左臂末端旋转 6D 表示第 1 维 | relative(action 使用 3D rotation vector) | +| 12 | 左臂末端旋转 6D 表示第 2 维 | relative(action 使用 3D rotation vector) | +| 13 | 左臂末端旋转 6D 表示第 3 维 | relative(action 使用 3D rotation vector) | +| 14 | 左臂末端旋转 6D 表示第 4 维 | relative(action 使用 3D rotation vector) | +| 15 | 左臂末端旋转 6D 表示第 5 维 | relative(action 使用 3D rotation vector) | +| 16 | 左臂末端旋转 6D 表示第 6 维 | relative(action 使用 3D rotation vector) | +| 17 | 左侧平行夹爪关节位置 | absolute | +| 18 | 左侧灵巧手关节位置 1 | absolute | +| 19 | 左侧灵巧手关节位置 2 | absolute | +| 20 | 左侧灵巧手关节位置 3 | absolute | +| 21 | 左侧灵巧手关节位置 4 | absolute | +| 22 | 左侧灵巧手关节位置 5 | absolute | +| 23 | 左侧灵巧手关节位置 6 | absolute | +| 24 | 左侧灵巧手关节位置 7 | absolute | +| 25 | 左侧灵巧手关节位置 8 | absolute | +| 26 | 左侧灵巧手关节位置 9 | absolute | +| 27 | 左侧灵巧手关节位置 10 | absolute | +| 28 | 左侧灵巧手关节位置 11 | absolute | +| 29 | 左侧灵巧手关节位置 12 | absolute | +| 30 | 右臂关节位置 1 | absolute | +| 31 | 右臂关节位置 2 | absolute | +| 32 | 右臂关节位置 3 | absolute | +| 33 | 右臂关节位置 4 | absolute | +| 34 | 右臂关节位置 5 | absolute | +| 35 | 右臂关节位置 6 | absolute | +| 36 | 右臂关节位置 7 | absolute | +| 37 | 右臂末端位置 (x) | relative | +| 38 | 右臂末端位置 (y) | relative | +| 39 | 右臂末端位置 (z) | relative | +| 40 | 右臂末端旋转 6D 表示第 1 维 | relative(action 使用 3D rotation vector) | +| 41 | 右臂末端旋转 6D 表示第 2 维 | relative(action 使用 3D rotation vector) | +| 42 | 右臂末端旋转 6D 表示第 3 维 | relative(action 使用 3D rotation vector) | +| 43 | 右臂末端旋转 6D 表示第 4 维 | relative(action 使用 3D rotation vector) | +| 44 | 右臂末端旋转 6D 表示第 5 维 | relative(action 使用 3D rotation vector) | +| 45 | 右臂末端旋转 6D 表示第 6 维 | relative(action 使用 3D rotation vector) | +| 46 | 右侧平行夹爪关节位置 | absolute | +| 47 | 右侧灵巧手关节位置 1 | absolute | +| 48 | 右侧灵巧手关节位置 2 | absolute | +| 49 | 右侧灵巧手关节位置 3 | absolute | +| 50 | 右侧灵巧手关节位置 4 | absolute | +| 51 | 右侧灵巧手关节位置 5 | absolute | +| 52 | 右侧灵巧手关节位置 6 | absolute | +| 53 | 右侧灵巧手关节位置 7 | absolute | +| 54 | 右侧灵巧手关节位置 8 | absolute | +| 55 | 右侧灵巧手关节位置 9 | absolute | +| 56 | 右侧灵巧手关节位置 10 | absolute | +| 57 | 右侧灵巧手关节位置 11 | absolute | +| 58 | 右侧灵巧手关节位置 12 | absolute | +| 59 | 共享保留维度 1 | 保留 / mask=0 | +| 60 | 共享保留维度 2 | 保留 / mask=0 | +| 61 | 共享保留维度 3 | 保留 / mask=0 | +| 62 | 共享保留维度 4 | 保留 / mask=0 | +| 63 | 共享保留维度 5 | 保留 / mask=0 | +| 64 | 共享保留维度 6 | 保留 / mask=0 | +| 65 | 共享保留维度 7 | 保留 / mask=0 | +| 66 | 共享保留维度 8 | 保留 / mask=0 | +| 67 | 共享保留维度 9 | 保留 / mask=0 | +| 68 | 共享保留维度 10 | 保留 / mask=0 | +| 69 | 共享保留维度 11 | 保留 / mask=0 | +| 70 | 共享保留维度 12 | 保留 / mask=0 | +| 71 | 共享保留维度 13 | 保留 / mask=0 | +| 72 | 共享保留维度 14 | 保留 / mask=0 | +| 73 | 共享保留维度 15 | 保留 / mask=0 | +| 74 | 共享保留维度 16 | 保留 / mask=0 | +| 75 | 共享保留维度 17 | 保留 / mask=0 | +| 76 | 共享保留维度 18 | 保留 / mask=0 | +| 77 | 共享保留维度 19 | 保留 / mask=0 | +| 78 | 共享保留维度 20 | 保留 / mask=0 | +| 79 | 共享保留维度 21 | 保留 / mask=0 | +| 80 | 共享保留维度 22 | 保留 / mask=0 | + +note:对于EEF的旋转,Qwen的state和action表征不同: + ++ state用6D旋转矩阵表示 ++ action用旋转向量表示,并做相对差 + + + +### 二. 我们的 RLDS 统一 80D 动作空间 + + + +#### 1. 最终约定 + +所有数据集先把 state/action 映射到固定 80D,再做归一化和训练。未使用槽位填 0, +`action_mask` 仅在该数据集实际监督的槽位为 1;loss 只统计 mask=1 的维度。 + +保持当前训练 pipeline 的时序表示: + + +| 动作类型 | 统一表示 | +| ------------ | ------------------------------- | +| 手臂关节 | 相对当前 state:`q_target - q_t` | +| EEF 位姿 | absolute pose:平移 xyz + Euler yaw/pitch/roll | +| 平行夹爪 | absolute target | +| 灵巧手关节 | absolute target | +| 腿、头、腰、其他躯干关节 | absolute target | + + +这里的 relative/absolute 是本项目的最终约定,不强制复制 Qwen-Manip 的时序设计。手臂关节继续使用 +当前 pipeline 的 `q_target - q_t`;EgoVerse EEF 的 state 和 action 均保留原始 absolute +`xyz + yaw/pitch/roll`,不通过 action-state 差分构造 EEF delta。 + +源 RLDS 文件不修改,映射、关节差分、零填充和 mask 都在训练 pipeline 中完成。单臂机器人统一使用右臂槽位。 + + + +#### 2. 80D 维度定义 + +`Uk` 表示统一向量的第 k 维,编号从 1 开始。 + + +| 统一维度 | 最终物理意义 | 时序表示 | +| --------- | -------------------- | -------- | +| `U1-U7` | 左臂关节 1-7 | relative | +| `U8-U10` | 左 EEF 平移 x/y/z | absolute | +| `U11-U13` | 左 EEF Euler yaw/pitch/roll | absolute | +| `U14-U16` | 保留,当前不使用 | mask=0 | +| `U17` | 左平行夹爪位置 | absolute | +| `U18-U29` | 左灵巧手关节 1-12 | absolute | +| `U30-U36` | 右臂关节 1-7 | relative | +| `U37-U39` | 右 EEF 平移 x/y/z | absolute | +| `U40-U42` | 右 EEF Euler yaw/pitch/roll | absolute | +| `U43-U45` | 保留,当前不使用 | mask=0 | +| `U46` | 右平行夹爪位置 | absolute | +| `U47-U58` | 右灵巧手关节 1-12 | absolute | +| `U59-U64` | 左腿关节 1-6 | absolute | +| `U65-U70` | 右腿关节 1-6 | absolute | +| `U71-U72` | 头部关节 1-2 | absolute | +| `U73-U74` | 腰部关节 1-2 | absolute | +| `U75` | 其他单一躯干关节 | absolute | +| `U76-U80` | 保留,当前不使用 | mask=0 | + + +实际训练中只有 EgoVerse 使用 EEF 槽位。它的 state/action 均已是数据集给定坐标系下的 +`xyz + yaw/pitch/roll`,直接映射到上表槽位,不转 rotation-6D、不计算相对 SE(3)、不额外变换到相机坐标系。 + +#### 3. 映射记号 + +- `a1-aN`:RLDS 原始 action 维度。 +- `LJ/RJ`:左/右臂关节;`LG/RG`:左/右夹爪;`LH/RH`:左/右灵巧手。 +- `LE/RE`:左/右 EEF;`xyz`、`eul`、`quat` 分别表示平移、Euler 和 Quaternion。 +- `aX-Y -> UA-B`:按顺序逐维映射,例如 `a1-6 -> U1-6` 表示 `a1 -> U1, ..., a6 -> U6`。 +- EgoVerse 的 Euler 维度按顺序直接映射,例如 `a4-6 -> U11-13`。 +- `drop(aX-Y)`:明确丢弃这些源维度,不写入 80D,且不参与 loss。 +- 表中未列出的统一槽位均填 0 且 mask=0。 + + + +#### 4. 各数据集映射 + +本节覆盖 `cotrain_full_all` 来源中的全部 43 个 builder。当前配置排除 +`robocoin_unitree_g1_dex3_s28_a28` 和 `robomind_tienkung_sim_s38_a38`,仍保留其映射以便恢复使用。 + +##### AgiBot、DROID、EgoVerse、Piper + + +| dataset_id | 原始 action | 80D 映射 | +| ---------------- | ------------------------------------------------------------------- | ----------------------------------- | +| `agibot` | `a1-7` LJ,`a8-14` RJ,`a15` LG,`a16` RG,`a17-18` head,`a19-20` waist | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15 -> U17`; `a16 -> U46`; `a17-18 -> U71-72`; `a19-20 -> U73-74` | +| `droid` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `egoverse_aria` | `a1-3` LE xyz,`a4-6` LE yaw/pitch/roll,`a7-9` RE xyz,`a10-12` RE yaw/pitch/roll | `a1-3 -> U8-10`; `a4-6 -> U11-13`; `a7-9 -> U37-39`; `a10-12 -> U40-42` | +| `egoverse_eva` | `a1-3` LE xyz,`a4-6` LE yaw/pitch/roll,`a7-9` RE xyz,`a10-12` RE yaw/pitch/roll | `a1-3 -> U8-10`; `a4-6 -> U11-13`; `a7-9 -> U37-39`; `a10-12 -> U40-42` | +| `egoverse_human` | `a1-3` LE xyz,`a4-6` LE yaw/pitch/roll,`a7-9` RE xyz,`a10-12` RE yaw/pitch/roll | `a1-3 -> U8-10`; `a4-6 -> U11-13`; `a7-9 -> U37-39`; `a10-12 -> U40-42` | +| `egoverse_mecka` | `a1-3` LE xyz,`a4-6` LE yaw/pitch/roll,`a7-9` RE xyz,`a10-12` RE yaw/pitch/roll | `a1-3 -> U8-10`; `a4-6 -> U11-13`; `a7-9 -> U37-39`; `a10-12 -> U40-42` | +| `egoverse_scale` | `a1-3` LE xyz,`a4-6` LE yaw/pitch/roll,`a7-9` RE xyz,`a10-12` RE yaw/pitch/roll | `a1-3 -> U8-10`; `a4-6 -> U11-13`; `a7-9 -> U37-39`; `a10-12 -> U40-42` | +| `piper30` | `a1-6` LJ,`a7` LG,`a8-13` RJ,`a14` RG | `a1-6 -> U1-6`; `a7 -> U17`; `a8-13 -> U30-35`; `a14 -> U46` | + + +Piper 的 `action[t]` 是 next-step absolute target,joint 转换后为 +`state[t+1]-state[t]`;其他 absolute joint target 同样统一减当前 `state[t]`。 + +##### RoboCOIN + +RoboCOIN 按当前 pipeline 的 absolute source target 处理:arm joint 转 relative,gripper、dex hand +和其他 body joint 保持 absolute。部分 action 向量同时包含 joint 和 EEF,但 EEF 的坐标/旋转约定 +不足以支撑可靠几何转换,因此这些 EEF 维度统一丢弃且 `action_mask=0`;同一样本中的 joint、gripper +及其他有明确语义的维度仍正常训练。 + + +| dataset_id | 原始 action | 80D 映射 | +| ----------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | +| `robocoin_agilex_cobot_magic_s26_a26` | `a1-6` LJ,`a7` LG,`a8-13` LE EEF;`a14-19` RJ,`a20` RG,`a21-26` RE EEF | `a1-6 -> U1-6`; `a7 -> U17`; `drop(a8-13)`; `a14-19 -> U30-35`; `a20 -> U46`; `drop(a21-26)` | +| `robocoin_airbot_mmk2_s36_a36` | `a1-6` LJ,`a7-12` RJ,`a13-24` LH,`a25-36` RH | `a1-6 -> U1-6`; `a7-12 -> U30-35`; `a13-24 -> U18-29`; `a25-36 -> U47-58` | +| `robocoin_galaxea_r1_lite_upper_s14_a14` | `a1-6` LJ,`a7-12` RJ,`a13` LG,`a14` RG | `a1-6 -> U1-6`; `a7-12 -> U30-35`; `a13 -> U17`; `a14 -> U46` | +| `robocoin_realman_rmc_aida_l_s28_a28` | `a1-7` RJ,`a8` RG,`a9-14` RE EEF;`a15-21` LJ,`a22` LG,`a23-28` LE EEF | `a1-7 -> U30-36`; `a8 -> U46`; `drop(a9-14)`; `a15-21 -> U1-7`; `a22 -> U17`; `drop(a23-28)` | +| `robocoin_unitree_g1_dex3_s28_a28` | `a1-7` LJ,`a8-14` RJ,`a15-21` LH,`a22-28` RH | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-21 -> U18-24`; `a22-28 -> U47-53`;当前排除 | +| `robocoin_agilex_decoupled_magic_s14_a14_fps30` | `a1-6` LJ,`a7` LG,`a8-13` RJ,`a14` RG | `a1-6 -> U1-6`; `a7 -> U17`; `a8-13 -> U30-35`; `a14 -> U46` | +| `robocoin_agilex_decoupled_magic_s14_a14_fps50` | `a1-6` LJ,`a7` LG,`a8-13` RJ,`a14` RG | `a1-6 -> U1-6`; `a7 -> U17`; `a8-13 -> U30-35`; `a14 -> U46` | +| `robocoin_agilex_decoupled_magic_s26_a26` | `a1-6` LJ,`a7` LG,`a8-13` LE EEF;`a14-19` RJ,`a20` RG,`a21-26` RE EEF | `a1-6 -> U1-6`; `a7 -> U17`; `drop(a8-13)`; `a14-19 -> U30-35`; `a20 -> U46`; `drop(a21-26)` | +| `robocoin_aloha_s26_a26` | `a1-6` LJ,`a7-12` LE EEF,`a13` LG;`a14-19` RJ,`a20-25` RE EEF,`a26` RG | `a1-6 -> U1-6`; `drop(a7-12)`; `a13 -> U17`; `a14-19 -> U30-35`; `drop(a20-25)`; `a26 -> U46` | +| `robocoin_alpha_bot_2_s28_a28` | `a1-7` LJ,`a8-13` LE EEF;`a14-20` RJ,`a21-26` RE EEF,`a27` LG,`a28` RG | `a1-7 -> U1-7`; `drop(a8-13)`; `a14-20 -> U30-36`; `drop(a21-26)`; `a27 -> U17`; `a28 -> U46` | +| `robocoin_discover_aitbot_mmk2_s36_a36` | `a1-6` LJ,`a7-12` RJ,`a13-24` LH,`a25-36` RH | `a1-6 -> U1-6`; `a7-12 -> U30-35`; `a13-24 -> U18-29`; `a25-36 -> U47-58` | +| `robocoin_galaxea_r1_lite_s14_a14` | `a1-6` LJ,`a7` LG,`a8-13` RJ,`a14` RG | `a1-6 -> U1-6`; `a7 -> U17`; `a8-13 -> U30-35`; `a14 -> U46` | +| `robocoin_galaxea_r1_lite_s16_a18` | `a1-7` LJ,`a8-14` RJ,`a15` LG,`a16` RG;`a17-18` 无语义名 | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15 -> U17`; `a16 -> U46`; `drop(a17-18)` | +| `robocoin_leju_robot_s118_a54` | `a1-7` LJ,`a8-14` RJ,`a15-20` left leg,`a21-26` right leg,`a27-32` LH,`a33-38` RH,`a39-40` head,`a41-54` arm velocity | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-20 -> U59-64`; `a21-26 -> U65-70`; `a27-32 -> U18-23`; `a33-38 -> U47-52`; `a39-40 -> U71-72`; `drop(a41-54)` | +| `robocoin_leju_robot_s54_a54` | `a1-7` LJ,`a8-14` RJ,`a15-20` left leg,`a21-26` right leg,`a27-32` LH,`a33-38` RH,`a39-40` head,`a41-54` arm velocity | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-20 -> U59-64`; `a21-26 -> U65-70`; `a27-32 -> U18-23`; `a33-38 -> U47-52`; `a39-40 -> U71-72`; `drop(a41-54)` | +| `robocoin_realman_rmc_aidal_s28_a28` | `a1-7` RJ,`a8` RG,`a9-14` RE EEF;`a15-21` LJ,`a22` LG,`a23-28` LE EEF | `a1-7 -> U30-36`; `a8 -> U46`; `drop(a9-14)`; `a15-21 -> U1-7`; `a22 -> U17`; `drop(a23-28)` | +| `robocoin_ruantong_a2d_s17_a17` | `a1` auxiliary body,`a2-8` LJ,`a9-15` RJ,`a16` LG,`a17` RG | `a1 -> U75`; `a2-8 -> U1-7`; `a9-15 -> U30-36`; `a16 -> U17`; `a17 -> U46` | +| `robocoin_ruantong_a2d_s41_a34` | `a1-7` LJ,`a8-14` RJ,`a15-21` LE EEF,`a22-28` RE EEF,`a29-30` waist,`a31-32` head,`a33` LG,`a34` RG | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `drop(a15-28)`; `a29-30 -> U73-74`; `a31-32 -> U71-72`; `a33 -> U17`; `a34 -> U46` | +| `robocoin_unitree_g1_s28_a28_high` | `a1-7` LJ,`a8-14` RJ,`a15-21` LH,`a22-28` RH | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-21 -> U18-24`; `a22-28 -> U47-53` | +| `robocoin_unitree_g1_s28_a28` | `a1-7` LJ,`a8-14` RJ,`a15-21` LH,`a22-28` RH | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-21 -> U18-24`; `a22-28 -> U47-53` | +| `robocoin_unknown_s30_a30_high` | `a1-7` LJ,`a8-14` RJ,`a15-21` LH,`a22-28` RH,`a29-30` 无语义名 | `a1-7 -> U1-7`; `a8-14 -> U30-36`; `a15-21 -> U18-24`; `a22-28 -> U47-53`; `drop(a29-30)` | +| `robocoin_yinhe_s49_a16` | `a1-7` LJ,`a8` LG,`a9-15` RJ,`a16` RG | `a1-7 -> U1-7`; `a8 -> U17`; `a9-15 -> U30-36`; `a16 -> U46`;state 使用原始 `s6-s21` 对齐 | + + + + +##### RoboMIND_full + + +| dataset_id | 原始 action | 80D 映射 | +| ----------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------- | +| `robomind_agilex_cobot_magic_s14_a14` | `a1-6` LJ,`a7` LG,`a8-13` RJ,`a14` RG | `a1-6 -> U1-6`; `a7 -> U17`; `a8-13 -> U30-35`; `a14 -> U46` | +| `robomind_franka_fr3_dual_s16_a16` | `a1-7` LJ,`a8` LG,`a9-15` RJ,`a16` RG | `a1-7 -> U1-7`; `a8 -> U17`; `a9-15 -> U30-36`; `a16 -> U46` | +| `robomind_franka_panda_s8_a8` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `robomind_franka_sim_franka_s8_a8` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `robomind_franka_sim_simulation_s8_a8` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `robomind_franka_sim_simulation_no_front_s8_a8` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `robomind_franka_sim_none_s8_a8` | `a1-7` 单臂 joint,`a8` gripper | `a1-7 -> U30-36`; `a8 -> U46` | +| `robomind_tienkung_gello_s16_a16` | `a1-7` LJ,`a8` LG closure,`a9-15` RJ,`a16` RG closure | `a1-7 -> U1-7`; `a8 -> U17`; `a9-15 -> U30-36`; `a16 -> U46`;arm relative,closure absolute | +| `robomind_tienkung_prod1_gello_s16_a16` | `a1-7` LJ,`a8` LG closure,`a9-15` RJ,`a16` RG closure | `a1-7 -> U1-7`; `a8 -> U17`; `a9-15 -> U30-36`; `a16 -> U46`;arm relative,closure absolute | +| `robomind_tienkung_xsens_s14_a14` | `a1-7` LJ,`a8-14` RJ | `a1-7 -> U1-7`; `a8-14 -> U30-36`;按当前 RLDS 使用,不补手部 | +| `robomind_tienkung_sim_s38_a38` | `a1-7` LJ,`a8-19` LH,`a20-26` RJ,`a27-38` RH | `a1-7 -> U1-7`; `a8-19 -> U18-29`; `a20-26 -> U30-36`; `a27-38 -> U47-58`;arm relative,hand absolute;当前排除 | +| `robomind_tienkung_real_s38_a38` | `a1-7` LJ,`a8-19` LH,`a20-26` RJ,`a27-38` RH | `a1-7 -> U1-7`; `a8-19 -> U18-29`; `a20-26 -> U30-36`; `a27-38 -> U47-58`;arm relative,hand absolute;参与训练 | +| `robomind_ur5e_s7_a7` | `a1-6` 单臂 joint,`a7` gripper | `a1-6 -> U30-35`; `a7 -> U46` | + + + + +#### 5. 值得记录的特殊处理 + +- 目前实际上只有 EgoVerse 使用 EEF 训练槽位——state/action 均直接使用 absolute `xyz + 欧拉角yaw/pitch/roll`。 +- RoboCOIN 按当前 absolute source target 流程处理,其中的所有 EEF 维度均丢弃,不参与归一化和 loss。(因为EEF数据质量不高) +- Leju 保留 position targets,丢弃 14D arm velocity;被丢弃维度不产生统一槽位。 +- `galaxea_s16_a18` 的 `a17-18` 和 `unknown_s30_a30` 的 `a29-30` 缺少物理名称,固定丢弃。 +- 关于灵巧手,目前的容量是单侧12D,不会出现容量不够的情况: + image-20260716125947672 diff --git "a/docs/\351\242\204\350\256\255\347\273\203\346\225\260\346\215\256\351\233\206\346\200\273\350\247\210_v2.txt" "b/docs/\351\242\204\350\256\255\347\273\203\346\225\260\346\215\256\351\233\206\346\200\273\350\247\210_v2.txt" new file mode 100644 index 0000000..4f7fe5e --- /dev/null +++ "b/docs/\351\242\204\350\256\255\347\273\203\346\225\260\346\215\256\351\233\206\346\200\273\350\247\210_v2.txt" @@ -0,0 +1,131 @@ +## 预训练数据集总览 v2 + + + +###### 总览 + +所有数据集加在一起约 **3,033.33 小时**。 + +当前,所有数据已转换成RLDS格式。符合第一阶段预训练的要求(不考虑subtask和memory标注) + + + + + +###### Droid + +| Dataset | Robot / Schema | Embodiment / Domain | State/Action | Cameras | Episodes / Frames | FPS | 数据总时长 | 当前状态 | 运行脚本 | +| ------- | --------------------- | ----------------------- | ------------ | ----------------------------- | ------------------- | ---- | ---------- | -------- | ----------------------------------- | +| DROID | Franka joint position | DROID real robot / real | 8 / 8 | high, left_wrist, right_wrist | 67,499 / 19,508,979 | 15 | 361.28h | 已完成 | `convert_infidata_droid_to_rlds.py` | + +Droid 共1个 RLDS 仓库,约**361.28小时**数据(当初估计350h) + +当前 **均已完成**。 + + + + + + + +###### Realworld + +| Robot / Schema | EE Pose | State/Action | FPS | Cameras | Episodes / Frames | 数据时长 | 状态 | 运行方式 | +| ----------------------- | ------- | ------------ | ---- | ------------------------------------ | ----------------- | -------- | ------ | ------------------------------------------------------------ | +| ==Piper c3 no EE pose== | 无 | 14 / 14 | 15 | high, left_wrist, right_wrist | 419 / 68,789 | 1.27h | 已完成 | `--schema-key piper_s14_a14_fps15_c3_no_ee_pose --camera-set cam_high,cam_left_wrist,cam_right_wrist` | +| Piper c4 EE pose | 有 | 14 / 14 | 30 | front, high, left_wrist, right_wrist | 5,586 / 2,340,047 | 21.67h | 已完成 | `--schema-key piper_s14_a14_fps30_c4_ee_pose --camera-set cam_front,cam_high,cam_left_wrist,cam_right_wrist` | +| Piper c4 EE pose (realworld_piper_2) | 有 | 14 / 14 | 30 | front, high, left_wrist, right_wrist | 950 / 724,919 | 6.71h | 已完成 | `--schema-key piper_s14_a14_fps30_c4_ee_pose --camera-set cam_front,cam_high,cam_left_wrist,cam_right_wrist` | + +共 **3 个 RLDS 仓库**,总数据量约 **29.65h**,当前**全部已完成**。 + + + +Piper c3 no EE pose数据集质量有问题,需要全部舍弃 + + + +###### Agibot + +| Robot / Schema | Action Type | State/Action | FPS | Cameras | Episodes / Frames | 数据时长 | 状态 | 运行脚本 | +| --------------------------------- | ----------------- | ------------ | ---- | ----------------------------- | ------------------- | -------- | ------ | ------------------------------------------------------------ | +| AgiBot World Beta mobile dual arm | absolute position | 20 / 20 | 30 | high, left_wrist, right_wrist | 22,986 / 35,663,824 | 330.22h | 未完成 | `agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_22986.sh` | + +一个RLDS仓库,总数据量**330h**,已完成 + + + +###### RoboCOIN + +| Robot / Schema | State/Action | FPS | Cameras | Episodes / Frames | 数据时长 | 状态 | 运行脚本 | +| ----------------------------- | ------------ | ---- | ----------------------------- | ------------------- | -------- | ------ | ------------------------------------------------------------ | +| Agilex Cobot Magic | 26 / 26 | 30 | high, left_wrist, right_wrist | 8,284 / 6,319,718 | 58.52h | 已完成 | `Agilex_Cobot_Magic_s26_a26_fps30__episodes_8284.sh` | +| Airbot MMK2 | 36 / 36 | 30 | high, left_wrist, right_wrist | 10,532 / 2,728,963 | 25.27h | 已完成 | `Airbot_MMK2_s36_a36_fps30__episodes_10532.sh` | +| Galaxea R1 Lite | 14 / 14 | 30 | high, left_wrist, right_wrist | 3,650 / 2,217,847 | 20.54h | 已完成 | `Galaxea_R1_Lite_s14_a14_fps30__episodes_3650.sh` | +| Realman RMC-AIDA-L | 28 / 28 | 30 | high, left_wrist, right_wrist | 693 / 336,079 | 3.11h | 已完成 | `Realman_RMC-AIDA-L_s28_a28_fps30__episodes_693.sh` | +| Unitree G1 Dex3 phecda | 28 / 28 | 30 | high, left_wrist, right_wrist | 1,411 / 910,983 | 8.44h | 已完成 | `Unitree_G1_Dex3_phecda_s28_a28_fps30__episodes_1411.sh` | +| AgileX decoupled Magic | 14 / 14 | 30 | high, left_wrist, right_wrist | 7,778 / 4,806,875 | 44.51h | 已完成 | `agilex_cobot_decoupled_magic_s14_a14_fps30__episodes_7778.sh` | +| AgileX decoupled Magic | 14 / 14 | 50 | high, left_wrist, right_wrist | 3,397 / 1,823,313 | 10.13h | 已完成 | `agilex_cobot_decoupled_magic_s14_a14_fps50__episodes_3397.sh` | +| AgileX decoupled Magic | 26 / 26 | 30 | high, left_wrist, right_wrist | 23,712 / 16,334,563 | 151.25h | 已完成 | `agilex_cobot_decoupled_magic_s26_a26_fps30__episodes_23712.sh` | +| ALOHA | 26 / 26 | 30 | high, left_wrist, right_wrist | 4,879 / 6,680,658 | 61.86h | 已完成 | `aloha_s26_a26_fps30__episodes_4879.sh` | +| Alpha Bot 2 | 28 / 28 | 30 | high, left_wrist, right_wrist | 857 / 764,907 | 7.08h | 已完成 | `alpha_bot_2_s28_a28_fps30__episodes_857.sh` | +| Discover Robotics AitBot MMK2 | 36 / 36 | 30 | high, left_wrist, right_wrist | 5,747 / 1,219,069 | 11.29h | 已完成 | `discover_robotics_aitbot_mmk2_s36_a36_fps30__episodes_5747.sh` | +| Galaxea R1 Lite | 14 / 14 | 30 | high, left_wrist, right_wrist | 5,167 / 8,372,255 | 77.52h | 未完成 | `galaxea_r1_lite_s14_a14_fps30__episodes_5167.sh` | +| Galaxea R1 Lite | 16 / 18 | 30 | high, left_wrist, right_wrist | 970 / 332,209 | 3.08h | 已完成 | `galaxea_r1_lite_s16_a18_fps30__episodes_970.sh` | +| Leju Robot | 118 / 54 | 30 | high, left_wrist, right_wrist | 17,897 / 15,462,517 | 143.17h | 已完成 | `leju_robot_s118_a54_fps30__episodes_17897.sh` | +| Leju Robot | 54 / 54 | 30 | high, left_wrist, right_wrist | 394 / 69,427 | 0.64h | 已完成 | `leju_robot_s54_a54_fps30__episodes_394.sh` | +| Realman RMC AIDAL | 28 / 28 | 30 | high, left_wrist, right_wrist | 18,412 / 16,612,517 | 153.82h | 已完成 | `realman_rmc_aidal_s28_a28_fps30__episodes_18412.sh` | +| Ruantong A2D | 17 / 17 | 30 | high, left_wrist, right_wrist | 1,719 / 1,086,438 | 10.06h | 已完成 | `ruantong_a2d_s17_a17_fps30__episodes_1719.sh` | +| Ruantong A2D | 41 / 34 | 30 | high, left_wrist, right_wrist | 6,459 / 2,861,645 | 26.50h | 已完成 | `ruantong_a2d_s41_a34_fps30__episodes_6459.sh` | +| Unitree G1 | 28 / 28 | 30 | high | 227 / 76,754 | 0.71h | 已完成 | `unitree_g1_s28_a28_fps30__episodes_1158.sh` | +| Unitree G1 | 28 / 28 | 30 | high, left_wrist, right_wrist | 931 / 663,781 | 6.15h | 已完成 | `unitree_g1_s28_a28_fps30__episodes_1158.sh` | +| Unknown robot | 30 / 30 | 30 | high | 891 / 274,684 | 2.54h | 已完成 | `unknown_s30_a30_fps30__episodes_891.sh` | +| Yinhe | 49 / 16 | 30 | high, left_wrist, right_wrist | 5,452 / 5,175,924 | 47.93h | 已完成 | `yinhe_s49_a16_fps30__episodes_5452.sh` | + +RoboCOIN 共 **22 个 RLDS 仓库**,总数据量约 **874.09h**。 + +当前 **22个已完成** + + + + + +###### RoboMIND + +| Robot | Schema | Embodiment / Domain | State/Action | Cameras | 当前状态 | 数据时长 | 运行脚本 | +| ------------------ | ---------------------------------- | ------------------------------------- | ------------ | ------------------------------------------------------ | ------------------ | -------- | ------------------------------------------------ | +| UR5e | `master_puppet_joint_position` | `h5_ur_1rgb` / real | 7 / 7 | top | 已完成 | 36.80h | `ur5e...episodes_26380.sh` | +| Franka Panda | `master_puppet_joint_position` | `h5_franka_3rgb` / real | 8 / 8 | left, right, top | 已完成,skip 1,546 | 22.43h | `franka_panda...episodes_17219.sh` | +| Franka Sim | `simulation_franka_joint_position` | `h5_sim_franka_3rgb` / sim | 8 / 8 | front_external, handeye, left_external, right_external | 已完成 | 25.20h | `franka_sim...h5_sim_franka...episodes_14488.sh` | +| Franka Sim | `simulation_franka_joint_position` | `h5_simulation` / sim | 8 / 8 | front_external, handeye, left_external, right_external | 已完成,skip 2,423 | 20.97h | `franka_sim...h5_simulation...episodes_11422.sh` | +| AgileX Cobot Magic | `agilex_dual_arm` | `h5_agilex_3rgb` / real | 14 / 14 | high, left_wrist, right_wrist | 已完成 | 61.42h | `agilex...episodes_10374.sh` | +| TienKung Humanoid | `master_puppet_joint_position` | `h5_tienkung_gello_1rgb` / real | 16 / 16 | top | 已完成 | 41.75h | `tienkung...gello...episodes_6626.sh` | +| TienKung Humanoid | `master_puppet_joint_position` | `h5_tienkung_xsens_1rgb` / real | 14 / 14 | top | 已完成 | 32.96h | `tienkung...xsens...episodes_6126.sh` | +| TienKung Humanoid | `tiangong_joint_position` | `h5_sim_tienkung_1rgb` / sim | 38 / 38 | chest, head | 已完成 | 33.07h | `tienkung...sim_tienkung...episodes_3965.sh` | +| TienKung Humanoid | `master_puppet_joint_position` | `h5_tienkung_prod1_gello_1rgb` / real | 16 / 16 | top | 已完成 | 15.77h | `tienkung...prod1_gello...episodes_2959.sh` | +| Franka FR3 Dual | `master_puppet_joint_position` | `h5_franka_fr3_dual` / real | 16 / 16 | high, left, right, top | 已完成 | 3.48h | `franka_fr3_dual...episodes_1774.sh` | +| Franka Sim | `simulation_franka_joint_position` | none / sim | 8 / 8 | front_external, handeye, left_external, right_external | 已完成 | 0.35h | `franka_sim...none_sim...episodes_222.sh` | +| Franka Sim | `simulation_franka_joint_position` | `h5_simulation` / sim | 8 / 8 | handeye, left_external, right_external | 已完成 | 0.33h | `franka_sim...3cam...episodes_158.sh` | +| TienKung Humanoid | `tiangong_joint_position` | none / real | 38 / 38 | chest, head | 已完成 | 1.15h | `tienkung...none_real...episodes_146.sh` | + +RoboMIND full 共 13 个 RLDS 仓库,约 **295.67h** 数据(当初估计305h) + +当前 **13 个完成,0 个未完成**。 + + + +###### EgoVerse + +| Embodiment / Robot | Domain | Control / Action | State/Action | Action Chunk | FPS | Cameras | Episodes / Frames | 数据时长 | RLDS 状态 | 运行方式 | +| ------------------------- | ------ | -------------------------- | ------------ | ------------ | ---- | -------------------------------- | ------------------- | -------- | --------- | ------------------------------------------------------------ | +| `MECKA_BIMANUAL` | real | absolute Cartesian EE pose | 12 / 12 | 100 | 30 | front_1 | 41,612 / 89,233,982 | 826.24h | 已完成 | `--schema-key MECKA_BIMANUAL --camera-set front_1` | +| `aria_bimanual` | real | absolute Cartesian EE pose | 12 / 12 | 100 | 30 | front_1 | 1,031 / 4,560,706 | 42.23h | 已完成 | `--schema-key aria_bimanual --camera-set front_1` | +| `eva_bimanual
aloha` | real | absolute Cartesian EE pose | 12 / 12 | 100 | 30 | front_1, left_wrist, right_wrist | 2,961 / 3,281,717 | 30.39h | 已完成 | `--schema-key eva_bimanual --camera-set front_1,left_wrist,right_wrist` | +| `human_bimanual` | real | absolute Cartesian EE pose | 12 / 12 | 100 | 30 | front_1 | 810 / 2,914,606 | 26.99h | 已完成 | `--schema-key human_bimanual --camera-set front_1` | +| `scale` | real | absolute Cartesian EE pose | 12 / 12 | 100 | 30 | front_1 | 17,090 / 23,389,757 | 216.57h | 已完成 | `--schema-key scale --camera-set front_1` | + +Egoverse 共 5 个 RLDS 仓库,约 **1142.42h** 数据 + +当前 **均已完成**。 + + + diff --git a/pi07_validation_eva/README_CN.md b/pi07_validation_eva/README_CN.md index e911fbd..5c788aa 100644 --- a/pi07_validation_eva/README_CN.md +++ b/pi07_validation_eva/README_CN.md @@ -5,23 +5,26 @@ ## 默认运行 ```bash +CHECKPOINT_ROOT=/path/to/checkpoints/cotrain_real_only/ \ bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh ``` 默认评测 `CHECKPOINT_STEP=20000`、`SPLIT=seen_test`、`ANCHORS_PER_EPISODE=20`、`ACTIONS_PER_INFERENCE=8`、`FLOW_LOSS_SAMPLES=4`、`DEVICE=cuda`。 +`CHECKPOINT_ROOT` 必须指向使用 task-disjoint Piper30 重新训练的实验目录;旧 checkpoint 的训练集 +包含现在的两个 unseen task,不能用于新的 unseen 指标。 ## 后续 checkpoint ```bash -CHECKPOINT_STEP=25000 bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh -CHECKPOINT_STEP=30000 bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh +CHECKPOINT_ROOT=/path/to/new-exp CHECKPOINT_STEP=25000 bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh +CHECKPOINT_ROOT=/path/to/new-exp CHECKPOINT_STEP=30000 bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh ``` ## 只做元数据或校验 ```bash -bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh --metadata-only -bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh --validate-only +CHECKPOINT_ROOT=/path/to/new-exp bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh --metadata-only +CHECKPOINT_ROOT=/path/to/new-exp bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validation.sh --validate-only ``` 当前 SSH 环境如果 JAX 看不到 CUDA GPU,`--validate-only` 会失败并记录原因;脚本不会在无 GPU 情况下假装完成 H800 评测。 @@ -30,6 +33,6 @@ bash /mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/scripts/run_validat - `config/eval_defaults.env`: 默认路径和参数。 - `config/training_metadata_0629.json`: 可选的本地训练元数据;如存在,报告生成器会自动读取。 -- `manifests/seen_open_loop_h8_seed42.jsonl`: open-loop 8-step manifest。 -- `manifests/seen_flow_loss_MODEL_HORIZON_seed42.jsonl`: full model horizon flow-loss manifest。 +- `manifests/_open_loop_h8_seed42.jsonl`: open-loop 8-step manifest。 +- `manifests/_flow_loss_MODEL_HORIZON_seed42.jsonl`: full model horizon flow-loss manifest。 - `results/step_020000/report.md` / `report.html`: 中文报告。 diff --git a/pi07_validation_eva/config/eval_defaults.env b/pi07_validation_eva/config/eval_defaults.env index f0cbc47..6b53da2 100644 --- a/pi07_validation_eva/config/eval_defaults.env +++ b/pi07_validation_eva/config/eval_defaults.env @@ -1,14 +1,14 @@ # 默认路径集中配置;人工改路径优先改这里,不需要改 Python 代码。 -: "${CHECKPOINT_ROOT:=/mnt/workspace/xule/pi07_reproduction/checkpoints/cotrain_all_2ep/cotrain_all_2ep_16gpus_real_data_only_0629}" +# 必须显式传入新划分数据重训产生的 checkpoint;旧 checkpoint 训练时见过现在的 unseen tasks。 : "${OPENPI_ROOT:=/mnt/workspace/xule/pi07_reproduction}" -: "${NORM_STATS_PATH:=/mnt/data/xule/pi07_reproduction/assets/cotrain_all_2ep/piper30}" -: "${DATASET_DIR:=/mnt/data/RLDS/realworld_piper/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.0.0}" +: "${NORM_STATS_PATH:=${OPENPI_ROOT}/assets/cotrain_real_only/piper30}" +: "${DATASET_DIR:=/mnt/data/RLDS/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0}" : "${OUTPUT_ROOT:=/mnt/workspace/zhengdongchen/Atom-0/pi07_validation_eva/results}" : "${PYTHON_BIN:=/mnt/data/xule/pi07_reproduction/.venv/bin/python}" # 可复用评测默认值;外部同名环境变量优先。 : "${CHECKPOINT_STEP:=20000}" -: "${CONFIG_NAME:=cotrain_all_2ep}" +: "${CONFIG_NAME:=cotrain_real_only}" : "${SPLIT:=seen_test}" : "${EPISODES:=0}" : "${ANCHORS_PER_EPISODE:=20}" diff --git a/pi07_validation_eva/scripts/evaluate_validation.py b/pi07_validation_eva/scripts/evaluate_validation.py index 0613135..daaf6c6 100755 --- a/pi07_validation_eva/scripts/evaluate_validation.py +++ b/pi07_validation_eva/scripts/evaluate_validation.py @@ -36,17 +36,13 @@ PIPER_DATASET_ID = "piper30" PROMPT_PREFIX = "Action Mode: joint. " DEFAULT_TARGET_ROOT = Path(__file__).resolve().parents[1] -DEFAULT_CHECKPOINT_ROOT = Path( - "/mnt/workspace/xule/pi07_reproduction/checkpoints/cotrain_all_2ep/" - "cotrain_all_2ep_16gpus_real_data_only_0629" -) DEFAULT_OPENPI_ROOT = Path("/mnt/workspace/xule/pi07_reproduction") DEFAULT_PYTHON = "/mnt/data/xule/pi07_reproduction/.venv/bin/python" -DEFAULT_NORM_STATS = Path("/mnt/data/xule/pi07_reproduction/assets/cotrain_all_2ep/piper30") +DEFAULT_NORM_STATS = DEFAULT_OPENPI_ROOT / "assets/cotrain_real_only/piper30" DEFAULT_DATASET_DIR = Path( - "/mnt/data/RLDS/realworld_piper/" + "/mnt/data/RLDS/realworld_piper_task_split/" "piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/" - "realworld_piper_infidata/1.0.0" + "realworld_piper_infidata/1.1.0" ) @@ -885,9 +881,13 @@ def empty_plot(name: str, title: str): def manifest_report_summary(args: argparse.Namespace) -> dict[str, Any]: + split_tag = args.split.replace("/", "_") files = { - "open_loop": DEFAULT_TARGET_ROOT / "manifests" / f"seen_open_loop_h{args.actions_per_inference}_seed{args.seed}.jsonl", - "flow_loss": DEFAULT_TARGET_ROOT / "manifests" / f"seen_flow_loss_MODEL_HORIZON_seed{args.seed}.jsonl", + "open_loop": args.anchor_manifest + or DEFAULT_TARGET_ROOT / "manifests" / f"{split_tag}_open_loop_h{args.actions_per_inference}_seed{args.seed}.jsonl", + "flow_loss": DEFAULT_TARGET_ROOT + / "manifests" + / f"{split_tag}_flow_loss_MODEL_HORIZON_seed{args.seed}.jsonl", } out: dict[str, Any] = {} for name, path in files.items(): @@ -995,10 +995,15 @@ def validate_runtime(args: argparse.Namespace, metadata: dict[str, Any]) -> dict def parse_args(argv: list[str] | None = None) -> argparse.Namespace: p = argparse.ArgumentParser(description=__doc__) p.add_argument("--openpi-root", type=Path, default=DEFAULT_OPENPI_ROOT) - p.add_argument("--checkpoint-dir", type=Path, default=DEFAULT_CHECKPOINT_ROOT / "20000") + p.add_argument( + "--checkpoint-dir", + type=Path, + required=True, + help="Checkpoint trained with the task-disjoint Piper30 builder; historical Piper checkpoints are invalid.", + ) p.add_argument("--norm-stats-path", type=Path, default=DEFAULT_NORM_STATS) p.add_argument("--dataset-dir", type=Path, default=DEFAULT_DATASET_DIR) - p.add_argument("--config-name", default="cotrain_all_2ep") + p.add_argument("--config-name", default="cotrain_real_only") p.add_argument("--split", default="seen_test") p.add_argument("--episodes", type=int, default=0, help="0 means all episodes") p.add_argument("--anchors-per-episode", type=int, default=20) @@ -1048,8 +1053,16 @@ def main(argv: list[str] | None = None) -> int: train_config = load_train_config(args.openpi_root, args.config_name, assets_base_from_norm_stats(args.norm_stats_path)) model_horizon = int(train_config.model.action_horizon) max_eps = args.episodes if args.episodes and args.episodes > 0 else None - open_manifest = args.anchor_manifest or DEFAULT_TARGET_ROOT / "manifests" / f"seen_open_loop_h{args.actions_per_inference}_seed{args.seed}.jsonl" - flow_manifest = DEFAULT_TARGET_ROOT / "manifests" / f"seen_flow_loss_MODEL_HORIZON_seed{args.seed}.jsonl" + split_tag = args.split.replace("/", "_") + open_manifest = ( + args.anchor_manifest + or DEFAULT_TARGET_ROOT + / "manifests" + / f"{split_tag}_open_loop_h{args.actions_per_inference}_seed{args.seed}.jsonl" + ) + flow_manifest = ( + DEFAULT_TARGET_ROOT / "manifests" / f"{split_tag}_flow_loss_MODEL_HORIZON_seed{args.seed}.jsonl" + ) open_records = ensure_anchor_manifest(open_manifest, args.dataset_dir, args.split, args.actions_per_inference, args.anchors_per_episode, max_eps) flow_records = ensure_anchor_manifest(flow_manifest, args.dataset_dir, args.split, model_horizon, args.anchors_per_episode, max_eps) if max_eps is not None: diff --git a/pi07_validation_eva/scripts/run_validation.sh b/pi07_validation_eva/scripts/run_validation.sh index c2d70d7..da996e3 100755 --- a/pi07_validation_eva/scripts/run_validation.sh +++ b/pi07_validation_eva/scripts/run_validation.sh @@ -9,12 +9,12 @@ if [[ -f "${DEFAULTS}" ]]; then set +a fi -CHECKPOINT_ROOT=${CHECKPOINT_ROOT:-/mnt/workspace/xule/pi07_reproduction/checkpoints/cotrain_all_2ep/cotrain_all_2ep_16gpus_real_data_only_0629} +: "${CHECKPOINT_ROOT:?Set CHECKPOINT_ROOT to a checkpoint trained with the task-disjoint Piper30 builder}" CHECKPOINT_STEP=${CHECKPOINT_STEP:-20000} OPENPI_ROOT=${OPENPI_ROOT:-/mnt/workspace/xule/pi07_reproduction} -NORM_STATS_PATH=${NORM_STATS_PATH:-/mnt/data/xule/pi07_reproduction/assets/cotrain_all_2ep/piper30} -DATASET_DIR=${DATASET_DIR:-/mnt/data/RLDS/realworld_piper/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.0.0} -CONFIG_NAME=${CONFIG_NAME:-cotrain_all_2ep} +NORM_STATS_PATH=${NORM_STATS_PATH:-${OPENPI_ROOT}/assets/cotrain_real_only/piper30} +DATASET_DIR=${DATASET_DIR:-/mnt/data/RLDS/realworld_piper_task_split/piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist/realworld_piper_infidata/1.1.0} +CONFIG_NAME=${CONFIG_NAME:-cotrain_real_only} SPLIT=${SPLIT:-seen_test} EPISODES=${EPISODES:-0} ANCHORS_PER_EPISODE=${ANCHORS_PER_EPISODE:-20} @@ -28,7 +28,7 @@ PYTHON_BIN=${PYTHON_BIN:-/mnt/data/xule/pi07_reproduction/.venv/bin/python} STEP_PADDED=$(printf "%06d" "${CHECKPOINT_STEP}") CHECKPOINT_DIR=${CHECKPOINT_ROOT}/${CHECKPOINT_STEP} OUTPUT_DIR=${OUTPUT_ROOT}/step_${STEP_PADDED} -ANCHOR_MANIFEST=${ROOT_DIR}/manifests/seen_open_loop_h${ACTIONS_PER_INFERENCE}_seed${SEED}.jsonl +ANCHOR_MANIFEST=${ROOT_DIR}/manifests/${SPLIT}_open_loop_h${ACTIONS_PER_INFERENCE}_seed${SEED}.jsonl mkdir -p "${OUTPUT_DIR}" exec "${PYTHON_BIN}" "${ROOT_DIR}/scripts/evaluate_validation.py" \ diff --git a/pi07_validation_eva_b200_9999/IMPLEMENTATION_PLAN.md b/pi07_validation_eva_b200_9999/IMPLEMENTATION_PLAN.md new file mode 100644 index 0000000..448eb98 --- /dev/null +++ b/pi07_validation_eva_b200_9999/IMPLEMENTATION_PLAN.md @@ -0,0 +1,17 @@ +# B200 9999 Validation Version + +本目录目标是保存当前 Piper 使用的 B200 real-only 9999 离线测评代码,便于和 GitHub 标准目录结构对齐。 + +已包含: + +- `config/eval_defaults.env`: B200/9999 默认路径与参数。 +- `scripts/evaluate_validation.py`: Piper 当前 80D 适配版离线测评脚本。 +- `scripts/run_validation.sh`: 标准入口脚本。 +- `README_CN.md`: 使用说明。 + +主要实现要求: + +- 支持 80D unified action space。 +- 支持 14D Piper action/state 和 80D model action 的双向映射。 +- 支持 `cotrain_real_only` / `piper30` / B200 9999 checkpoint。 +- 不导入或调用真机硬件、CAN、相机控制代码。 diff --git a/pi07_validation_eva_b200_9999/README_CN.md b/pi07_validation_eva_b200_9999/README_CN.md new file mode 100644 index 0000000..0ffebd0 --- /dev/null +++ b/pi07_validation_eva_b200_9999/README_CN.md @@ -0,0 +1,85 @@ +# B200 real-only 9999 Piper 离线测评脚本 + +这个目录保存 Piper 当前使用的 B200 `cotrain_real_only_b200_v1/9999` 离线测评版本。 + +## 关键点 + +- 模型动作空间是 80D unified action space。 +- Piper 数据集原始 action/state 是 14D。 +- 脚本不会把 `80D[:14]` 当成 Piper action。 +- 推理输入携带与训练一致的 80D Piper `action_mask`。 +- 推理 prompt 携带与训练一致的 `Action Mode: joint. ` 前缀。 +- `piper30` norm stats 在推理路径中只应用一次。 +- Piper 14D 映射到 80D 槽位为: + +```text +left_joint_1..6 -> 80D[0:6] +left_gripper -> 80D[16] +right_joint_1..6 -> 80D[29:35] +right_gripper -> 80D[45] +``` + +## 默认路径 + +默认路径写在: + +```bash +config/eval_defaults.env +``` + +这些默认路径面向 Piper 电脑: + +```bash +/home/ps/Documents/zhengdongchen/b200_cotrain_real_only_9999 +``` + +## 运行 + +在 Piper 上: + +```bash +bash /home/ps/Documents/zhengdongchen/pi07_validation_eva_b200_9999/scripts/run_validation.sh --validate-only +``` + +最小 smoke: + +```bash +EPISODES=1 \ +ANCHORS_PER_EPISODE=1 \ +ACTIONS_PER_INFERENCE=8 \ +NATIVE_VAL_LOSS_SAMPLES=0 \ +SPLIT=seen_test \ +DEVICE=cuda \ +bash /home/ps/Documents/zhengdongchen/pi07_validation_eva_b200_9999/scripts/run_validation.sh +``` + +`EPISODES=0` 表示评估完整 split。正式评估时,anchor 会均匀覆盖每条轨迹,而不是只取轨迹开头。 +建议 seen/unseen 分别运行,例如: + +```bash +EPISODES=0 \ +ANCHORS_PER_EPISODE=20 \ +STRIDE=1 \ +ACTIONS_PER_INFERENCE=8 \ +NATIVE_VAL_LOSS_SAMPLES=0 \ +NUM_SAMPLES=1 \ +SPLIT=seen_test \ +DEVICE=cuda \ +bash /home/ps/Documents/zhengdongchen/pi07_validation_eva_b200_9999/scripts/run_validation.sh + +EPISODES=0 \ +ANCHORS_PER_EPISODE=20 \ +STRIDE=1 \ +ACTIONS_PER_INFERENCE=8 \ +NATIVE_VAL_LOSS_SAMPLES=0 \ +NUM_SAMPLES=1 \ +SPLIT=unseen_test \ +DEVICE=cuda \ +bash /home/ps/Documents/zhengdongchen/pi07_validation_eva_b200_9999/scripts/run_validation.sh +``` + +全量 seen/unseen 需要注意运行时间和内存占用,建议使用 GPU,并且不要和真机 server 同时占用显存。 + +## 说明 + +这个目录不是原始 `pi07_validation_eva` 的通用 H800 多 checkpoint 工程,而是当前 B200/9999 的专用版本。 diff --git a/pi07_validation_eva_b200_9999/config/eval_defaults.env b/pi07_validation_eva_b200_9999/config/eval_defaults.env new file mode 100644 index 0000000..d84fc08 --- /dev/null +++ b/pi07_validation_eva_b200_9999/config/eval_defaults.env @@ -0,0 +1,21 @@ +# B200 cotrain_real_only 9999 validation defaults. +# These paths are for the Piper machine. Override them when running elsewhere. + +: "${BASE_DIR:=/home/ps/Documents/zhengdongchen/b200_cotrain_real_only_9999}" +: "${OPENPI_ROOT:=${BASE_DIR}}" +: "${CHECKPOINT_DIR:=${BASE_DIR}/checkpoints/cotrain_real_only/cotrain_real_only_b200_v1/9999}" +: "${NORM_STATS_PATH:=${BASE_DIR}/assets/cotrain_real_only/piper30/norm_stats.json}" +: "${DATASET_DIR:=/home/ps/Documents/zhengdongchen/pi07_seen_test_eval/dataset/realworld_piper_infidata/1.0.0}" +: "${RESULT_ROOT:=${BASE_DIR}/results}" +: "${PYTHON_BIN:=/home/ps/Documents/zhengdongchen/pi07_seen_test_eval/envs/openpi_eval/bin/python3.11}" + +: "${CONFIG_NAME:=cotrain_real_only}" +: "${SPLIT:=seen_test}" +: "${EPISODES:=1}" +: "${ANCHORS_PER_EPISODE:=1}" +: "${STRIDE:=1}" +: "${ACTIONS_PER_INFERENCE:=8}" +: "${NATIVE_VAL_LOSS_SAMPLES:=0}" +: "${SEED:=0}" +: "${NUM_SAMPLES:=1}" +: "${DEVICE:=cuda}" diff --git a/pi07_validation_eva_b200_9999/scripts/evaluate_validation.py b/pi07_validation_eva_b200_9999/scripts/evaluate_validation.py new file mode 100644 index 0000000..b91542e --- /dev/null +++ b/pi07_validation_eva_b200_9999/scripts/evaluate_validation.py @@ -0,0 +1,951 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +import csv +import dataclasses +import importlib.util +import json +import math +import os +from pathlib import Path +import sys +from typing import Any + + +CONFIG_NAME_DEFAULT = "cotrain_real_only" +DATASET_ID = "piper30" +PROMPT_PREFIX = "Action Mode: joint. " +PIPER_ACTION_DIM = 14 +UNIFIED_ACTION_DIM = 80 +LEFT_JOINT_DIMS = tuple(range(0, 6)) +LEFT_GRIPPER_DIM = 6 +RIGHT_JOINT_DIMS = tuple(range(7, 13)) +RIGHT_GRIPPER_DIM = 13 +JOINT_DELTA_DIMS = LEFT_JOINT_DIMS + RIGHT_JOINT_DIMS +GRIPPER_DIMS = (LEFT_GRIPPER_DIM, RIGHT_GRIPPER_DIM) +UNIFIED_LEFT_JOINT_DIMS = tuple(range(0, 6)) +UNIFIED_LEFT_GRIPPER_DIM = 16 +UNIFIED_RIGHT_JOINT_DIMS = tuple(range(29, 35)) +UNIFIED_RIGHT_GRIPPER_DIM = 45 +UNIFIED_PIPER_DIMS = ( + UNIFIED_LEFT_JOINT_DIMS + + (UNIFIED_LEFT_GRIPPER_DIM,) + + UNIFIED_RIGHT_JOINT_DIMS + + (UNIFIED_RIGHT_GRIPPER_DIM,) +) +UNIFIED_JOINT_DELTA_DIMS = UNIFIED_LEFT_JOINT_DIMS + UNIFIED_RIGHT_JOINT_DIMS + + +SOURCE_EVIDENCE = { + "config_piper30": "src/openpi/cotrain/config.py:194-210", + "config_alias": "src/openpi/cotrain/config.py:256-264", + "standardized_inputs": "src/openpi/cotrain/transforms.py:48-85", + "dispatch_delta": "src/openpi/cotrain/transforms.py:101-119", + "dispatch_normalize": "src/openpi/cotrain/transforms.py:122-147", + "raw_dataset_mapping": "src/openpi/cotrain/rlds_dataset.py:229-257", + "action_chunking": "src/openpi/cotrain/rlds_dataset.py:413-425,461-466", + "delta_relative_to_anchor": "src/openpi/transforms.py:567-583", + "mask_semantics": "src/openpi/transforms.py:852-871", + "policy_restore_and_transforms": "src/openpi/policies/policy_config.py:17-99", + "policy_infer": "src/openpi/policies/policy.py:70-104", + "sampler_random_noise": "src/openpi/models/pi0.py:379-442", + "native_validation_eval": "src/openpi/cotrain/eval.py:37-40,75-92,97-108", + "action_state_note": "docs/cotrain_技术文档.md:97-103", +} + + + + +def piper14_from_action(values, name: str = "action"): + import numpy as np + + arr = np.asarray(values, dtype=np.float32) + if arr.shape[-1] == PIPER_ACTION_DIM: + return arr.astype(np.float32, copy=False) + if arr.shape[-1] == UNIFIED_ACTION_DIM: + return arr[..., np.asarray(UNIFIED_PIPER_DIMS)].astype(np.float32, copy=True) + raise ValueError(f"{name} last dim must be 14 or 80, got shape {arr.shape}") + + +def piper_state_to_unified(state): + import numpy as np + + piper = np.asarray(state, dtype=np.float32) + if piper.shape != (PIPER_ACTION_DIM,): + raise ValueError(f"Expected Piper state shape (14,), got {piper.shape}") + unified = np.zeros((UNIFIED_ACTION_DIM,), dtype=np.float32) + unified[np.asarray(UNIFIED_PIPER_DIMS)] = piper + return unified + + +def piper_actions_to_unified(actions): + import numpy as np + + piper = np.asarray(actions, dtype=np.float32) + if piper.shape[-1] != PIPER_ACTION_DIM: + raise ValueError(f"Expected Piper actions last dim 14, got {piper.shape}") + unified = np.zeros((*piper.shape[:-1], UNIFIED_ACTION_DIM), dtype=np.float32) + unified[..., np.asarray(UNIFIED_PIPER_DIMS)] = piper + return unified + + +def action_mask_for_policy(policy_action_dim: int): + import numpy as np + + if policy_action_dim == UNIFIED_ACTION_DIM: + mask = np.zeros((UNIFIED_ACTION_DIM,), dtype=bool) + mask[np.asarray(UNIFIED_PIPER_DIMS)] = True + return mask + if policy_action_dim == PIPER_ACTION_DIM: + return np.ones((PIPER_ACTION_DIM,), dtype=bool) + raise ValueError(f"Unsupported policy action dim {policy_action_dim}; expected 14 or 80") + + +def state_for_policy(state, policy_state_dim: int): + import numpy as np + + piper = piper14_from_action(state, "state") + if piper.shape != (PIPER_ACTION_DIM,): + raise ValueError(f"Expected one Piper state vector, got {piper.shape}") + if policy_state_dim == UNIFIED_ACTION_DIM: + return piper_state_to_unified(piper) + if policy_state_dim == PIPER_ACTION_DIM: + return piper.astype(np.float32, copy=True) + raise ValueError(f"Unsupported policy state dim {policy_state_dim}; expected 14 or 80") + + +def env_path(name: str) -> Path | None: + value = os.environ.get(name) + return Path(value).expanduser() if value else None + + +def env_int(name: str, default: int) -> int: + value = os.environ.get(name) + return int(value) if value else default + + +def parse_args(argv: list[str] | None = None) -> argparse.Namespace: + openpi_root = env_path("OPENPI_ROOT") + checkpoint_dir = env_path("CHECKPOINT_DIR") + norm_stats_path = env_path("NORM_STATS_PATH") + dataset_dir = env_path("DATASET_DIR") + + parser = argparse.ArgumentParser( + description="Offline Piper JAX/Orbax validation trajectory evaluator for prepared TFDS data." + ) + parser.add_argument("--openpi-root", type=Path, default=openpi_root, required=openpi_root is None) + parser.add_argument("--checkpoint-dir", type=Path, default=checkpoint_dir, required=checkpoint_dir is None) + parser.add_argument("--norm-stats-path", type=Path, default=norm_stats_path, required=norm_stats_path is None) + parser.add_argument("--dataset-dir", type=Path, default=dataset_dir, required=dataset_dir is None) + parser.add_argument("--config-name", default=os.environ.get("CONFIG_NAME", CONFIG_NAME_DEFAULT)) + parser.add_argument("--split", choices=("seen_test", "unseen_test"), default=os.environ.get("SPLIT", "seen_test")) + parser.add_argument( + "--episodes", + type=int, + default=env_int("EPISODES", 1), + help="Number of episodes to evaluate; 0 evaluates the complete split.", + ) + parser.add_argument( + "--anchors-per-episode", + type=int, + default=env_int("ANCHORS_PER_EPISODE", 1), + help="Maximum uniformly spaced anchors per episode.", + ) + parser.add_argument("--stride", type=int, default=env_int("STRIDE", 1)) + parser.add_argument("--actions-per-inference", type=int, default=env_int("ACTIONS_PER_INFERENCE", 1)) + parser.add_argument("--seed", type=int, default=env_int("SEED", 0)) + parser.add_argument("--num-samples", type=int, default=env_int("NUM_SAMPLES", 1)) + parser.add_argument("--device", choices=("cpu", "cuda"), default=os.environ.get("DEVICE", "cuda")) + parser.add_argument("--output-json", type=Path, default=env_path("OUTPUT_JSON")) + parser.add_argument("--output-csv", type=Path, default=env_path("OUTPUT_CSV")) + parser.add_argument("--task-filter", default=os.environ.get("TASK_FILTER")) + parser.add_argument("--validate-only", action="store_true") + parser.add_argument("--metadata-only", action="store_true") + parser.add_argument( + "--native-val-loss-samples", + type=int, + default=env_int("NATIVE_VAL_LOSS_SAMPLES", 1), + help="Number of flow-loss noise samples per evaluated anchor; 0 disables this diagnostic.", + ) + return parser.parse_args(argv) + + +def configure_device(device: str) -> None: + if device == "cpu": + os.environ.setdefault("JAX_PLATFORMS", "cpu") + os.environ.setdefault("CUDA_VISIBLE_DEVICES", "") + else: + os.environ.setdefault("JAX_PLATFORMS", "cuda,cpu") + os.environ.setdefault("TF_CPP_MIN_LOG_LEVEL", "2") + + +def resolve_required_paths(args: argparse.Namespace) -> None: + args.openpi_root = args.openpi_root.expanduser().resolve() + args.checkpoint_dir = args.checkpoint_dir.expanduser().resolve() + args.norm_stats_path = args.norm_stats_path.expanduser().resolve() + args.dataset_dir = args.dataset_dir.expanduser().resolve() + if args.output_json is not None: + args.output_json = args.output_json.expanduser().resolve() + if args.output_csv is not None: + args.output_csv = args.output_csv.expanduser().resolve() + + +def add_openpi_path(openpi_root: Path) -> None: + package_dir = openpi_root / "src/openpi" + if not package_dir.is_dir(): + raise FileNotFoundError(f"Missing OpenPI package directory: {package_dir}") + src_dir = str((openpi_root / "src").resolve()) + if src_dir not in sys.path: + sys.path.insert(0, src_dir) + + +def require_positive_args(args: argparse.Namespace) -> None: + if args.episodes < 0: + raise ValueError("--episodes must be >= 0 (0 means the complete split)") + for name in ("anchors_per_episode", "stride", "actions_per_inference", "num_samples"): + value = getattr(args, name) + if value < 1: + raise ValueError(f"--{name.replace('_', '-')} must be >= 1") + if args.native_val_loss_samples < 0: + raise ValueError("--native-val-loss-samples must be >= 0") + + +def import_status() -> dict[str, bool]: + return { + "jax": importlib.util.find_spec("jax") is not None, + "flax": importlib.util.find_spec("flax") is not None, + "orbax.checkpoint": importlib.util.find_spec("orbax.checkpoint") is not None, + "tensorflow": importlib.util.find_spec("tensorflow") is not None, + "tensorflow_datasets": importlib.util.find_spec("tensorflow_datasets") is not None, + } + + +def require_modules(names: tuple[str, ...]) -> None: + missing = [name for name in names if importlib.util.find_spec(name) is None] + if missing: + raise ModuleNotFoundError("Missing required Python modules: " + ", ".join(missing)) + + +def require_file(path: Path, label: str) -> None: + if not path.is_file(): + raise FileNotFoundError(f"Missing {label}: {path}") + + +def require_dir(path: Path, label: str) -> None: + if not path.is_dir(): + raise FileNotFoundError(f"Missing {label}: {path}") + + +def require_static_files(args: argparse.Namespace) -> dict[str, bool]: + layout = { + "openpi_package": (args.openpi_root / "src/openpi").is_dir(), + "checkpoint_params": (args.checkpoint_dir / "params").is_dir(), + "checkpoint_params_manifest": (args.checkpoint_dir / "params/manifest.ocdbt").is_file(), + "dataset_info": (args.dataset_dir / "dataset_info.json").is_file(), + "features": (args.dataset_dir / "features.json").is_file(), + "norm_stats": args.norm_stats_path.is_file(), + } + missing = [name for name, ok in layout.items() if not ok] + if missing: + raise FileNotFoundError(f"Missing required offline files: {missing}") + return layout + + +def tfds_metadata(dataset_dir: Path) -> dict[str, Any]: + require_modules(("tensorflow", "tensorflow_datasets")) + import tensorflow as tf + import tensorflow_datasets as tfds + + try: + tf.config.set_visible_devices([], "GPU") + except Exception: + pass + + builder = tfds.builder_from_directory(builder_dir=str(dataset_dir)) + splits = {} + for split_name, split_info in builder.info.splits.items(): + splits[split_name] = int(split_info.num_examples) + return { + "dataset_dir": str(dataset_dir), + "name": builder.info.name, + "version": str(builder.info.version), + "splits": splits, + "feature_schema": str(builder.info.features), + } + + +def infer_assets_base_dir(norm_stats_path: Path, config_name: str) -> Path: + # Expected H800 layout: //piper30/norm_stats.json. + if ( + norm_stats_path.name == "norm_stats.json" + and norm_stats_path.parent.name == DATASET_ID + and norm_stats_path.parent.parent.name == config_name + ): + return norm_stats_path.parent.parent.parent.resolve() + return norm_stats_path.parent.parent.parent.resolve() + + +def load_config_and_norm_stats(args: argparse.Namespace): + add_openpi_path(args.openpi_root) + from openpi.cotrain import config as cotrain_config + from openpi.shared import normalize + + train_config = cotrain_config.get_config(args.config_name) + train_config = dataclasses.replace( + train_config, + assets_base_dir=str(infer_assets_base_dir(args.norm_stats_path, args.config_name)), + ) + norm_stats = normalize.deserialize_json(args.norm_stats_path.read_text()) + return train_config, norm_stats + + +def config_summary(train_config) -> dict[str, Any]: + datasets = [] + for ds in train_config.data.datasets: + datasets.append( + { + "uid": ds.uid, + "name": ds.name, + "version": ds.version, + "restructure_name": ds.restructure_name, + "action_dim": ds.action_dim, + "delta_action_mask_dims": ds.delta_action_mask_dims, + "train_split": ds.train_split, + "val_splits": dict(ds.val_splits), + } + ) + return { + "name": train_config.name, + "model_action_dim": train_config.model.action_dim, + "model_action_horizon": train_config.model.action_horizon, + "model_type": str(train_config.model.model_type), + "assets_base_dir": str(train_config.assets_base_dir), + "assets_dirs": str(train_config.assets_dirs), + "datasets": datasets, + } + + +def validate_static(args: argparse.Namespace) -> dict[str, Any]: + require_positive_args(args) + layout = require_static_files(args) + train_config, norm_stats = load_config_and_norm_stats(args) + stats_summary = { + key: { + "mean_shape": list(value.mean.shape), + "std_shape": list(value.std.shape), + "has_quantiles": value.q01 is not None and value.q99 is not None, + } + for key, value in norm_stats.items() + } + return { + "paths": resolved_path_summary(args), + "file_layout": layout, + "dependency_import_status": import_status(), + "tfds_metadata": tfds_metadata(args.dataset_dir), + "config": config_summary(train_config), + "norm_stats": stats_summary, + "source_evidence": SOURCE_EVIDENCE, + } + + +def create_policy(args: argparse.Namespace, train_config, norm_stats): + from openpi.policies import policy_config + + return policy_config.create_trained_policy( + train_config, + args.checkpoint_dir, + default_prompt="", + norm_stats=norm_stats, + ) + + +def decode_text(value: Any) -> str: + item = value + try: + import numpy as np + + arr = np.asarray(value) + item = arr.reshape(-1)[0] if arr.ndim > 0 else arr.item() + except Exception: + pass + if isinstance(item, bytes): + return item.decode("utf-8") + return str(item) + + +def maybe_decode_image(value: Any): + import numpy as np + + arr = np.asarray(value) + if arr.dtype.kind in {"S", "O"}: + import tensorflow as tf + + raw = arr.item() if arr.ndim == 0 else arr.reshape(-1)[0] + if isinstance(raw, str): + raw = raw.encode("utf-8") + return tf.io.decode_image(raw, expand_animations=False, dtype=tf.uint8).numpy() + return arr + + +def get_nested(tree: dict[str, Any], *keys: str) -> Any: + cur: Any = tree + for key in keys: + if not isinstance(cur, dict) or key not in cur: + raise KeyError("Missing dataset key: " + "/".join(keys)) + cur = cur[key] + return cur + + +def step_from_columnar(steps: dict[str, Any], index: int) -> dict[str, Any]: + out = {} + for key, value in steps.items(): + if isinstance(value, dict): + out[key] = step_from_columnar(value, index) + else: + out[key] = value[index] + return out + + +def iter_episode_steps(raw_episode: dict[str, Any]): + steps = raw_episode.get("steps", raw_episode) + if isinstance(steps, dict): + first_value = next(iter(steps.values())) + while isinstance(first_value, dict): + first_value = next(iter(first_value.values())) + for i in range(len(first_value)): + yield step_from_columnar(steps, i) + return + + if hasattr(steps, "as_numpy_iterator"): + import tensorflow_datasets as tfds + + for step in tfds.as_numpy(steps): + yield step + return + + for step in steps: + yield step + + +def read_validation_episodes(args: argparse.Namespace): + require_modules(("tensorflow", "tensorflow_datasets")) + import tensorflow as tf + import tensorflow_datasets as tfds + + try: + tf.config.set_visible_devices([], "GPU") + except Exception: + pass + + builder = tfds.builder_from_directory(builder_dir=str(args.dataset_dir)) + dataset = builder.as_dataset(split=args.split, shuffle_files=False) + yielded = 0 + for raw_episode in tfds.as_numpy(dataset): + steps = list(iter_episode_steps(raw_episode)) + if not steps: + continue + task = decode_text(get_nested(steps[0], "task")) + if args.task_filter and args.task_filter not in task: + continue + yielded += 1 + yield normalize_episode(steps, yielded - 1, task) + if args.episodes > 0 and yielded >= args.episodes: + break + + +def normalize_episode(steps: list[dict[str, Any]], episode_index: int, task: str) -> dict[str, Any]: + import numpy as np + + states, actions, prompts = [], [], [] + images = {"cam_high": [], "cam_left_wrist": [], "cam_right_wrist": []} + for step in steps: + states.append(np.asarray(get_nested(step, "observation", "state"), dtype=np.float32)) + actions.append(np.asarray(get_nested(step, "action"), dtype=np.float32)) + prompts.append(decode_text(step.get("task", task))) + image_dict = get_nested(step, "observation", "images") + for key in images: + images[key].append(maybe_decode_image(image_dict[key])) + return { + "episode_index": episode_index, + "task": task, + "states": np.stack(states).astype(np.float32), + "actions": np.stack(actions).astype(np.float32), + "prompts": prompts, + "images": images, + } + + +def anchor_indices(num_steps: int, stride: int, limit: int) -> list[int]: + import numpy as np + + if num_steps <= 0 or limit <= 0: + return [] + if stride <= 0: + raise ValueError("stride must be positive") + candidates = np.arange(0, num_steps, stride, dtype=np.int64) + if len(candidates) <= limit: + return candidates.astype(int).tolist() + if limit == 1: + return [int(candidates[len(candidates) // 2])] + positions = np.rint(np.linspace(0, len(candidates) - 1, num=limit)).astype(np.int64) + return candidates[positions].astype(int).tolist() + + +def target_action_chunk(actions, anchor_index: int, horizon: int): + import numpy as np + + indices = np.minimum(np.arange(anchor_index, anchor_index + horizon), len(actions) - 1) + return piper14_from_action(actions[indices], "target actions") + + +def standardized_policy_observation( + episode: dict[str, Any], + anchor_index: int, + policy_state_dim: int, +) -> dict[str, Any]: + import numpy as np + + return { + "state": state_for_policy(episode["states"][anchor_index], policy_state_dim), + # Training and built-in validation always carry the per-sample Piper mask. Without + # it, Pi0.sample_actions treats all 80 slots as active and injects random noise into + # the 66 slots that Piper never trains. + "action_mask": action_mask_for_policy(policy_state_dim), + "image": { + "base_0_rgb": episode["images"]["cam_high"][anchor_index], + "left_wrist_0_rgb": episode["images"]["cam_left_wrist"][anchor_index], + "right_wrist_0_rgb": episode["images"]["cam_right_wrist"][anchor_index], + }, + "image_mask": { + "base_0_rgb": np.asarray(True), + "left_wrist_0_rgb": np.asarray(True), + "right_wrist_0_rgb": np.asarray(True), + }, + "prompt": episode["prompts"][anchor_index], + "prompt_prefix": PROMPT_PREFIX, + } + + +def standardized_training_sample( + episode: dict[str, Any], + anchor_index: int, + horizon: int, + policy_state_dim: int, +) -> dict[str, Any]: + sample = standardized_policy_observation(episode, anchor_index, policy_state_dim) + native_actions = target_action_chunk(episode["actions"], anchor_index, horizon) + if policy_state_dim == UNIFIED_ACTION_DIM: + sample["actions"] = piper_actions_to_unified(native_actions) + else: + sample["actions"] = native_actions + sample["dataset_id"] = DATASET_ID + return sample + + +def native_to_absolute_actions(native_actions, current_state, actions_per_inference: int): + import numpy as np + + actions = np.asarray(native_actions, dtype=np.float32) + state = np.asarray(current_state, dtype=np.float32) + if state.shape != (PIPER_ACTION_DIM,): + raise ValueError(f"Expected state shape (14,), got {state.shape}") + if actions.ndim != 2: + raise ValueError(f"Expected native action chunk shape (H, D), got {actions.shape}") + if actions_per_inference > actions.shape[0]: + raise ValueError( + f"--actions-per-inference ({actions_per_inference}) exceeds model horizon ({actions.shape[0]})" + ) + if actions.shape[-1] >= UNIFIED_ACTION_DIM: + unified_state = piper_state_to_unified(state) + absolute_unified = actions[:actions_per_inference, :UNIFIED_ACTION_DIM].astype(np.float32, copy=True) + absolute_unified[:, np.asarray(UNIFIED_JOINT_DELTA_DIMS)] += unified_state[np.asarray(UNIFIED_JOINT_DELTA_DIMS)] + return piper14_from_action(absolute_unified, "absolute_unified") + if actions.shape[-1] >= PIPER_ACTION_DIM: + absolute = actions[:actions_per_inference, :PIPER_ACTION_DIM].astype(np.float32, copy=True) + absolute[:, np.asarray(JOINT_DELTA_DIMS)] += state[np.asarray(JOINT_DELTA_DIMS)] + return absolute + raise ValueError(f"Expected native action chunk last dim >=14 or >=80, got {actions.shape}") + + +def metric_dict(pred_absolute, target_absolute, current_state) -> dict[str, Any]: + import numpy as np + + pred = piper14_from_action(pred_absolute, "pred") + target = piper14_from_action(target_absolute, "target") + state = np.asarray(current_state, dtype=np.float32) + err = pred - target + abs_err = np.abs(err) + pred_joint_move = pred[:, JOINT_DELTA_DIMS] - state[list(JOINT_DELTA_DIMS)] + target_joint_move = target[:, JOINT_DELTA_DIMS] - state[list(JOINT_DELTA_DIMS)] + valid_direction = np.abs(target_joint_move) > 1e-8 + direction_match = ( + float(np.mean(np.sign(pred_joint_move[valid_direction]) == np.sign(target_joint_move[valid_direction]))) + if np.any(valid_direction) + else float("nan") + ) + return { + "inference_mae": float(np.mean(abs_err)), + "inference_mse": float(np.mean(err**2)), + "left_joints_mae": float(np.mean(abs_err[:, LEFT_JOINT_DIMS])), + "left_gripper_mae": float(np.mean(abs_err[:, LEFT_GRIPPER_DIM])), + "right_joints_mae": float(np.mean(abs_err[:, RIGHT_JOINT_DIMS])), + "right_gripper_mae": float(np.mean(abs_err[:, RIGHT_GRIPPER_DIM])), + "per_dimension_mae": np.mean(abs_err, axis=0).astype(float).tolist(), + "max_absolute_error": float(np.max(abs_err)), + "direction_match": direction_match, + "finite": { + "state": bool(np.isfinite(state).all()), + "prediction": bool(np.isfinite(pred).all()), + "target": bool(np.isfinite(target).all()), + "error": bool(np.isfinite(err).all()), + }, + } + + +def summarize_metric_dicts(items: list[dict[str, Any]]) -> dict[str, Any]: + import numpy as np + + if not items: + return {} + scalar_keys = [ + "inference_mae", + "inference_mse", + "left_joints_mae", + "left_gripper_mae", + "right_joints_mae", + "right_gripper_mae", + "max_absolute_error", + "direction_match", + ] + out: dict[str, Any] = {"count": len(items)} + for key in scalar_keys: + out[key] = float(np.nanmean(np.asarray([x[key] for x in items], dtype=np.float64))) + out["per_dimension_mae"] = np.nanmean( + np.asarray([x["per_dimension_mae"] for x in items], dtype=np.float64), axis=0 + ).tolist() + out["finite"] = { + "state": bool(all(x["finite"]["state"] for x in items)), + "prediction": bool(all(x["finite"]["prediction"] for x in items)), + "target": bool(all(x["finite"]["target"] for x in items)), + "error": bool(all(x["finite"]["error"] for x in items)), + } + return out + + +def sample_summary(samples: list[dict[str, Any]]) -> dict[str, Any]: + import numpy as np + + metrics = [s["metrics"] for s in samples] + best_index = int(np.nanargmin([m["inference_mae"] for m in metrics])) + mean_metrics = summarize_metric_dicts(metrics) + median_metrics = { + key: float(np.nanmedian([m[key] for m in metrics])) + for key in ( + "inference_mae", + "inference_mse", + "left_joints_mae", + "left_gripper_mae", + "right_joints_mae", + "right_gripper_mae", + "max_absolute_error", + "direction_match", + ) + } + median_metrics["per_dimension_mae"] = np.nanmedian( + np.asarray([m["per_dimension_mae"] for m in metrics], dtype=np.float64), axis=0 + ).tolist() + median_metrics["finite"] = mean_metrics["finite"] + return { + "anchor": samples[0]["metrics"], + "mean": mean_metrics, + "median": median_metrics, + "best_of_n": { + "sample_index": best_index, + "diagnostic_only": True, + **metrics[best_index], + }, + } + + +def sample_noise(seed: int, anchor_ordinal: int, sample_index: int, action_horizon: int, action_dim: int): + import numpy as np + + rng = np.random.default_rng(seed + anchor_ordinal * 1009 + sample_index * 9176) + return rng.standard_normal((action_horizon, action_dim), dtype=np.float32) + + +def infer_one_sample(policy, obs: dict[str, Any], noise): + return policy.infer(obs, noise=noise) + + +def compute_native_validation_loss( + policy, train_config, episode: dict[str, Any], anchor_index: int, seed: int, num_samples: int +) -> dict[str, Any]: + if num_samples <= 0: + return {"available": False, "reason": "disabled"} + try: + import jax + import jax.numpy as jnp + + from openpi import transforms as openpi_transforms + from openpi.cotrain import eval as cotrain_eval + from openpi.models import model as openpi_model + except Exception as exc: + return {"available": False, "reason": f"import_failed: {type(exc).__name__}: {exc}"} + + try: + data_config = train_config.data.create(train_config.assets_dirs, train_config.model) + sample = standardized_training_sample( + episode, + anchor_index, + train_config.model.action_horizon, + train_config.model.action_dim, + ) + transform = openpi_transforms.compose( + [*data_config.data_transforms.inputs, *data_config.model_transforms.inputs] + ) + transformed = transform(sample) + batch = jax.tree.map(lambda x: jnp.asarray(x)[None, ...], transformed) + observation = openpi_model.Observation.from_dict(batch) + actions = batch["actions"] + rng = jax.random.key(seed) + fixed = float(jax.device_get(cotrain_eval._flow_loss(policy._model, rng, observation, actions))) + values = [] + for i in range(num_samples): + sub_rng = jax.random.fold_in(rng, i) + values.append(float(jax.device_get(cotrain_eval._flow_loss(policy._model, sub_rng, observation, actions)))) + return { + "available": True, + "definition": "openpi.cotrain.eval._flow_loss", + "fixed": fixed, + "multi_sample_mean": float(sum(values) / len(values)), + "num_samples": num_samples, + } + except Exception as exc: + return {"available": False, "reason": f"{type(exc).__name__}: {exc}"} + + +def resolved_path_summary(args: argparse.Namespace) -> dict[str, str | None]: + return { + "openpi_root": str(args.openpi_root), + "checkpoint_dir": str(args.checkpoint_dir), + "norm_stats_path": str(args.norm_stats_path), + "dataset_dir": str(args.dataset_dir), + "output_json": str(args.output_json) if args.output_json else None, + "output_csv": str(args.output_csv) if args.output_csv else None, + } + + +def evaluate(args: argparse.Namespace, train_config, norm_stats) -> dict[str, Any]: + import numpy as np + + metadata = tfds_metadata(args.dataset_dir) + if args.split not in metadata["splits"]: + raise ValueError(f"Requested split {args.split!r} not present in dataset: {sorted(metadata['splits'])}") + + policy = create_policy(args, train_config, norm_stats) + if args.actions_per_inference > train_config.model.action_horizon: + raise ValueError( + f"--actions-per-inference ({args.actions_per_inference}) exceeds model horizon " + f"({train_config.model.action_horizon})" + ) + + records: list[dict[str, Any]] = [] + anchor_metrics: list[dict[str, Any]] = [] + episode_metrics: dict[str, list[dict[str, Any]]] = {} + task_metrics: dict[str, list[dict[str, Any]]] = {} + anchor_ordinal = 0 + + for episode in read_validation_episodes(args): + episode_key = str(episode["episode_index"]) + for anchor_index in anchor_indices(len(episode["states"]), args.stride, args.anchors_per_episode): + state = piper14_from_action(episode["states"][anchor_index], "state") + obs = standardized_policy_observation(episode, anchor_index, train_config.model.action_dim) + target = target_action_chunk(episode["actions"], anchor_index, args.actions_per_inference) + samples = [] + for sample_index in range(args.num_samples): + noise = sample_noise( + args.seed, + anchor_ordinal, + sample_index, + train_config.model.action_horizon, + train_config.model.action_dim, + ) + result = infer_one_sample(policy, obs, noise) + native = piper14_from_action( + np.asarray(result["actions"], dtype=np.float32)[: args.actions_per_inference], + "native prediction", + ) + pred_absolute = native_to_absolute_actions(result["actions"], state, args.actions_per_inference) + samples.append( + { + "sample_index": sample_index, + "native_prediction": native, + "absolute_prediction": pred_absolute, + "absolute_error": np.abs(pred_absolute - target), + "metrics": metric_dict(pred_absolute, target, state), + } + ) + summary = sample_summary(samples) + native_loss = compute_native_validation_loss( + policy, train_config, episode, anchor_index, args.seed + anchor_ordinal, args.native_val_loss_samples + ) + record = { + "task": episode["task"], + "episode": episode["episode_index"], + "anchor": anchor_index, + "frame": anchor_index, + "state": state, + "target_absolute_action": target, + "samples": samples, + "sample_summary": summary, + } + if native_loss.get("available"): + record["native_validation_loss"] = native_loss + else: + record["native_validation_loss_unavailable"] = native_loss + record["training_loss_note"] = ( + "Inference MAE/MSE are open-loop inference metrics and are not the training validation loss." + ) + records.append(record) + anchor_metrics.append(summary["anchor"]) + episode_metrics.setdefault(episode_key, []).append(summary["anchor"]) + task_metrics.setdefault(episode["task"], []).append(summary["anchor"]) + anchor_ordinal += 1 + + if not records: + raise RuntimeError("No validation anchors evaluated. Check split, episode count, and task filter.") + + return { + "run": { + "paths": resolved_path_summary(args), + "config_name": args.config_name, + "split": args.split, + "episodes": args.episodes, + "anchors_per_episode": args.anchors_per_episode, + "stride": args.stride, + "actions_per_inference": args.actions_per_inference, + "seed": args.seed, + "num_samples": args.num_samples, + "inference_contract": { + "dataset_id": DATASET_ID, + "prompt_prefix": PROMPT_PREFIX, + "policy_action_dim": train_config.model.action_dim, + "active_action_slots": list(UNIFIED_PIPER_DIMS), + "normalization": "piper30 stats exactly once", + "output": "gather unified Piper slots, then add current state to arm-joint deltas only", + }, + "best_of_n_note": "best_of_n is diagnostic only and does not represent single deployment performance.", + }, + "source_evidence": SOURCE_EVIDENCE, + "tfds_metadata": metadata, + "config": config_summary(train_config), + "records": records, + "summaries": { + "split": summarize_metric_dicts(anchor_metrics), + "episodes": {key: summarize_metric_dicts(value) for key, value in episode_metrics.items()}, + "tasks": {key: summarize_metric_dicts(value) for key, value in task_metrics.items()}, + }, + } + + +def to_jsonable(value: Any) -> Any: + import numpy as np + + if isinstance(value, np.ndarray): + return value.tolist() + if isinstance(value, np.generic): + return value.item() + if isinstance(value, dict): + return {str(k): to_jsonable(v) for k, v in value.items()} + if isinstance(value, (list, tuple)): + return [to_jsonable(v) for v in value] + if isinstance(value, float) and (math.isnan(value) or math.isinf(value)): + return None + return value + + +def write_json(path: Path, data: dict[str, Any]) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(to_jsonable(data), indent=2, ensure_ascii=False), encoding="utf-8") + + +def write_csv(path: Path, records: list[dict[str, Any]]) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + fieldnames = [ + "task", + "episode", + "anchor", + "frame", + "sample_index", + "inference_mae", + "inference_mse", + "left_joints_mae", + "left_gripper_mae", + "right_joints_mae", + "right_gripper_mae", + "max_absolute_error", + "direction_match", + ] + with path.open("w", newline="", encoding="utf-8") as f: + writer = csv.DictWriter(f, fieldnames=fieldnames) + writer.writeheader() + for record in records: + for sample in record["samples"]: + metrics = sample["metrics"] + writer.writerow( + { + "task": record["task"], + "episode": record["episode"], + "anchor": record["anchor"], + "frame": record["frame"], + "sample_index": sample["sample_index"], + **{key: metrics[key] for key in fieldnames[5:]}, + } + ) + + +def print_json(data: dict[str, Any]) -> None: + print(json.dumps(to_jsonable(data), indent=2, ensure_ascii=False)) + + +def main(argv: list[str] | None = None) -> int: + args = parse_args(argv) + configure_device(args.device) + try: + resolve_required_paths(args) + require_positive_args(args) + if args.metadata_only: + require_file(args.dataset_dir / "dataset_info.json", "dataset_info.json") + require_file(args.dataset_dir / "features.json", "features.json") + print_json( + { + "metadata_only": True, + "paths": resolved_path_summary(args), + "dependency_import_status": import_status(), + "tfds_metadata": tfds_metadata(args.dataset_dir), + } + ) + return 0 + + static = validate_static(args) + if args.validate_only: + print_json({"validate_only": True, **static}) + return 0 + + train_config, norm_stats = load_config_and_norm_stats(args) + result = evaluate(args, train_config, norm_stats) + if args.output_json: + write_json(args.output_json, result) + if args.output_csv: + write_csv(args.output_csv, result["records"]) + print_json(result) + return 0 + except Exception as exc: + print(f"ERROR: {type(exc).__name__}: {exc}", file=sys.stderr) + return 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/pi07_validation_eva_b200_9999/scripts/run_validation.sh b/pi07_validation_eva_b200_9999/scripts/run_validation.sh new file mode 100644 index 0000000..8314875 --- /dev/null +++ b/pi07_validation_eva_b200_9999/scripts/run_validation.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) +DEFAULTS="${ROOT_DIR}/config/eval_defaults.env" +if [[ -f "${DEFAULTS}" ]]; then + set -a + source "${DEFAULTS}" + set +a +fi + +mkdir -p "${RESULT_ROOT}" + +if [[ "${1:-}" == "--validate-only" ]]; then + exec "${PYTHON_BIN}" "${ROOT_DIR}/scripts/evaluate_validation.py" --validate-only +fi + +if [[ "${1:-}" == "--metadata-only" ]]; then + exec "${PYTHON_BIN}" "${ROOT_DIR}/scripts/evaluate_validation.py" --metadata-only +fi + +OUTPUT_JSON="${OUTPUT_JSON:-${RESULT_ROOT}/b200_9999_${SPLIT}_e${EPISODES}_a${ANCHORS_PER_EPISODE}.json}" +OUTPUT_CSV="${OUTPUT_CSV:-${RESULT_ROOT}/b200_9999_${SPLIT}_e${EPISODES}_a${ANCHORS_PER_EPISODE}.csv}" +export OUTPUT_JSON OUTPUT_CSV + +exec "${PYTHON_BIN}" "${ROOT_DIR}/scripts/evaluate_validation.py" "$@" diff --git a/pi07_validation_eva_b200_9999/tests/test_static_mapping.py b/pi07_validation_eva_b200_9999/tests/test_static_mapping.py new file mode 100644 index 0000000..51123b5 --- /dev/null +++ b/pi07_validation_eva_b200_9999/tests/test_static_mapping.py @@ -0,0 +1,127 @@ +from pathlib import Path +import sys + +import numpy as np + +ROOT = Path(__file__).resolve().parents[1] +sys.path.insert(0, str(ROOT / "scripts")) + +import evaluate_validation as ev + + +def test_piper_14d_to_unified_80d_slots(): + assert ev.UNIFIED_ACTION_DIM == 80 + assert ev.UNIFIED_PIPER_DIMS == ( + 0, + 1, + 2, + 3, + 4, + 5, + 16, + 29, + 30, + 31, + 32, + 33, + 34, + 45, + ) + + +def test_piper_joint_delta_dims_are_arm_joints_only(): + assert ev.JOINT_DELTA_DIMS == (0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12) + assert ev.GRIPPER_DIMS == (6, 13) + + +def test_eval_mapping_matches_training_registry(): + from openpi.cotrain import action_space + + spec = action_space.UNIFIED_ACTION_SPECS["piper30"] + assert tuple(target for _, target in spec.action_mapping) == ev.UNIFIED_PIPER_DIMS + assert tuple(np.flatnonzero(spec.action_mask)) == ev.UNIFIED_PIPER_DIMS + + +def _episode_fixture(): + states = np.arange(28, dtype=np.float32).reshape(2, 14) + return { + "states": states, + "actions": states + 10, + "prompts": ["pick the cube", "pick the cube"], + "images": { + "cam_high": [np.zeros((2, 2, 3), dtype=np.uint8)] * 2, + "cam_left_wrist": [np.zeros((2, 2, 3), dtype=np.uint8)] * 2, + "cam_right_wrist": [np.zeros((2, 2, 3), dtype=np.uint8)] * 2, + }, + } + + +def test_policy_observation_matches_piper_training_contract(): + obs = ev.standardized_policy_observation(_episode_fixture(), 0, ev.UNIFIED_ACTION_DIM) + + assert obs["state"].shape == (80,) + np.testing.assert_array_equal(obs["state"][list(ev.UNIFIED_PIPER_DIMS)], np.arange(14, dtype=np.float32)) + assert obs["action_mask"].dtype == np.bool_ + assert tuple(np.flatnonzero(obs["action_mask"])) == ev.UNIFIED_PIPER_DIMS + assert obs["prompt"] == "pick the cube" + assert obs["prompt_prefix"] == "Action Mode: joint. " + # The policy receives explicit piper30 norm stats. Keeping dataset_id out of inference + # avoids DispatchNormalize followed by the generic policy Normalize a second time. + assert "dataset_id" not in obs + + +def test_policy_state_is_normalized_exactly_once_like_training(): + from openpi import transforms + from openpi.cotrain import action_space + from openpi.cotrain import transforms as cotrain_transforms + from openpi.models import model + from openpi.shared import normalize + + repo_root = ROOT.parent + norm_stats = normalize.deserialize_json( + (repo_root / "assets/cotrain_real_only/piper30/norm_stats.json").read_text() + ) + spec = action_space.UNIFIED_ACTION_SPECS["piper30"] + training_inputs = [ + cotrain_transforms.StandardizedInputs(model_type=model.ModelType.PI05), + cotrain_transforms.DispatchDeltaActions(masks_by_dataset={"piper30": spec.delta_mask}), + cotrain_transforms.DispatchNormalize( + norm_stats_by_dataset={"piper30": norm_stats}, + use_quantiles=True, + ), + ] + + episode = _episode_fixture() + training_sample = ev.standardized_training_sample(episode, 0, horizon=1, policy_state_dim=80) + training_pre_model = transforms.compose(training_inputs)(training_sample) + + policy_obs = ev.standardized_policy_observation(episode, 0, policy_state_dim=80) + policy_pre_model = transforms.compose( + [ + *training_inputs, + transforms.Normalize(norm_stats, use_quantiles=True), + ] + )(policy_obs) + + np.testing.assert_allclose(policy_pre_model["state"], training_pre_model["state"]) + np.testing.assert_array_equal(policy_pre_model["action_mask"], training_pre_model["action_mask"]) + assert policy_pre_model["prompt"] == training_pre_model["prompt"] + assert policy_pre_model["prompt_prefix"] == training_pre_model["prompt_prefix"] + + +def test_unified_prediction_restores_native_absolute_piper_action(): + state = np.arange(14, dtype=np.float32) + native = np.arange(14, dtype=np.float32) / 10 + unified = ev.piper_actions_to_unified(native[None, :]) + + restored = ev.native_to_absolute_actions(unified, state, actions_per_inference=1)[0] + expected = native.copy() + expected[list(ev.JOINT_DELTA_DIMS)] += state[list(ev.JOINT_DELTA_DIMS)] + np.testing.assert_allclose(restored, expected) + np.testing.assert_allclose(restored[list(ev.GRIPPER_DIMS)], native[list(ev.GRIPPER_DIMS)]) + + +def test_anchor_indices_uniformly_cover_episode_instead_of_only_prefix(): + assert ev.anchor_indices(num_steps=101, stride=1, limit=5) == [0, 25, 50, 75, 100] + assert ev.anchor_indices(num_steps=101, stride=2, limit=3) == [0, 50, 100] + assert ev.anchor_indices(num_steps=100, stride=1, limit=1) == [50] diff --git a/scripts/atom0_env.sh b/scripts/atom0_env.sh new file mode 100755 index 0000000..bf66476 --- /dev/null +++ b/scripts/atom0_env.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash + +# Source this file before running Atom-0 commands on the new host: +# source scripts/atom0_env.sh + +if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then + echo "This script must be sourced: source scripts/atom0_env.sh" >&2 + exit 1 +fi + +ATOM0_REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +ATOM0_STATE_ROOT="${ATOM0_STATE_ROOT:-$(dirname "${ATOM0_REPO_DIR}")}" + +export UV_CACHE_DIR="${UV_CACHE_DIR:-${ATOM0_STATE_ROOT}/.cache/uv}" +export UV_PYTHON_INSTALL_DIR="${UV_PYTHON_INSTALL_DIR:-${ATOM0_STATE_ROOT}/.local/share/uv/python}" +export UV_LINK_MODE="${UV_LINK_MODE:-copy}" +export XDG_CACHE_HOME="${XDG_CACHE_HOME:-${ATOM0_STATE_ROOT}/.cache}" +export JAX_COMPILATION_CACHE_DIR="${JAX_COMPILATION_CACHE_DIR:-${XDG_CACHE_HOME}/jax}" +export PYTHONPATH="${ATOM0_REPO_DIR}/src:${ATOM0_REPO_DIR}/packages/openpi-client/src:${PYTHONPATH:-}" + +export HF_HOME="${HF_HOME:-${ATOM0_STATE_ROOT}/cache/huggingface}" +export OPENPI_DATA_HOME="${OPENPI_DATA_HOME:-${ATOM0_STATE_ROOT}/cache/openpi}" +export OPENPI_MODEL_HOME="${OPENPI_MODEL_HOME:-/data/models/openpi}" +export RLDS_DATA_DIR="${RLDS_DATA_DIR:-/mnt/bos/bo23lu}" +if [[ -f "${OPENPI_MODEL_HOME}/_CHECKPOINT_METADATA" ]]; then + _DEFAULT_PARAMS_PATH="${OPENPI_MODEL_HOME}" +else + _DEFAULT_PARAMS_PATH="${OPENPI_MODEL_HOME}/openpi-assets/checkpoints/pi05_base/params" +fi +export PARAMS_PATH="${PARAMS_PATH:-${_DEFAULT_PARAMS_PATH}}" +export LOG_DIR="${LOG_DIR:-${ATOM0_REPO_DIR}/logs}" + +export XLA_PYTHON_CLIENT_MEM_FRACTION="${XLA_PYTHON_CLIENT_MEM_FRACTION:-0.9}" +export TF_CPP_MIN_LOG_LEVEL="${TF_CPP_MIN_LOG_LEVEL:-1}" + +mkdir -p "${HF_HOME}" "${OPENPI_DATA_HOME}" "${OPENPI_MODEL_HOME}" "${JAX_COMPILATION_CACHE_DIR}" "${LOG_DIR}" + +if [[ -n "${MASTER_ADDR:-}" && -z "${JAX_COORDINATOR_ADDRESS:-}" ]]; then + export JAX_COORDINATOR_ADDRESS="${MASTER_ADDR}:${MASTER_PORT:-29500}" +fi + +echo "Atom-0 environment loaded from ${ATOM0_REPO_DIR}" +echo "RLDS_DATA_DIR=${RLDS_DATA_DIR}" +echo "PARAMS_PATH=${PARAMS_PATH}" diff --git a/scripts/audit_rlds_action_metadata.py b/scripts/audit_rlds_action_metadata.py new file mode 100644 index 0000000..03dbafd --- /dev/null +++ b/scripts/audit_rlds_action_metadata.py @@ -0,0 +1,167 @@ +#!/usr/bin/env python3 +"""Extract action-space metadata from the RLDS datasets used by cotrain_full_all. + +The TFDS builders store one episode per TFRecord Example. Episodes can be hundreds of +megabytes because they include image sequences, so this script scans the serialized +protobuf with mmap and decodes only selected scalar metadata features. +""" + +from __future__ import annotations + +import argparse +import json +import mmap +from pathlib import Path +from typing import Any + +DATASET_ROOTS = ( + "AgiBot", + "DROID", + "EgoVerse_full", + "realworld_piper", + "realworld_piper_2", + "RoboCOIN", + "RoboMIND_full", +) + +METADATA_FIELDS = ( + "action_is_delta", + "action_representation", + "cartesian_frame", + "control_mode", + "eef_pose_coordinate_frame", + "raw_episode_metadata_json", + "robot_schema_key", + "robot_type", + "state_action_schema_json", +) + + +def _read_varint(data: mmap.mmap, offset: int) -> tuple[int, int]: + value = 0 + shift = 0 + while True: + byte = data[offset] + offset += 1 + value |= (byte & 0x7F) << shift + if byte < 0x80: + return value, offset + shift += 7 + if shift >= 70: + raise ValueError("invalid protobuf varint") + + +def _iter_fields(data: mmap.mmap, start: int, end: int): + offset = start + while offset < end: + tag, offset = _read_varint(data, offset) + field_number = tag >> 3 + wire_type = tag & 0x07 + if wire_type == 0: + _, value_end = _read_varint(data, offset) + yield field_number, wire_type, offset, value_end + offset = value_end + elif wire_type == 1: + yield field_number, wire_type, offset, offset + 8 + offset += 8 + elif wire_type == 2: + size, value_start = _read_varint(data, offset) + value_end = value_start + size + yield field_number, wire_type, value_start, value_end + offset = value_end + elif wire_type == 5: + yield field_number, wire_type, offset, offset + 4 + offset += 4 + else: + raise ValueError(f"unsupported protobuf wire type {wire_type}") + + +def _scalar_bytes_features(data: mmap.mmap, requested_keys: set[str]) -> dict[str, bytes]: + """Read scalar bytes_list features from the first TFRecord Example.""" + record_size = int.from_bytes(data[0:8], "little") + example_start = 12 # uint64 length + masked CRC32C + example_end = example_start + record_size + example_fields = list(_iter_fields(data, example_start, example_end)) + features_field = next(field for field in example_fields if field[0] == 1 and field[1] == 2) + + values: dict[str, bytes] = {} + for field_number, wire_type, entry_start, entry_end in _iter_fields(data, features_field[2], features_field[3]): + if field_number != 1 or wire_type != 2: + continue + entry_fields = list(_iter_fields(data, entry_start, entry_end)) + key_field = next((field for field in entry_fields if field[0] == 1 and field[1] == 2), None) + value_field = next((field for field in entry_fields if field[0] == 2 and field[1] == 2), None) + if key_field is None or value_field is None: + continue + key = bytes(data[key_field[2] : key_field[3]]).decode("utf-8") + if key not in requested_keys: + continue + + # Feature.field_1(bytes_list) -> BytesList.field_1(value). + feature_fields = list(_iter_fields(data, value_field[2], value_field[3])) + bytes_list = next((field for field in feature_fields if field[0] == 1 and field[1] == 2), None) + if bytes_list is None: + continue + bytes_fields = list(_iter_fields(data, bytes_list[2], bytes_list[3])) + scalar = next((field for field in bytes_fields if field[0] == 1 and field[1] == 2), None) + if scalar is not None: + values[key] = bytes(data[scalar[2] : scalar[3]]) + return values + + +def _first_train_shard(builder_dir: Path) -> Path: + shards = sorted(builder_dir.glob("*-train.tfrecord-*")) + if not shards: + raise FileNotFoundError(f"no train TFRecord shard under {builder_dir}") + return shards[0] + + +def _read_builder_metadata(root: Path, builder_dir: Path) -> dict[str, Any]: + shard = _first_train_shard(builder_dir) + with shard.open("rb") as file: + data = mmap.mmap(file.fileno(), 0, access=mmap.ACCESS_READ) + try: + requested_keys = {f"episode_metadata/{field}" for field in METADATA_FIELDS} + scalar_features = _scalar_bytes_features(data, requested_keys) + metadata: dict[str, Any] = {} + for field in METADATA_FIELDS: + raw = scalar_features.get(f"episode_metadata/{field}") + if raw is None: + continue + value = raw.decode("utf-8") + if field.endswith("_json"): + try: + value = json.loads(value) + except json.JSONDecodeError: + pass + metadata[field] = value + finally: + data.close() + + return { + "builder_dir": str(builder_dir.relative_to(root)), + "first_train_shard": shard.name, + "metadata": metadata, + } + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--rlds-root", type=Path, default=Path("/mnt/workspace/RLDS")) + parser.add_argument("--output", type=Path) + args = parser.parse_args() + + builders = [] + for dataset_root in DATASET_ROOTS: + builders.extend(sorted((args.rlds_root / dataset_root).rglob("features.json"))) + + records = [_read_builder_metadata(args.rlds_root, path.parent) for path in builders] + output = json.dumps(records, ensure_ascii=False, indent=2) + "\n" + if args.output is None: + print(output, end="") + else: + args.output.write_text(output, encoding="utf-8") + + +if __name__ == "__main__": + main() diff --git a/scripts/audit_unified_action_space.py b/scripts/audit_unified_action_space.py new file mode 100644 index 0000000..c1b63b8 --- /dev/null +++ b/scripts/audit_unified_action_space.py @@ -0,0 +1,275 @@ +"""Audit unified action mappings against the real RLDS builders. + +Run from the repository root with the training environment: + PYTHONPATH=src python scripts/audit_unified_action_space.py +""" + +import argparse +import dataclasses +import gc +import json +from pathlib import Path +import tempfile + +import numpy as np + +from openpi.cotrain import action_space + + +def _configured_datasets(): + from openpi.cotrain import config # noqa: PLC0415 + + groups = ( + config._AGIBOT_DATA.datasets, + config._DROID_DATA.datasets, + config._EGOVERSE_FULL_DATA.datasets, + config._PIPER30_DATA.datasets, + config._PIPER2_DATA.datasets, + config._ROBOCOIN_DATA.datasets, + config._ROBOMIND_FULL_DATA.datasets, + ) + datasets = tuple(dataset for group in groups for dataset in group) + by_id = {dataset.uid: dataset for dataset in datasets} + audited_specs = set(action_space.UNIFIED_ACTION_SPECS) - action_space.OPTIONAL_ALIGNED_DATASET_IDS + if set(by_id) != audited_specs: + missing = sorted(audited_specs - set(by_id)) + extra = sorted(set(by_id) - audited_specs) + raise ValueError(f"Config/spec registry mismatch: missing={missing}, extra={extra}") + active_ids = {dataset.uid for dataset in config._FULL_ALL_FIX_DATA.datasets} + expected_active = ( + set(by_id) - config._FULL_ALL_EXCLUDED_DATASET_IDS - config._REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS + ) + if active_ids != expected_active or len(active_ids) != 39: + raise ValueError( + f"full-all active dataset mismatch: expected={sorted(expected_active)}, got={sorted(active_ids)}" + ) + return tuple( + dataclasses.replace(dataset, unified_action_spec=action_space.UNIFIED_ACTION_SPECS[dataset.uid]) + for dataset in datasets + ) + + +def _first_raw_step(dataset): + import tensorflow_datasets as tfds # noqa: PLC0415 + + builder = tfds.builder_from_directory(dataset.builder_dir) + episode = next(iter(builder.as_dataset(split=f"{dataset.train_split}[:1]", shuffle_files=False))) + return next(iter(episode["steps"])) + + +def _source_arrays(step) -> tuple[np.ndarray, np.ndarray]: + action = np.asarray(step["action"]) + state = np.asarray(step["observation"]["state"]) + if action.ndim != 1 or state.ndim != 1: + raise ValueError(f"Expected rank-1 step state/action, got state={state.shape}, action={action.shape}") + if not np.all(np.isfinite(action)) or not np.all(np.isfinite(state)): + raise ValueError("First step contains non-finite state/action values") + return state, action + + +def audit_raw_builders(datasets) -> list[dict]: + results = [] + for index, dataset in enumerate(datasets, start=1): + spec = dataset.unified_action_spec + step = _first_raw_step(dataset) + state, actions = _source_arrays(step) + spec.validate_source_dims(state.shape[-1], actions.shape[-1]) + + mapped_state = action_space.map_array(state, spec.state_mapping) + mapped_actions = action_space.map_array(actions, spec.action_mapping) + action_mask = np.asarray(spec.action_mask) + if np.any(mapped_actions[~action_mask] != 0): + raise ValueError(f"{dataset.uid}: nonzero action outside mask") + + chunk = np.broadcast_to(mapped_actions, (2, action_space.UNIFIED_ACTION_DIM)).copy() + converted = action_space.apply_delta(mapped_state, chunk, spec.delta_mask) + delta_mask = np.asarray(spec.delta_mask) + np.testing.assert_array_equal(converted[:, ~delta_mask], chunk[:, ~delta_mask]) + + result = { + "dataset_id": dataset.uid, + "state_dim": int(state.shape[-1]), + "action_dim": int(actions.shape[-1]), + "active_slots": int(action_mask.sum()), + "delta_slots": int(delta_mask.sum()), + "builder_dir": dataset.builder_dir, + } + results.append(result) + print( + f"[{index:02d}/{len(datasets)}] {dataset.uid}: " + f"state={state.shape[-1]} action={actions.shape[-1]} " + f"active={action_mask.sum()} delta={delta_mask.sum()}" + ) + del step + gc.collect() + return results + + +def audit_mixed_pipeline(datasets) -> dict: + from openpi.cotrain.rlds_dataset import CotrainRldsDataset # noqa: PLC0415 + + selected_ids = { + "egoverse_eva", + "piper30", + "robocoin_aloha_s26_a26", + "robocoin_yinhe_s49_a16", + } + selected = tuple( + dataclasses.replace(dataset, weight=1 / len(selected_ids)) + for dataset in datasets + if dataset.uid in selected_ids + ) + mixed = CotrainRldsDataset( + data_dir="/mnt/data/RLDS", + batch_size=4, + datasets=selected, + split_label="train", + shuffle=False, + repeat=True, + action_chunk_size=4, + pad_action_dim=action_space.UNIFIED_ACTION_DIM, + image_resize_hw=(32, 32), + shuffle_buffer_size=1, + num_parallel_reads=1, + num_parallel_calls=1, + ) + + seen = set() + mixed_batch_seen = False + for batch_index, batch in enumerate(mixed, start=1): + if batch["state"].shape != (4, action_space.UNIFIED_ACTION_DIM): + raise ValueError(f"Unexpected state shape: {batch['state'].shape}") + if batch["actions"].shape != (4, 4, action_space.UNIFIED_ACTION_DIM): + raise ValueError(f"Unexpected actions shape: {batch['actions'].shape}") + if batch["action_mask"].shape != (4, action_space.UNIFIED_ACTION_DIM): + raise ValueError(f"Unexpected action_mask shape: {batch['action_mask'].shape}") + + ids = [value.decode() if isinstance(value, bytes) else str(value) for value in batch["dataset_id"]] + mixed_batch_seen |= len(set(ids)) > 1 + for row, dataset_id in enumerate(ids): + spec = action_space.UNIFIED_ACTION_SPECS[dataset_id] + np.testing.assert_array_equal(batch["action_mask"][row], spec.action_mask) + assert np.all(batch["actions"][row, :, ~np.asarray(spec.action_mask)] == 0) + prompt_prefix = batch["prompt_prefix"][row] + if isinstance(prompt_prefix, bytes): + prompt_prefix = prompt_prefix.decode() + expected_mode = "eef" if dataset_id.startswith("egoverse_") else "joint" + if not prompt_prefix.startswith(f"Action Mode: {expected_mode}."): + raise ValueError(f"{dataset_id}: unexpected prompt prefix {prompt_prefix!r}") + if expected_mode == "eef" and "EEF Frame:" not in prompt_prefix: + raise ValueError(f"{dataset_id}: EEF prompt is missing its coordinate frame") + seen.add(dataset_id) + if seen == selected_ids and mixed_batch_seen: + break + if batch_index >= 40: + raise RuntimeError(f"Did not observe all selected datasets in mixed batches: seen={sorted(seen)}") + + return {"datasets": sorted(seen), "mixed_batch_seen": mixed_batch_seen, "batches": batch_index} + + +def audit_model_smoke(datasets) -> dict: + import jax # noqa: PLC0415 + import jax.numpy as jnp # noqa: PLC0415 + + from openpi.cotrain import config # noqa: PLC0415 + from openpi.cotrain import data_loader # noqa: PLC0415 + from openpi.models import pi0_config # noqa: PLC0415 + from openpi.shared import normalize # noqa: PLC0415 + + selected_ids = {"egoverse_eva", "piper30", "robocoin_aloha_s26_a26", "robocoin_yinhe_s49_a16"} + selected = tuple( + dataclasses.replace(dataset, weight=1 / len(selected_ids), unified_action_spec=None) + for dataset in datasets + if dataset.uid in selected_ids + ) + model_config = pi0_config.Pi0Config( + paligemma_variant="dummy", + action_expert_variant="dummy", + pi05=True, + action_dim=action_space.UNIFIED_ACTION_DIM, + action_horizon=4, + max_token_len=384, + ) + + with tempfile.TemporaryDirectory(prefix="unified-action-smoke-") as temp_dir: + assets_root = Path(temp_dir) / "unified_action_smoke" + neutral = normalize.NormStats( + mean=np.zeros(80), + std=np.ones(80), + q01=-np.ones(80), + q99=np.ones(80), + ) + for dataset in selected: + directory = assets_root / dataset.uid + normalize.save(directory, {"state": neutral, "actions": neutral}) + action_space.write_metadata(directory, action_space.UNIFIED_ACTION_SPECS[dataset.uid]) + + data_factory = config.CotrainDataConfig(rlds_data_dir="/mnt/data/RLDS", datasets=selected) + train_config = config.CotrainTrainConfig( + name="unified_action_smoke", + model=model_config, + data=data_factory, + assets_base_dir=temp_dir, + batch_size=4, + exp_name="smoke", + data_num_parallel_reads=1, + data_num_parallel_calls=1, + ) + loader = data_loader.create_cotrain_data_loader( + train_config, + split_label="train", + shuffle=False, + num_batches=1, + shuffle_buffer_size=1, + ) + observation, actions = next(iter(loader)) + if observation.action_mask.shape != (4, 80) or actions.shape != (4, 4, 80): + raise ValueError( + f"Unexpected transformed shapes: mask={observation.action_mask.shape}, actions={actions.shape}" + ) + if observation.tokenized_prompt is None: + raise ValueError("Transformed batch is missing tokenized prompts") + + model = model_config.create(jax.random.key(0)) + loss = model.compute_loss(jax.random.key(1), observation, actions) + pred = model.sample_actions(jax.random.key(2), observation, num_steps=2) + if loss.shape != (4, 4) or not bool(jnp.all(jnp.isfinite(loss))): + raise ValueError(f"Invalid flow loss: shape={loss.shape}") + broadcast_mask = jnp.broadcast_to(observation.action_mask[:, None, :], pred.shape) + if not bool(jnp.all(jnp.where(broadcast_mask, True, pred == 0))): + raise ValueError("Model sampling produced nonzero values outside the action mask") + + return { + "action_shape": list(actions.shape), + "mask_shape": list(observation.action_mask.shape), + "loss_shape": list(loss.shape), + "sample_shape": list(pred.shape), + } + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--skip-raw", action="store_true") + parser.add_argument("--skip-pipeline", action="store_true") + parser.add_argument("--model-smoke", action="store_true") + parser.add_argument("--json-output", type=Path) + args = parser.parse_args() + + datasets = _configured_datasets() + raw = [] if args.skip_raw else audit_raw_builders(datasets) + pipeline = None if args.skip_pipeline else audit_mixed_pipeline(datasets) + model_smoke = audit_model_smoke(datasets) if args.model_smoke else None + report = { + "configured_builder_count": len(datasets), + "audited_builder_count": len(raw), + "raw": raw, + "pipeline": pipeline, + "model_smoke": model_smoke, + } + if args.json_output is not None: + args.json_output.write_text(json.dumps(report, indent=2) + "\n") + print(f"PASS: raw={len(raw)}/{len(datasets)} builders; pipeline={pipeline}; model={model_smoke}") + + +if __name__ == "__main__": + main() diff --git a/scripts/check_egoscale_setup.py b/scripts/check_egoscale_setup.py new file mode 100755 index 0000000..10795eb --- /dev/null +++ b/scripts/check_egoscale_setup.py @@ -0,0 +1,157 @@ +#!/usr/bin/env python3 +"""Preflight a staged EgoScale-inspired run before allocating GPUs.""" + +from __future__ import annotations + +import argparse +import dataclasses +import json +import os +from pathlib import Path +import sys + + +def _params_look_valid(path: Path) -> bool: + if path.is_file(): + if path.suffix != ".npz": + return False + import numpy as np + + with np.load(path, allow_pickle=False) as checkpoint: + keys = checkpoint.files + return any(key.startswith("params/img/") for key in keys) and any( + key.startswith("params/llm/") for key in keys + ) + if not path.is_dir(): + return False + markers = ("_CHECKPOINT_METADATA", "manifest.ocdbt", "_METADATA") + return any((path / marker).exists() for marker in markers) or any(path.iterdir()) + + +def main() -> int: + parser = argparse.ArgumentParser() + parser.add_argument("--config-name", required=True) + parser.add_argument("--assets-base-dir", default="./assets") + parser.add_argument("--params-path") + parser.add_argument("--allow-missing-norm-stats", action="store_true") + args = parser.parse_args() + + # Import after ATOM_RLDS_ROOT is set; config paths are resolved at import time. + from openpi.cotrain import action_space + from openpi.cotrain import config as cotrain_config + + config = cotrain_config.get_config(args.config_name) + datasets = cotrain_config._resolve_unified_datasets(config.data.datasets, config.model) + config = dataclasses.replace(config, assets_base_dir=args.assets_base_dir) + assets_root = Path(config.assets_dirs) + failures: list[str] = [] + + print(f"config={config.name}") + print(f"ATOM_RLDS_ROOT={os.environ.get('ATOM_RLDS_ROOT', '/mnt/data/RLDS')}") + print(f"datasets={len(datasets)} assets={assets_root}") + for dataset in datasets: + builder = Path(dataset.builder_dir) if dataset.builder_dir is not None else None + builder_ok = ( + builder is not None + and (builder / "dataset_info.json").exists() + and (builder / "features.json").exists() + ) + stats_dir = assets_root / dataset.uid + stats_ok = (stats_dir / "norm_stats.json").exists() + mapping_ok = (stats_dir / "unified_action_space.json").exists() + status = "OK" if builder_ok and stats_ok and mapping_ok else "MISSING" + print( + f"[{status}] {dataset.uid}: builder={builder} " + f"norm_stats={stats_ok} mapping_meta={mapping_ok}" + ) + if not builder_ok: + failures.append(f"missing/invalid TFDS builder: {builder}") + if not args.allow_missing_norm_stats: + if not stats_ok: + failures.append(f"missing norm stats: {stats_dir / 'norm_stats.json'}") + elif not mapping_ok: + failures.append(f"missing mapping metadata: {stats_dir / 'unified_action_space.json'}") + else: + try: + action_space.validate_metadata(stats_dir, dataset.unified_action_spec) + except ValueError as exc: + failures.append(str(exc)) + + precomputed_datasets = [dataset for dataset in datasets if dataset.precomputed_action_chunk] + if precomputed_datasets and not args.allow_missing_norm_stats: + metadata_path = assets_root / "action_chunk_metadata.json" + if not metadata_path.exists(): + failures.append(f"missing precomputed action metadata: {metadata_path}") + else: + metadata = json.loads(metadata_path.read_text()) + if metadata.get("version") == 1: + # Backward compatibility for the committed Stage 1 EgoVerse stats. + expected = { + "version": 1, + "action_source": "actions_cartesian", + "source_action_horizon": 100, + "model_action_horizon": config.model.action_horizon, + "resampling": "uniform_full_window", + "dataset_ids": sorted(dataset.uid for dataset in precomputed_datasets), + } + elif metadata.get("version") in (2, 3, 4): + expected = { + "model_action_horizon": config.model.action_horizon, + "resampling": "uniform_full_window", + "datasets": { + dataset.uid: { + "action_source": dataset.precomputed_action_source, + "source_action_horizon": dataset.precomputed_action_horizon, + } + for dataset in sorted(precomputed_datasets, key=lambda item: item.uid) + }, + } + else: + failures.append( + f"unsupported precomputed action metadata version at {metadata_path}: " + f"{metadata.get('version')!r}" + ) + expected = None + + actual = None + if expected is not None: + actual = {key: metadata.get(key) for key in expected} + if metadata.get("version") in (3, 4) and isinstance(actual.get("datasets"), dict): + # Later versions record additional physical-time, frame, and gripper + # semantics. Validate the training-critical v2 subset while + # preserving those provenance fields. + actual["datasets"] = { + uid: { + key: values.get(key) + for key in ("action_source", "source_action_horizon") + } + for uid, values in actual["datasets"].items() + } + if expected is not None and actual != expected: + failures.append( + f"precomputed action metadata mismatch at {metadata_path}: " + f"expected {expected}, got {actual}" + ) + + params_path = args.params_path + if params_path is None and args.config_name == "egoscale_stage1_ego": + params_path = os.environ.get("ATOM_PI05_BASE_PARAMS") + if params_path and not params_path.startswith("gs://"): + resolved_params = Path(params_path).expanduser().resolve() + print(f"params={resolved_params}") + if not _params_look_valid(resolved_params): + failures.append(f"missing/invalid params source: {resolved_params}") + elif args.config_name != "egoscale_stage1_ego" and not params_path: + failures.append("later stages require --params-path pointing to the previous stage's ...//params") + + if failures: + print("\nPreflight FAILED:", file=sys.stderr) + for failure in failures: + print(f"- {failure}", file=sys.stderr) + return 1 + print("\nPreflight OK") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/compute_agibot_full_norm_stats_light.py b/scripts/compute_agibot_full_norm_stats_light.py index e909204..6c4e2b3 100644 --- a/scripts/compute_agibot_full_norm_stats_light.py +++ b/scripts/compute_agibot_full_norm_stats_light.py @@ -8,18 +8,17 @@ import dataclasses import json import time -from pathlib import Path +import compute_cotrain_norm_stats_light as light import tqdm import tyro -import compute_cotrain_norm_stats_light as light import openpi.cotrain.config as cotrain_config import openpi.shared.normalize as normalize def main( - config_name: str = "cotrain_full_all", + config_name: str = "cotrain_full_all_full_norm", exp_name: str = "cotrain_full_all_agibot_full_norm_probe", output_assets_name: str = "cotrain_full_all_agibot_full_norm_probe", dataset_id: str = "agibot", @@ -79,8 +78,10 @@ def main( raise RuntimeError(f"No frames read for dataset '{dataset_cfg.uid}'.") elapsed_sec = time.time() - start_time - norm_stats = light._finalize_stats(stats) + norm_stats = light._finalize_stats(stats, dataset_cfg) normalize.save(out_dir, norm_stats) + if dataset_cfg.unified_action_spec is not None: + light.cotrain_action_space.write_metadata(out_dir, dataset_cfg.unified_action_spec) meta = { "config_name": config_name, diff --git a/scripts/compute_cotrain_full_norm_stats_light.py b/scripts/compute_cotrain_full_norm_stats_light.py index 5f1a603..7feaf9c 100644 --- a/scripts/compute_cotrain_full_norm_stats_light.py +++ b/scripts/compute_cotrain_full_norm_stats_light.py @@ -8,13 +8,13 @@ import dataclasses import json -import time from pathlib import Path +import time +import compute_cotrain_norm_stats_light as light import tqdm import tyro -import compute_cotrain_norm_stats_light as light import openpi.cotrain.config as cotrain_config import openpi.shared.normalize as normalize @@ -67,16 +67,24 @@ def _load_agibot_bytes_per_frame(copy_from_assets_name: str | None) -> float | N if src_dir is None: return None meta = json.loads((src_dir / "norm_stats_meta.json").read_text()) - _, num_bytes = _train_split_info(type("DatasetCfg", (), { - "builder_dir": meta["builder_dir"], - "resolve_split": lambda self, split: "train", - })()) + _, num_bytes = _train_split_info( + type( + "DatasetCfg", + (), + { + "builder_dir": meta["builder_dir"], + "resolve_split": lambda self, split: "train", + }, + )() + ) if not num_bytes or not meta.get("num_frames"): return None return num_bytes / meta["num_frames"] -def _estimated_batches(dataset_cfg, batch_size: int, bytes_per_frame: float | None) -> tuple[int | None, int | None, int | None]: +def _estimated_batches( + dataset_cfg, batch_size: int, bytes_per_frame: float | None +) -> tuple[int | None, int | None, int | None]: num_episodes, num_bytes = _train_split_info(dataset_cfg) if num_bytes is None or bytes_per_frame is None or bytes_per_frame <= 0: return num_episodes, num_bytes, None @@ -85,11 +93,11 @@ def _estimated_batches(dataset_cfg, batch_size: int, bytes_per_frame: float | No def main( - config_name: str = "cotrain_full_all", - output_assets_dir: str = "/mnt/data/xule/pi07_reproduction/assets/cotrain_full_all_full_norm", + config_name: str = "cotrain_full_all_full_norm", + output_assets_dir: str = "/mnt/workspace/wudi/Atom-0/assets/cotrain_full_all_full_norm", dataset_id: str | None = None, skip_dataset_ids: str = "", - copy_from_assets_name: str | None = "cotrain_full_all_agibot_full_norm_probe", + copy_from_assets_name: str | None = None, rlds_data_dir: str | None = None, overwrite: bool = False, num_parallel_reads: int = 1, @@ -98,15 +106,14 @@ def main( config = cotrain_config.get_config(config_name) if rlds_data_dir is not None: config = dataclasses.replace(config, data=dataclasses.replace(config.data, rlds_data_dir=rlds_data_dir)) - data_config = config.data.create(Path(output_assets_dir), config.model) + # Norm computation needs only the resolved dataset mappings. Do not create the full + # training transforms here: that would preload existing norm files and could make + # --overwrite fail on exactly the stale mapping metadata it is meant to replace. + data_config = light._resolve_light_data_config(config) requested = _split_csv(dataset_id) skipped = _split_csv(skip_dataset_ids) - datasets = [ - ds - for ds in data_config.datasets - if (not requested or ds.uid in requested) and ds.uid not in skipped - ] + datasets = [ds for ds in data_config.datasets if (not requested or ds.uid in requested) and ds.uid not in skipped] if not datasets: raise ValueError("No datasets selected.") @@ -129,7 +136,11 @@ def main( for dataset_cfg in datasets: out_dir = output_root / dataset_cfg.uid - if copy_from_assets_name is not None and dataset_cfg.uid == "agibot": + if ( + copy_from_assets_name is not None + and dataset_cfg.uid == "agibot" + and dataset_cfg.unified_action_spec is None + ): if overwrite and _copy_existing_stats(copy_from_assets_name, output_root, dataset_cfg.uid): print(f"\n=== Copied full AgiBot stats from assets/{copy_from_assets_name} to {out_dir} ===") continue @@ -152,6 +163,7 @@ def main( split_label="train", shuffle=False, repeat=False, + drop_remainder=False, num_parallel_reads=num_parallel_reads, num_parallel_calls=num_parallel_calls, ) @@ -197,8 +209,10 @@ def main( raise RuntimeError(f"No frames read for dataset '{dataset_cfg.uid}'.") elapsed_sec = time.time() - start_time - norm_stats = light._finalize_stats(stats) + norm_stats = light._finalize_stats(stats, dataset_cfg) normalize.save(out_dir, norm_stats) + if dataset_cfg.unified_action_spec is not None: + light.cotrain_action_space.write_metadata(out_dir, dataset_cfg.unified_action_spec) meta = { "config_name": config_name, diff --git a/scripts/compute_cotrain_norm_stats_light.py b/scripts/compute_cotrain_norm_stats_light.py index 2e3a05c..f69083b 100644 --- a/scripts/compute_cotrain_norm_stats_light.py +++ b/scripts/compute_cotrain_norm_stats_light.py @@ -4,34 +4,44 @@ same state/action semantics while avoiding image and prompt materialization: RLDS -> lightweight state/action restructure -> state/action index selection - -> action chunking -> per-dataset delta actions -> RunningStats + -> action chunk/resample -> per-dataset delta actions -> RunningStats Use --verify-against-old on a small frame count to compare against the original full pipeline before computing production stats. """ import dataclasses -import json from itertools import islice +import json from pathlib import Path +import tempfile import numpy as np import tqdm import tyro +from openpi.cotrain import action_space as cotrain_action_space import openpi.cotrain.config as cotrain_config import openpi.cotrain.rlds_dataset as cotrain_rlds_dataset import openpi.shared.download as download import openpi.shared.normalize as normalize -import openpi.transforms as _transforms from openpi.training.data_loader import IterableTransformedDataset +import openpi.transforms as _transforms def _light_restructure(traj, dataset_id: str, restructure_name: str): """Return only state/actions/dataset_id, matching cotrain standardized restructures.""" import tensorflow as tf - if restructure_name == "standardized": + if restructure_name in {"standardized", "egomimic"}: + n = tf.shape(traj["actions"])[0] + return { + "actions": traj["actions"], + "state": traj["state"], + "dataset_id": tf.fill([n], dataset_id), + } + + if restructure_name == "aligned_parallel_gripper": n = tf.shape(traj["actions"])[0] return { "actions": traj["actions"], @@ -39,11 +49,20 @@ def _light_restructure(traj, dataset_id: str, restructure_name: str): "dataset_id": tf.fill([n], dataset_id), } + if restructure_name == "egoverse_cartesian_chunk": + n = tf.shape(traj["actions_cartesian"])[0] + return { + "actions": traj["actions_cartesian"], + "state": traj["observation"]["state"], + "dataset_id": tf.fill([n], dataset_id), + } + # All currently registered full-data schemas store proprio/action in this layout. if restructure_name in { "agibot", "robomind", "three_cam_task", + "piper2", "egoverse_eva", "egoverse_mecka", "egoverse_full", @@ -92,6 +111,7 @@ def _create_light_dataset( split_label: str = "train", shuffle: bool = False, repeat: bool | None = None, + drop_remainder: bool = True, num_parallel_reads: int = -1, num_parallel_calls: int = -1, ): @@ -139,9 +159,20 @@ def select_state_actions(traj): lambda traj: _light_restructure(traj, dataset_cfg.uid, dataset_cfg.restructure_name), num_parallel_calls, ) - if dataset_cfg.state_indices is not None or dataset_cfg.action_indices is not None: + if dataset_cfg.unified_action_spec is not None: + dataset = dataset.traj_map( + lambda traj: cotrain_action_space.map_trajectory_tensorflow(traj, dataset_cfg.unified_action_spec), + num_parallel_calls, + ) + elif dataset_cfg.state_indices is not None or dataset_cfg.action_indices is not None: dataset = dataset.traj_map(select_state_actions, num_parallel_calls) - dataset = dataset.traj_map(chunk_actions, num_parallel_calls) + if dataset_cfg.precomputed_action_chunk: + dataset = dataset.traj_map( + lambda traj: cotrain_rlds_dataset.resample_precomputed_action_chunk(traj, action_horizon), + num_parallel_calls, + ) + else: + dataset = dataset.traj_map(chunk_actions, num_parallel_calls) dataset = dataset.flatten(num_parallel_calls=num_parallel_calls) else: # Legacy DROID path, kept for compatibility with older cotrain configs. @@ -181,9 +212,14 @@ def remove_filter(frame): dataset = dataset.map(remove_filter) - dataset = dataset.batch(batch_size, drop_remainder=True) - dataset = dataset.with_ram_budget(1) - return dataset + dataset = dataset.batch(batch_size, drop_remainder=drop_remainder) + return dataset.with_ram_budget(1) + + +def _resolve_light_data_config(config): + """Resolve unified mappings without loading tokenizer or any existing norm stats.""" + datasets = cotrain_config._resolve_unified_datasets(config.data.datasets, config.model) # noqa: SLF001 + return dataclasses.replace(config.data, datasets=datasets) def _state_actions_from_light_batch(batch: dict, dataset_cfg: cotrain_rlds_dataset.CotrainRLDSDataset): @@ -191,10 +227,11 @@ def _state_actions_from_light_batch(batch: dict, dataset_cfg: cotrain_rlds_datas state = state[:, -1] if state.ndim == 3 else state actions = np.array(batch["actions"]) - if dataset_cfg.delta_action_mask_dims is not None: + if dataset_cfg.unified_action_spec is not None: + actions = cotrain_action_space.apply_delta(state, actions, dataset_cfg.unified_action_spec.delta_mask) + elif dataset_cfg.delta_action_mask_dims is not None: mask = np.asarray(_transforms.make_bool_mask(*dataset_cfg.delta_action_mask_dims)) - dims = mask.shape[-1] - actions[..., :dims] -= np.expand_dims(np.where(mask, state[..., :dims], 0), axis=-2) + actions = cotrain_action_space.apply_delta(state, actions, mask) return state, actions @@ -207,25 +244,100 @@ def _update_stats(stats: dict, state: np.ndarray, actions: np.ndarray): stats["actions"].update(actions.reshape(-1, actions.shape[-1])) -def _finalize_stats(stats: dict): - return {key: value.get_statistics() for key, value in stats.items()} +def _update_shared_action_stats( + shared_stats: dict[int, normalize.RunningStats], + actions: np.ndarray, + action_mask: tuple[bool, ...], +) -> None: + flattened = actions.reshape(-1, actions.shape[-1]) + for slot in np.flatnonzero(np.asarray(action_mask, dtype=bool)): + shared_stats.setdefault(int(slot), normalize.RunningStats()).update( + flattened[:, slot : slot + 1] + ) -def _compute_light_stats(config, data_config, dataset_cfg, max_frames: int, *, show_progress: bool = True): +def _finalize_shared_action_stats( + shared_stats: dict[int, normalize.RunningStats], +) -> normalize.NormStats: + width = cotrain_action_space.UNIFIED_ACTION_DIM + mean = np.zeros(width, dtype=np.float64) + std = np.ones(width, dtype=np.float64) + q01 = -np.ones(width, dtype=np.float64) + q99 = np.ones(width, dtype=np.float64) + for slot, running in shared_stats.items(): + stats = running.get_statistics() + mean[slot] = np.asarray(stats.mean).item() + std[slot] = np.asarray(stats.std).item() + q01[slot] = np.asarray(stats.q01).item() + q99[slot] = np.asarray(stats.q99).item() + return normalize.NormStats(mean=mean, std=std, q01=q01, q99=q99) + + +def _neutralize_inactive_stats(stats, mask: tuple[bool, ...]): + mask = np.asarray(mask, dtype=bool) + mean = np.asarray(stats.mean).copy() + std = np.asarray(stats.std).copy() + q01 = None if stats.q01 is None else np.asarray(stats.q01).copy() + q99 = None if stats.q99 is None else np.asarray(stats.q99).copy() + mean[~mask] = 0 + std[~mask] = 1 + if q01 is not None: + q01[~mask] = -1 + if q99 is not None: + q99[~mask] = 1 + return normalize.NormStats(mean=mean, std=std, q01=q01, q99=q99) + + +def _finalize_stats(stats: dict, dataset_cfg): + finalized = {key: value.get_statistics() for key, value in stats.items()} + spec = dataset_cfg.unified_action_spec + if spec is None: + return finalized + state_targets = set(spec.state_target_slots) + state_mask = tuple(index in state_targets for index in range(cotrain_action_space.UNIFIED_ACTION_DIM)) + return { + "state": _neutralize_inactive_stats(finalized["state"], state_mask), + "actions": _neutralize_inactive_stats(finalized["actions"], spec.action_mask), + } + + +def _compute_light_stats( + config, + data_config, + dataset_cfg, + max_frames: int, + *, + show_progress: bool = True, + finite_train: bool = False, + shared_action_stats: dict[int, normalize.RunningStats] | None = None, +): batch_size = config.batch_size num_batches = max(1, max_frames // batch_size) - dataset = _create_light_dataset(data_config, dataset_cfg, config.model.action_horizon, batch_size) + dataset = _create_light_dataset( + data_config, + dataset_cfg, + config.model.action_horizon, + batch_size, + repeat=not finite_train, + drop_remainder=not finite_train, + ) stats = _empty_stats() n_frames = 0 iterator = islice(iter(dataset.as_numpy_iterator()), num_batches) if show_progress: - iterator = tqdm.tqdm(iterator, total=num_batches, desc=dataset_cfg.name) + iterator = tqdm.tqdm(iterator, total=None if finite_train else num_batches, desc=dataset_cfg.name) for batch in iterator: state, actions = _state_actions_from_light_batch(batch, dataset_cfg) _update_stats(stats, state, actions) + if shared_action_stats is not None: + if dataset_cfg.unified_action_spec is None: + raise ValueError("Shared action stats require a unified action specification") + _update_shared_action_stats( + shared_action_stats, actions, dataset_cfg.unified_action_spec.action_mask + ) n_frames += int(state.shape[0]) - return _finalize_stats(stats), n_frames + return _finalize_stats(stats, dataset_cfg), n_frames def _compute_light_stats_deterministic(config, data_config, dataset_cfg, max_frames: int): @@ -250,7 +362,7 @@ def _compute_light_stats_deterministic(config, data_config, dataset_cfg, max_fra state, actions = _state_actions_from_light_batch(batch, dataset_cfg) _update_stats(stats, state, actions) n_frames += int(state.shape[0]) - return _finalize_stats(stats), n_frames + return _finalize_stats(stats, dataset_cfg), n_frames def _compute_old_stats(config, data_config, dataset_cfg, max_frames: int): @@ -281,7 +393,7 @@ def _compute_old_stats(config, data_config, dataset_cfg, max_frames: int): actions = np.asarray(batch["actions"]) _update_stats(stats, state, actions) n_frames += int(state.shape[0]) - return _finalize_stats(stats), n_frames + return _finalize_stats(stats, dataset_cfg), n_frames def _max_abs_diff(a, b) -> float: @@ -306,10 +418,7 @@ def _verify_against_old(config, data_config, dataset_cfg, verify_frames: int, to print(f" max_abs_diff[{key}.{field}] = {diff:.8g}") ok = ok and diff <= tolerance if not ok: - raise RuntimeError( - f"Lightweight stats verification failed for '{dataset_cfg.uid}' " - f"(tolerance={tolerance})." - ) + raise RuntimeError(f"Lightweight stats verification failed for '{dataset_cfg.uid}' (tolerance={tolerance}).") print(" verification passed") @@ -318,30 +427,47 @@ def main( exp_name: str, max_frames: int = 1_000_000, rlds_data_dir: str | None = None, - overwrite: bool = False, + assets_base_dir: str | None = None, + overwrite: bool = False, # noqa: FBT001, FBT002 dataset_id: str | None = None, - verify_against_old: bool = False, + verify_against_old: bool = False, # noqa: FBT001, FBT002 verify_frames: int = 1024, verify_tolerance: float = 1e-5, + finite_train: bool = False, # noqa: FBT001, FBT002 + shared_action_stats: bool = False, # noqa: FBT001, FBT002 ) -> None: config = cotrain_config.get_config(config_name) config = dataclasses.replace(config, exp_name=exp_name) + if assets_base_dir is not None: + config = dataclasses.replace(config, assets_base_dir=assets_base_dir) if rlds_data_dir is not None: config = dataclasses.replace(config, data=dataclasses.replace(config.data, rlds_data_dir=rlds_data_dir)) - data_config = config.data.create(config.assets_dirs, config.model) + if verify_against_old: + # The old pipeline needs the full transforms, but verification must not normalize + # with stale/existing stats. Build those transforms against a guaranteed-empty root. + with tempfile.TemporaryDirectory(prefix="cotrain-norm-verify-assets-") as empty_assets: + data_config = config.data.create(Path(empty_assets), config.model) + else: + data_config = _resolve_light_data_config(config) selected = [ds for ds in data_config.datasets if dataset_id is None or ds.uid == dataset_id] if not selected: raise ValueError(f"No dataset matched dataset_id={dataset_id!r}") + if shared_action_stats and dataset_id is not None: + raise ValueError("Shared action stats must include every configured dataset; omit --dataset-id") + if shared_action_stats and any(ds.unified_action_spec is None for ds in selected): + raise ValueError("Shared action stats require unified action specs for every selected dataset") if verify_against_old: for ds in selected: _verify_against_old(config, data_config, ds, verify_frames, verify_tolerance) return + shared_running: dict[int, normalize.RunningStats] | None = {} if shared_action_stats else None + pending_shared: list[tuple[object, dict, int]] = [] for ds in selected: out_dir = config.assets_dirs / ds.uid - if not overwrite: + if not overwrite and not shared_action_stats: try: normalize.load(out_dir) print(f"\n=== Skipping '{ds.uid}': norm stats already exist at {out_dir} (use --overwrite to redo) ===") @@ -350,12 +476,85 @@ def main( pass print(f"\n=== Computing LIGHT norm stats for dataset '{ds.uid}' (split='{ds.train_split}') ===") - norm_stats, n_frames = _compute_light_stats(config, data_config, ds, max_frames) + norm_stats, n_frames = _compute_light_stats( + config, + data_config, + ds, + max_frames, + finite_train=finite_train, + shared_action_stats=shared_running, + ) if n_frames == 0: raise RuntimeError(f"No frames read for dataset '{ds.uid}' (split '{ds.train_split}').") print(f" accumulated {n_frames} frames") - normalize.save(out_dir, norm_stats) - print(f"Saved norm stats for '{ds.uid}' to {out_dir}") + if shared_action_stats: + pending_shared.append((ds, norm_stats, n_frames)) + else: + normalize.save(out_dir, norm_stats) + if ds.unified_action_spec is not None: + cotrain_action_space.write_metadata(out_dir, ds.unified_action_spec) + print(f"Saved norm stats for '{ds.uid}' to {out_dir}") + + if shared_action_stats: + assert shared_running is not None + shared_actions = _finalize_shared_action_stats(shared_running) + shared_ids = [ds.uid for ds, _, _ in pending_shared] + frame_counts = {ds.uid: n_frames for ds, _, n_frames in pending_shared} + for ds, norm_stats, n_frames in pending_shared: + out_dir = config.assets_dirs / ds.uid + norm_stats = dict(norm_stats) + norm_stats["actions"] = _neutralize_inactive_stats( + shared_actions, ds.unified_action_spec.action_mask + ) + normalize.save(out_dir, norm_stats) + cotrain_action_space.write_metadata(out_dir, ds.unified_action_spec) + (out_dir / "norm_stats_meta.json").write_text( + json.dumps( + { + "version": 2, + "dataset_id": ds.uid, + "train_frames": n_frames, + "state_norm": "per_dataset", + "action_norm": "shared_by_unified_active_slot", + "shared_action_dataset_ids": shared_ids, + "shared_action_train_frames_by_dataset": frame_counts, + }, + indent=2, + sort_keys=True, + ) + + "\n" + ) + print(f"Saved per-dataset state/shared-action norm stats for '{ds.uid}' to {out_dir}") + + precomputed = [ds for ds in data_config.datasets if ds.precomputed_action_chunk] + if precomputed: + metadata = { + "version": 4 if shared_action_stats else 2, + "model_action_horizon": config.model.action_horizon, + "resampling": "uniform_full_window", + "datasets": { + ds.uid: { + "action_source": ds.precomputed_action_source, + "source_action_horizon": ds.precomputed_action_horizon, + } + for ds in sorted(precomputed, key=lambda item: item.uid) + }, + } + if shared_action_stats: + metadata.update( + { + "physical_horizon_seconds": 1.0, + "target_time_offsets_seconds": "0.02..1.00 inclusive at 0.02 intervals", + "action_frame": "current_canonical_eef", + "pose_encoding": "relative_se3_translation_xyz_plus_rotation_vector_xyz", + "gripper_encoding": "absolute_closure_0_open_1_closed", + "normalization": "per_dataset_state_shared_action_by_unified_active_slot", + } + ) + metadata_path = config.assets_dirs / "action_chunk_metadata.json" + metadata_path.parent.mkdir(parents=True, exist_ok=True) + metadata_path.write_text(json.dumps(metadata, indent=2, sort_keys=True) + "\n") + print(f"Saved precomputed-action metadata to {metadata_path}") if __name__ == "__main__": diff --git a/scripts/convert_egomimic_hdf5_to_rlds.py b/scripts/convert_egomimic_hdf5_to_rlds.py new file mode 100644 index 0000000..723aad4 --- /dev/null +++ b/scripts/convert_egomimic_hdf5_to_rlds.py @@ -0,0 +1,424 @@ +#!/usr/bin/env python3 +"""Convert a public EgoMimic HDF5 file into Atom's RLDS/TFDS input format. + +EgoMimic publishes robomimic-style files, not RLDS builders. This converter +preserves its official 100-point future trajectories and keeps the human and +robot domains in separate TFDS configs so they receive independent norm stats. + +Examples: + + python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_human.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_smoke \ + --max-train-episodes 2 --max-validation-episodes 1 + + python scripts/convert_egomimic_hdf5_to_rlds.py \ + --source-hdf5 /data/junhe/datasets/EgoMimic/groceries_robot.hdf5 \ + --output-data-dir /data/junhe/RLDS/EgoMimic_smoke \ + --max-train-episodes 2 --max-validation-episodes 1 + +The Hugging Face dataset page currently does not declare a dataset license. +Confirm research-use permission before using these files beyond internal +evaluation; the MIT license in the EgoMimic code repository is not assumed to +license the separately hosted dataset. +""" + +from __future__ import annotations + +import argparse +from collections.abc import Iterator +import dataclasses +from pathlib import Path +from typing import Any + +import h5py +import numpy as np +import tensorflow_datasets as tfds + +_TASK_PROMPTS = { + "bowlplace": "Pick up the toy and place it in the bowl.", + "groceries": "Pick up the grocery item and place it in the shopping bag.", + "smallclothfold": "Fold the small cloth.", +} +_SINGLE_ARM_TASKS = frozenset({"bowlplace"}) +_BIMANUAL_TASKS = frozenset({"groceries", "smallclothfold"}) + + +def _parse_source_name(path: Path) -> tuple[str, str]: + stem = path.stem + for task in _TASK_PROMPTS: + for domain in ("human", "robot"): + if stem == f"{task}_{domain}": + return task, domain + expected = ", ".join(f"{task}_{domain}" for task in _TASK_PROMPTS for domain in ("human", "robot")) + raise ValueError(f"Unsupported EgoMimic filename {path.name!r}; expected one of: {expected}") + + +def _decode_demo_ids(values) -> list[str]: + result = [] + for value in values: + decoded = value.decode("utf-8") if isinstance(value, bytes) else value + result.append(str(decoded)) + return result + + +def _demo_sort_key(name: str) -> tuple[int, str]: + try: + return int(name.rsplit("_", 1)[1]), name + except (IndexError, ValueError): + return 2**31 - 1, name + + +@dataclasses.dataclass(frozen=True) +class _Schema: + state_dim: int + action_dim: int + xyz_dim: int + joint_dim: int + horizon: int + image_shapes: dict[str, tuple[int, int, int]] + image_keys: dict[str, str | None] + + +def _inspect_schema(source: Path, task: str, domain: str) -> _Schema: + with h5py.File(source, "r") as h5: + demo_names = sorted(h5["data"].keys(), key=_demo_sort_key) + if not demo_names: + raise ValueError(f"No demos found under data/ in {source}") + demo = h5[f"data/{demo_names[0]}"] + obs = demo["obs"] + + xyz_shape = demo["actions_xyz_act"].shape + if len(xyz_shape) != 3: + raise ValueError(f"actions_xyz_act must be [T,H,D], got {xyz_shape}") + horizon = int(xyz_shape[1]) + xyz_dim = int(xyz_shape[2]) + expected_xyz_dim = 3 if task in _SINGLE_ARM_TASKS else 6 + if xyz_dim != expected_xyz_dim: + raise ValueError(f"{task} expects XYZ width {expected_xyz_dim}, got {xyz_dim}") + if int(obs["ee_pose"].shape[-1]) != xyz_dim: + raise ValueError("obs/ee_pose and actions_xyz_act have different XYZ widths") + + joint_dim = 0 + if domain == "robot": + joint_shape = demo["actions_joints_act"].shape + if len(joint_shape) != 3 or int(joint_shape[1]) != horizon: + raise ValueError( + f"actions_joints_act must be [T,{horizon},D], got {joint_shape}" + ) + joint_dim = int(joint_shape[2]) + expected_joint_dim = 7 if task in _SINGLE_ARM_TASKS else 14 + if joint_dim != expected_joint_dim: + raise ValueError(f"{task} robot expects joint/gripper width {expected_joint_dim}, got {joint_dim}") + if int(obs["joint_positions"].shape[-1]) != joint_dim: + raise ValueError("obs/joint_positions and actions_joints_act have different widths") + + if "front_img_1_line" not in obs: + raise ValueError(f"{source} is missing required obs/front_img_1_line") + base_shape = tuple(int(v) for v in obs["front_img_1_line"].shape[1:]) + if len(base_shape) != 3 or base_shape[-1] != 3: + raise ValueError(f"front_img_1_line must be RGB, got {base_shape}") + + image_keys: dict[str, str | None] = { + "base": "front_img_1_line", + "left_wrist": "left_wrist_img" if "left_wrist_img" in obs else None, + "right_wrist": "right_wrist_img" if "right_wrist_img" in obs else None, + } + image_shapes = {"base": base_shape} + for slot in ("left_wrist", "right_wrist"): + key = image_keys[slot] + shape = base_shape if key is None else tuple(int(v) for v in obs[key].shape[1:]) + if len(shape) != 3 or shape[-1] != 3: + raise ValueError(f"{key} must be RGB, got {shape}") + image_shapes[slot] = shape + + return _Schema( + state_dim=joint_dim + xyz_dim, + action_dim=joint_dim + xyz_dim, + xyz_dim=xyz_dim, + joint_dim=joint_dim, + horizon=horizon, + image_shapes=image_shapes, + image_keys=image_keys, + ) + + +class _EgoMimicConfig(tfds.core.BuilderConfig): + def __init__( + self, + *, + name: str, + source_path: Path, + task: str, + domain: str, + prompt: str, + max_train_episodes: int | None, + max_validation_episodes: int | None, + episode_chunk_size: int, + ): + super().__init__(name=name, version="1.0.0", description=f"EgoMimic {task} {domain}") + self.source_path = source_path + self.task = task + self.domain = domain + self.prompt = prompt + self.max_train_episodes = max_train_episodes + self.max_validation_episodes = max_validation_episodes + self.episode_chunk_size = episode_chunk_size + + +class EgoMimicRlds(tfds.core.GeneratorBasedBuilder): + """One task/domain EgoMimic file as an episode-level RLDS builder.""" + + VERSION = tfds.core.Version("1.0.0") + + def _info(self) -> tfds.core.DatasetInfo: + self._schema = _inspect_schema( + self.builder_config.source_path, + self.builder_config.task, + self.builder_config.domain, + ) + image_features = { + slot: tfds.features.Image( + shape=self._schema.image_shapes[slot], + dtype=np.uint8, + encoding_format="jpeg", + ) + for slot in ("base", "left_wrist", "right_wrist") + } + step_features = tfds.features.FeaturesDict( + { + "state": tfds.features.Tensor(shape=(self._schema.state_dim,), dtype=np.float32), + "action": tfds.features.Tensor(shape=(self._schema.action_dim,), dtype=np.float32), + "actions": tfds.features.Tensor( + shape=(self._schema.horizon, self._schema.action_dim), + dtype=np.float32, + ), + "image_base": image_features["base"], + "image_left_wrist": image_features["left_wrist"], + "image_right_wrist": image_features["right_wrist"], + "image_mask_base": np.bool_, + "image_mask_left_wrist": np.bool_, + "image_mask_right_wrist": np.bool_, + "prompt": tfds.features.Text(), + "eef_frame": tfds.features.Text(), + "is_first": np.bool_, + "is_last": np.bool_, + "is_terminal": np.bool_, + "discount": np.float32, + "reward": np.float32, + } + ) + return tfds.core.DatasetInfo( + builder=self, + description=( + "EgoMimic human/robot demonstrations converted from the public " + "robomimic-style HDF5 release." + ), + features=tfds.features.FeaturesDict( + { + "episode_metadata": tfds.features.FeaturesDict( + { + "source_file": tfds.features.Text(), + "source_demo_id": tfds.features.Text(), + "source_start_index": np.int64, + "source_end_index": np.int64, + "task": tfds.features.Text(), + "domain": tfds.features.Text(), + "eef_frame": tfds.features.Text(), + } + ), + "steps": tfds.features.Dataset(step_features), + } + ), + homepage="https://egomimic.github.io/", + ) + + def _split_generators(self, dl_manager): + del dl_manager + source = self.builder_config.source_path + with h5py.File(source, "r") as h5: + all_demos = set(h5["data"].keys()) + if "mask/train" not in h5 or "mask/valid" not in h5: + raise ValueError(f"{source} must contain official mask/train and mask/valid") + train = _decode_demo_ids(h5["mask/train"][:]) + valid = _decode_demo_ids(h5["mask/valid"][:]) + if not train or not valid: + raise ValueError(f"{source} has an empty official train or valid mask") + unknown = (set(train) | set(valid)) - all_demos + if unknown: + raise ValueError(f"Official masks reference missing demos: {sorted(unknown)[:10]}") + overlap = set(train) & set(valid) + if overlap: + # The published groceries files contain one long demo referenced by + # both official masks. Preserve the publisher's split contract for + # compatibility, but make the leakage impossible to overlook. + print( + "WARNING: official train/valid masks overlap for " + f"{len(overlap)} demo(s): {sorted(overlap)[:10]}. " + "Validation is an in-trajectory smoke metric, not a held-out result." + ) + + train = sorted(train, key=_demo_sort_key) + valid = sorted(valid, key=_demo_sort_key) + if self.builder_config.max_train_episodes is not None: + train = train[: self.builder_config.max_train_episodes] + if self.builder_config.max_validation_episodes is not None: + valid = valid[: self.builder_config.max_validation_episodes] + splits = {"train": self._generate_examples(train)} + if set(train) != set(valid): + splits["seen_test"] = self._generate_examples(valid) + # EgoMimic has no semantic unseen split. This alias only preserves + # Atom's two-label evaluator contract and must not be reported as + # unseen-task performance. + splits["unseen_test"] = self._generate_examples(valid) + return splits + + def _generate_examples(self, demo_names: list[str]) -> Iterator[tuple[str, dict[str, Any]]]: + source = self.builder_config.source_path + with h5py.File(source, "r") as h5: + for demo_name in demo_names: + demo = h5[f"data/{demo_name}"] + length = int(demo["obs/ee_pose"].shape[0]) + chunk_size = self.builder_config.episode_chunk_size + for start in range(0, length, chunk_size): + end = min(start + chunk_size, length) + episode_id = f"{demo_name}_frames_{start:06d}_{end:06d}" + yield episode_id, { + "episode_metadata": { + "source_file": source.name, + "source_demo_id": demo_name, + "source_start_index": np.int64(start), + "source_end_index": np.int64(end), + "task": self.builder_config.task, + "domain": self.builder_config.domain, + "eef_frame": "current_egocentric_camera", + }, + "steps": self._generate_steps(demo, start, end), + } + + def _generate_steps(self, demo, start: int, end: int) -> Iterator[dict[str, Any]]: + obs = demo["obs"] + xyz_actions = demo["actions_xyz_act"] + joint_actions = demo.get("actions_joints_act") + xyz_state = obs["ee_pose"] + joint_state = obs.get("joint_positions") + length = int(xyz_state.shape[0]) + arrays = [xyz_actions] + if joint_actions is not None: + arrays.append(joint_actions) + if joint_state is not None: + arrays.append(joint_state) + if any(int(array.shape[0]) != length for array in arrays): + raise ValueError(f"Inconsistent trajectory lengths in {demo.name}") + + blank_images = { + slot: np.zeros(self._schema.image_shapes[slot], dtype=np.uint8) + for slot in ("left_wrist", "right_wrist") + } + for index in range(start, end): + xyz_chunk = np.asarray(xyz_actions[index], dtype=np.float32) + xyz_now = np.asarray(xyz_state[index], dtype=np.float32) + if joint_actions is None: + action_chunk = xyz_chunk + state = xyz_now + else: + action_chunk = np.concatenate( + [np.asarray(joint_actions[index], dtype=np.float32), xyz_chunk], + axis=-1, + ) + state = np.concatenate( + [np.asarray(joint_state[index], dtype=np.float32), xyz_now], + axis=-1, + ) + + images = {} + masks = {} + for slot in ("base", "left_wrist", "right_wrist"): + source_key = self._schema.image_keys[slot] + if source_key is None: + images[slot] = blank_images[slot] + masks[slot] = False + else: + images[slot] = np.asarray(obs[source_key][index], dtype=np.uint8) + masks[slot] = True + + yield { + "state": state, + "action": action_chunk[0], + "actions": action_chunk, + "image_base": images["base"], + "image_left_wrist": images["left_wrist"], + "image_right_wrist": images["right_wrist"], + "image_mask_base": masks["base"], + "image_mask_left_wrist": masks["left_wrist"], + "image_mask_right_wrist": masks["right_wrist"], + "prompt": self.builder_config.prompt, + "eef_frame": "current_egocentric_camera", + "is_first": index == start, + "is_last": index == end - 1, + "is_terminal": index == end - 1, + "discount": np.float32(1.0), + "reward": np.float32(1.0 if index == end - 1 else 0.0), + } + + +def _positive_or_none(value: str) -> int | None: + value = int(value) + if value == 0: + return None + if value < 0: + raise argparse.ArgumentTypeError("must be non-negative; use 0 for all episodes") + return value + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--source-hdf5", type=Path, required=True) + parser.add_argument("--output-data-dir", type=Path, required=True) + parser.add_argument("--max-train-episodes", type=_positive_or_none, default=None) + parser.add_argument("--max-validation-episodes", type=_positive_or_none, default=None) + parser.add_argument( + "--episode-chunk-size", + type=int, + default=256, + help="Maximum frames per generated RLDS episode; keeps TFRecord examples multi-host shardable.", + ) + args = parser.parse_args() + + source = args.source_hdf5.expanduser().resolve() + if not source.is_file(): + raise FileNotFoundError(source) + task, domain = _parse_source_name(source) + if args.episode_chunk_size <= 0: + raise ValueError("--episode-chunk-size must be positive") + config_name = f"{task}_{domain}" + config = _EgoMimicConfig( + name=config_name, + source_path=source, + task=task, + domain=domain, + prompt=_TASK_PROMPTS[task], + max_train_episodes=args.max_train_episodes, + max_validation_episodes=args.max_validation_episodes, + episode_chunk_size=args.episode_chunk_size, + ) + builder = EgoMimicRlds( + data_dir=str(args.output_data_dir.expanduser().resolve()), + config=config, + ) + target = Path(builder.data_dir) + if target.exists() and any(target.iterdir()): + raise FileExistsError( + f"Refusing to overwrite existing TFDS builder {target}. " + "Use a new --output-data-dir, or move the old builder aside after inspection." + ) + print(f"source={source}") + print(f"task={task} domain={domain}") + print(f"schema={_inspect_schema(source, task, domain)}") + print(f"target={target}") + builder.download_and_prepare() + print(f"Prepared EgoMimic RLDS builder: {builder.data_dir}") + + +if __name__ == "__main__": + main() diff --git a/scripts/convert_self_collected_aligned_to_rlds.py b/scripts/convert_self_collected_aligned_to_rlds.py new file mode 100644 index 0000000..2e69ac7 --- /dev/null +++ b/scripts/convert_self_collected_aligned_to_rlds.py @@ -0,0 +1,570 @@ +#!/usr/bin/env python3 +"""Convert audited Hangzhou/Shenzhen labels into aligned Stage-2 RLDS. + +Every action uses the same physical contract: 50 targets spanning the next +one second, expressed as current-canonical-EEF relative SE(3). Each arm is +encoded as ``[translation_xyz, rotation_vector_xyz, absolute_closure]``. +Observation state remains an absolute pose in the station's native base/camera +frame and is only used as conditioning input. +""" + +from __future__ import annotations + +import argparse +from collections.abc import Iterator +import dataclasses +import json +from pathlib import Path +from typing import Any + +import cv2 +import numpy as np +from scipy.spatial.transform import Rotation, Slerp +import tensorflow_datasets as tfds + + +CONFIG_DIMS = { + "aligned_hangzhou_human_right": 7, + "aligned_hangzhou_robot_right": 7, + "aligned_shenzhen_human_bimanual": 14, + "aligned_shenzhen_robot_bimanual": 14, +} +IMAGE_SHAPE = (480, 640, 3) +SOURCE_HORIZON = 50 +HORIZON_SECONDS = 1.0 +ACTION_EEF_FRAME = "current_canonical_eef" + +# Piper records ``link6`` poses. Match the Hangzhou robot-label convention by +# moving to the virtual gripper centre and applying the shared tool-axis basis. +PIPER_T_GRIPPER_CENTER_IN_EE = np.eye(4, dtype=np.float64) +PIPER_T_GRIPPER_CENTER_IN_EE[0, 3] = 0.07503 +PIPER_T_ALIGN = np.array( + [ + [0.0, 0.0, 1.0, 0.0], + [1.0, 0.0, 0.0, 0.0], + [0.0, 1.0, 0.0, 0.0], + [0.0, 0.0, 0.0, 1.0], + ], + dtype=np.float64, +) +PIPER_T_NATIVE_TO_CANONICAL = PIPER_T_GRIPPER_CENTER_IN_EE @ PIPER_T_ALIGN + + +def _decode_jpeg(payload: bytes) -> np.ndarray: + image = cv2.imdecode(np.frombuffer(payload, dtype=np.uint8), cv2.IMREAD_COLOR) + if image is None: + raise ValueError("Failed to decode JPEG frame") + return cv2.cvtColor(image, cv2.COLOR_BGR2RGB) + + +def _nearest_index(timestamps: np.ndarray, timestamp: float) -> int: + position = int(np.searchsorted(timestamps, timestamp)) + if position <= 0: + return 0 + if position >= len(timestamps): + return len(timestamps) - 1 + return position if abs(timestamps[position] - timestamp) < abs(timestamps[position - 1] - timestamp) else position - 1 + + +def _runs(indices: np.ndarray) -> list[np.ndarray]: + if len(indices) == 0: + return [] + boundaries = np.flatnonzero(np.diff(indices) != 1) + 1 + return [part for part in np.split(indices, boundaries) if len(part)] + + +def _pose_vectors(poses: np.ndarray) -> np.ndarray: + euler_ypr = Rotation.from_matrix(poses[:, :3, :3]).as_euler("ZYX") + euler_ypr = np.unwrap(euler_ypr, axis=0) + return np.concatenate((poses[:, :3, 3], euler_ypr), axis=-1).astype(np.float32) + + +def _piper_pose_matrices(poses: np.ndarray) -> np.ndarray: + """Decode Piper ``[xyz, rx, ry, rz]`` using its intrinsic XYZ RPY contract.""" + matrices = np.repeat(np.eye(4, dtype=np.float64)[None], len(poses), axis=0) + matrices[:, :3, :3] = Rotation.from_euler("xyz", poses[:, 3:6]).as_matrix() + matrices[:, :3, 3] = poses[:, :3] + return matrices + + +def _right_multiply_poses(poses: np.ndarray, transform: np.ndarray) -> np.ndarray: + return np.einsum("tij,jk->tik", poses, transform) + + +def _interpolate_poses(timestamps: np.ndarray, poses: np.ndarray, target_times: np.ndarray) -> np.ndarray: + if len(timestamps) < 2 or np.any(np.diff(timestamps) <= 0): + raise ValueError("Pose interpolation requires at least two strictly increasing timestamps") + if target_times[0] < timestamps[0] - 1e-9 or target_times[-1] > timestamps[-1] + 1e-9: + raise ValueError("Pose interpolation target is outside the source time range") + result = np.repeat(np.eye(4, dtype=np.float64)[None], len(target_times), axis=0) + result[:, :3, 3] = np.stack( + [np.interp(target_times, timestamps, poses[:, axis, 3]) for axis in range(3)], axis=-1 + ) + result[:, :3, :3] = Slerp(timestamps, Rotation.from_matrix(poses[:, :3, :3]))(target_times).as_matrix() + return result + + +def _relative_pose_vectors(current_pose: np.ndarray, target_poses: np.ndarray) -> np.ndarray: + relative = np.einsum("ij,tjk->tik", np.linalg.inv(current_pose), target_poses) + return np.concatenate( + (relative[:, :3, 3], Rotation.from_matrix(relative[:, :3, :3]).as_rotvec()), axis=-1 + ).astype(np.float32) + + +def _quality_valid(poses: np.ndarray, valid: np.ndarray) -> np.ndarray: + result = valid.copy() + if len(poses) < 2: + return result + translation_step = np.linalg.norm(np.diff(poses[:, :3, 3], axis=0), axis=-1) + rotation_step = Rotation.from_matrix( + np.einsum("tji,tjk->tik", poses[:-1, :3, :3], poses[1:, :3, :3]) + ).magnitude() + bad = np.flatnonzero((translation_step > 0.05) | (rotation_step > np.deg2rad(30.0))) + result[bad] = False + result[np.minimum(bad + 1, len(result) - 1)] = False + return result + + +@dataclasses.dataclass +class _EpisodeArrays: + timestamps: np.ndarray + state: np.ndarray + poses: tuple[np.ndarray, ...] + closures: tuple[np.ndarray, ...] + valid: np.ndarray + action_timestamps: np.ndarray | None = None + action_poses: tuple[np.ndarray, ...] | None = None + action_closures: tuple[np.ndarray, ...] | None = None + state_eef_frame: str = "fixed_head_color_optical_camera" + action_eef_frame: str = ACTION_EEF_FRAME + horizon_seconds: float = HORIZON_SECONDS + + def __post_init__(self) -> None: + if self.action_timestamps is None: + self.action_timestamps = self.timestamps + if self.action_poses is None: + self.action_poses = self.poses + if self.action_closures is None: + self.action_closures = self.closures + if not (len(self.poses) == len(self.closures) == len(self.action_poses) == len(self.action_closures)): + raise ValueError("Observation/action arm counts do not match") + if len(self.timestamps) != len(self.state) or len(self.timestamps) != len(self.valid): + raise ValueError("Observation timeline/state/valid lengths do not match") + if np.any(np.diff(self.timestamps) <= 0) or np.any(np.diff(self.action_timestamps) <= 0): + raise ValueError("Observation and action timestamps must be strictly increasing") + for values in (*self.poses, *self.closures): + if len(values) != len(self.timestamps): + raise ValueError("Observation pose/closure length does not match timestamps") + for values in (*self.action_poses, *self.action_closures): + if len(values) != len(self.action_timestamps): + raise ValueError("Action pose/closure length does not match action timestamps") + + def candidate_runs(self) -> list[np.ndarray]: + candidates = [] + for run in _runs(np.flatnonzero(self.valid)): + if len(run) < 2: + continue + last_time = self.action_timestamps[run[-1]] + keep = run[self.timestamps[run] + self.horizon_seconds <= last_time + 1e-9] + if len(keep): + candidates.extend(keep.tolist()) + return _runs(np.asarray(candidates, dtype=np.int64)) + + def action_chunk(self, index: int) -> np.ndarray: + current_time = self.timestamps[index] + end_time = current_time + self.horizon_seconds + start = max(0, int(np.searchsorted(self.action_timestamps, current_time, side="right")) - 1) + end = int(np.searchsorted(self.action_timestamps, end_time, side="left")) + segment = np.arange(start, min(end + 1, len(self.action_timestamps))) + if len(segment) < 2 or not np.all(self.valid[segment]): + raise ValueError(f"Action horizon crosses an invalid region at frame {index}") + target_times = current_time + np.linspace( + self.horizon_seconds / SOURCE_HORIZON, self.horizon_seconds, SOURCE_HORIZON + ) + chunks = [] + for current_pose_series, current_closure, action_poses, action_closure in zip( + self.poses, + self.closures, + self.action_poses, + self.action_closures, + strict=True, + ): + interpolation_times = self.action_timestamps[segment] + interpolation_poses = action_poses[segment] + interpolation_closure = action_closure[segment] + # Robot action timestamps can start more than one 20 ms target step + # after the first observation. The observed current EEF is the + # physically correct left interpolation anchor; do not extrapolate + # backward from future commands. + if target_times[0] < interpolation_times[0]: + interpolation_times = np.concatenate(([current_time], interpolation_times)) + interpolation_poses = np.concatenate( + (current_pose_series[index][None], interpolation_poses), axis=0 + ) + interpolation_closure = np.concatenate( + ([current_closure[index]], interpolation_closure) + ) + targets = _interpolate_poses( + interpolation_times, interpolation_poses, target_times + ) + relative = _relative_pose_vectors(current_pose_series[index], targets) + closure = np.interp( + target_times, interpolation_times, interpolation_closure + ).astype(np.float32) + chunks.append(np.concatenate((relative, closure[:, None]), axis=-1)) + return np.concatenate(chunks, axis=-1).astype(np.float32) + + +def _load_hangzhou_arrays(source: Path, domain: str) -> _EpisodeArrays: + labels_path = source / ("labels_calibrated.npz" if domain == "human" else "labels.npz") + with np.load(labels_path) as labels: + timestamps = np.asarray(labels["timestamps"], dtype=np.float64) + poses = np.asarray(labels["pose_cam_smooth"], dtype=np.float64) + valid = np.asarray(labels["valid_filled"], dtype=bool) + closure_key = "closure_calibrated" if domain == "human" else "closure_smooth" + closure = np.asarray(labels[closure_key], dtype=np.float32) + valid &= np.isfinite(closure) + valid = _quality_valid(poses, valid) + state = np.concatenate((_pose_vectors(poses), closure[:, None]), axis=-1) + return _EpisodeArrays(timestamps, state, (poses,), (closure,), valid) + + +def _load_shenzhen_arrays(source: Path) -> _EpisodeArrays: + with np.load(source / "left_hand" / "labels.npz") as left: + timestamps = np.asarray(left["timestamps"], dtype=np.float64) + left_pose = np.asarray(left["pose_cam_smooth"], dtype=np.float64) + left_valid = np.asarray(left["valid_filled"], dtype=bool) + left_closure = np.asarray(left["closure_calibrated"], dtype=np.float32) + left_valid &= np.asarray(left["aperture_calibration_valid"], dtype=bool) + left_valid &= np.isfinite(left_closure) + with np.load(source / "right_hand" / "labels.npz") as right: + right_timestamps = np.asarray(right["timestamps"], dtype=np.float64) + right_pose = np.asarray(right["pose_cam_smooth"], dtype=np.float64) + right_valid = np.asarray(right["valid_filled"], dtype=bool) + right_closure = np.asarray(right["closure_calibrated"], dtype=np.float32) + right_valid &= np.asarray(right["aperture_calibration_valid"], dtype=bool) + right_valid &= np.isfinite(right_closure) + if len(timestamps) != len(right_timestamps) or not np.allclose(timestamps, right_timestamps, atol=1e-4): + raise ValueError(f"Left/right label timelines do not match: {source}") + left_valid = _quality_valid(left_pose, left_valid) + right_valid = _quality_valid(right_pose, right_valid) + valid = left_valid & right_valid + state = np.concatenate( + ( + _pose_vectors(left_pose), + left_closure[:, None], + _pose_vectors(right_pose), + right_closure[:, None], + ), + axis=-1, + ) + return _EpisodeArrays( + timestamps, state, (left_pose, right_pose), (left_closure, right_closure), valid + ) + + +def _piper_closure(gripper_aperture_m: np.ndarray) -> np.ndarray: + return np.clip(1.0 - gripper_aperture_m / 0.1, 0.0, 1.0).astype(np.float32) + + +def _load_shenzhen_robot_arrays(source: Path) -> _EpisodeArrays: + import pyarrow.parquet as pq + + table = pq.read_table(source) + timestamps = np.asarray(table["real_observation_timestamp_s"].to_numpy(), dtype=np.float64) + action_timestamps = np.asarray(table["real_action_timestamp_s"].to_numpy(), dtype=np.float64) + observation_pose = np.asarray(table["observation.ee_pose"].to_pylist(), dtype=np.float64) + action_pose = np.asarray(table["action.ee_pose"].to_pylist(), dtype=np.float64) + observation_joints = np.asarray(table["observation.state"].to_pylist(), dtype=np.float64) + action_joints = np.asarray(table["action"].to_pylist(), dtype=np.float64) + frame_indices = np.asarray(table["frame_index"].to_numpy(), dtype=np.int64) + if not np.array_equal(frame_indices, np.arange(len(frame_indices))): + raise ValueError(f"Non-contiguous frame_index in {source}") + observation_poses = tuple( + _right_multiply_poses(_piper_pose_matrices(raw), PIPER_T_NATIVE_TO_CANONICAL) + for raw in (observation_pose[:, :6], observation_pose[:, 6:]) + ) + action_poses = tuple( + _right_multiply_poses(_piper_pose_matrices(raw), PIPER_T_NATIVE_TO_CANONICAL) + for raw in (action_pose[:, :6], action_pose[:, 6:]) + ) + observation_closures = ( + _piper_closure(observation_joints[:, 6]), + _piper_closure(observation_joints[:, 13]), + ) + action_closures = ( + _piper_closure(action_joints[:, 6]), + _piper_closure(action_joints[:, 13]), + ) + state = np.concatenate( + ( + _pose_vectors(observation_poses[0]), + observation_closures[0][:, None], + _pose_vectors(observation_poses[1]), + observation_closures[1][:, None], + ), + axis=-1, + ) + valid = np.all(np.isfinite(state), axis=-1) + for values in action_poses: + valid &= np.all(np.isfinite(values), axis=(1, 2)) + for values in action_closures: + valid &= np.isfinite(values) + valid &= np.isfinite(timestamps) & np.isfinite(action_timestamps) + return _EpisodeArrays( + timestamps, + state, + observation_poses, + observation_closures, + valid, + action_timestamps=action_timestamps, + action_poses=action_poses, + action_closures=action_closures, + state_eef_frame="piper_base", + ) + + +def _read_mcap_images(source: Path, domain: str) -> dict[str, tuple[np.ndarray, list[bytes]]]: + from rosbags.highlevel import AnyReader + from rosbags.typesys import Stores, get_typestore + + metadata = json.loads((source / "episode_metadata.json").read_text(encoding="utf-8")) + bag = Path(metadata["source_bag"]) + topics = { + "base": "/piper/camera_front/color/image_raw/compressed", + "right_wrist": ( + "/piper/camera_left/color/image_raw/compressed" + if domain == "human" + else "/piper/camera_right/color/image_raw/compressed" + ), + } + streams: dict[str, list[tuple[float, bytes]]] = {slot: [] for slot in topics} + with AnyReader([bag], default_typestore=get_typestore(Stores.ROS2_JAZZY)) as reader: + by_topic = {connection.topic: connection for connection in reader.connections} + missing = set(topics.values()) - by_topic.keys() + if missing: + raise ValueError(f"{bag} is missing image topics {sorted(missing)}") + wanted = [by_topic[topic] for topic in topics.values()] + topic_to_slot = {topic: slot for slot, topic in topics.items()} + for connection, bag_timestamp, raw in reader.messages(connections=wanted): + message = reader.deserialize(raw, connection.msgtype) + streams[topic_to_slot[connection.topic]].append((bag_timestamp * 1e-9, bytes(message.data))) + return { + slot: (np.asarray([item[0] for item in rows], dtype=np.float64), [item[1] for item in rows]) + for slot, rows in streams.items() + } + + +def _video_frames(path: Path, indices: list[int]) -> dict[int, np.ndarray]: + wanted = set(indices) + result = {} + capture = cv2.VideoCapture(str(path)) + if not capture.isOpened(): + raise ValueError(f"Cannot open video {path}") + frame_index = 0 + while wanted: + ok, frame = capture.read() + if not ok: + break + if frame_index in wanted: + result[frame_index] = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) + wanted.remove(frame_index) + frame_index += 1 + capture.release() + if wanted: + raise ValueError(f"Missing video frames {sorted(wanted)[:10]} in {path}") + return result + + +class _AlignedConfig(tfds.core.BuilderConfig): + def __init__(self, *, name: str, manifest: Path, rows: list[dict]): + super().__init__(name=name, version="2.0.0", description=f"Atom aligned {name}") + self.manifest = manifest + self.rows = rows + + +class AtomAlignedRlds(tfds.core.GeneratorBasedBuilder): + VERSION = tfds.core.Version("2.0.0") + + def _info(self) -> tfds.core.DatasetInfo: + action_dim = CONFIG_DIMS[self.builder_config.name] + step = tfds.features.FeaturesDict( + { + "state": tfds.features.Tensor(shape=(action_dim,), dtype=np.float32), + "action": tfds.features.Tensor(shape=(action_dim,), dtype=np.float32), + "actions": tfds.features.Tensor(shape=(SOURCE_HORIZON, action_dim), dtype=np.float32), + "image_base": tfds.features.Image(shape=IMAGE_SHAPE, dtype=np.uint8, encoding_format="jpeg"), + "image_left_wrist": tfds.features.Image(shape=IMAGE_SHAPE, dtype=np.uint8, encoding_format="jpeg"), + "image_right_wrist": tfds.features.Image(shape=IMAGE_SHAPE, dtype=np.uint8, encoding_format="jpeg"), + "image_mask_base": np.bool_, + "image_mask_left_wrist": np.bool_, + "image_mask_right_wrist": np.bool_, + "prompt": tfds.features.Text(), + "eef_frame": tfds.features.Text(), + "is_first": np.bool_, + "is_last": np.bool_, + "is_terminal": np.bool_, + "discount": np.float32, + "reward": np.float32, + } + ) + return tfds.core.DatasetInfo( + builder=self, + description="Self-collected demonstrations with one-second current-EEF relative SE(3) actions.", + features=tfds.features.FeaturesDict( + { + "episode_metadata": tfds.features.FeaturesDict( + { + "source_episode": tfds.features.Text(), + "source_episode_id": tfds.features.Text(), + "source_start_index": np.int64, + "source_end_index": np.int64, + "split_policy": tfds.features.Text(), + "eef_frame": tfds.features.Text(), + "state_eef_frame": tfds.features.Text(), + "action_eef_frame": tfds.features.Text(), + "action_contract": tfds.features.Text(), + } + ), + "steps": tfds.features.Dataset(step), + } + ), + ) + + def _split_generators(self, dl_manager): + del dl_manager + split_rows = { + name: [row for row in self.builder_config.rows if row["split"] == name] + for name in ("train", "seen_test", "unseen_test") + } + if any(not rows for rows in split_rows.values()): + raise ValueError({name: len(rows) for name, rows in split_rows.items()}) + return {name: self._generate_examples(rows) for name, rows in split_rows.items()} + + def _generate_examples(self, rows: list[dict]) -> Iterator[tuple[str, dict[str, Any]]]: + blank = np.zeros(IMAGE_SHAPE, dtype=np.uint8) + config_name = self.builder_config.name + for row in rows: + source = Path(row["source"]) + if config_name.startswith("aligned_hangzhou"): + domain = "human" if "human" in config_name else "robot" + arrays = _load_hangzhou_arrays(source, domain) + streams = _read_mcap_images(source, domain) + + def images_for(index: int) -> tuple[np.ndarray, np.ndarray, np.ndarray, bool, bool, bool]: + base_idx = _nearest_index(streams["base"][0], arrays.timestamps[index]) + wrist_idx = _nearest_index(streams["right_wrist"][0], arrays.timestamps[index]) + base_ok = abs(streams["base"][0][base_idx] - arrays.timestamps[index]) <= 0.050 + wrist_ok = abs(streams["right_wrist"][0][wrist_idx] - arrays.timestamps[index]) <= 0.050 + return ( + _decode_jpeg(streams["base"][1][base_idx]) if base_ok else blank, + blank, + _decode_jpeg(streams["right_wrist"][1][wrist_idx]) if wrist_ok else blank, + base_ok, + False, + wrist_ok, + ) + elif config_name == "aligned_shenzhen_human_bimanual": + arrays = _load_shenzhen_arrays(source) + episode_metadata = json.loads((source / "episode_metadata.json").read_text(encoding="utf-8")) + original = Path(episode_metadata["source_episode"]) + all_indices = [int(index) for run in arrays.candidate_runs() for index in run] + video_frames = { + "base": _video_frames(original / "head" / "rgb.mp4", all_indices), + "left": _video_frames(original / "left_hand" / "rgb.mp4", all_indices), + "right": _video_frames(original / "right_hand" / "rgb.mp4", all_indices), + } + + def images_for(index: int) -> tuple[np.ndarray, np.ndarray, np.ndarray, bool, bool, bool]: + return video_frames["base"][index], video_frames["left"][index], video_frames["right"][index], True, True, True + + else: + arrays = _load_shenzhen_robot_arrays(source) + task_root = source.parents[2] + chunk = source.parent.name + episode_name = source.stem + all_indices = [int(index) for run in arrays.candidate_runs() for index in run] + video_frames = { + "base": _video_frames( + task_root / "videos" / chunk / "observation.images.head" / f"{episode_name}.mp4", + all_indices, + ), + "left": _video_frames( + task_root / "videos" / chunk / "observation.images.left_wrist" / f"{episode_name}.mp4", + all_indices, + ), + "right": _video_frames( + task_root / "videos" / chunk / "observation.images.right_wrist" / f"{episode_name}.mp4", + all_indices, + ), + } + + def images_for(index: int) -> tuple[np.ndarray, np.ndarray, np.ndarray, bool, bool, bool]: + return video_frames["base"][index], video_frames["left"][index], video_frames["right"][index], True, True, True + + for run_index, run in enumerate(arrays.candidate_runs()): + for chunk_index, start in enumerate(range(0, len(run), 256)): + chunk = run[start : start + 256] + episode_key = f"{row['episode_id'].replace('/', '__')}__run_{run_index:03d}__chunk_{chunk_index:03d}" + yield episode_key, { + "episode_metadata": { + "source_episode": str(source), + "source_episode_id": row["episode_id"], + "source_start_index": np.int64(chunk[0]), + "source_end_index": np.int64(chunk[-1] + 1), + "split_policy": "task-disjoint unseen; deterministic trajectory-disjoint seen", + "eef_frame": arrays.action_eef_frame, + "state_eef_frame": arrays.state_eef_frame, + "action_eef_frame": arrays.action_eef_frame, + "action_contract": "relative_se3_translation_rotvec_plus_absolute_closure_1s_50", + }, + "steps": self._steps(row, arrays, chunk, images_for), + } + + @staticmethod + def _steps(row: dict, arrays: _EpisodeArrays, indices: np.ndarray, images_for) -> Iterator[dict[str, Any]]: + for offset, index in enumerate(indices): + base, left, right, base_mask, left_mask, right_mask = images_for(int(index)) + actions = arrays.action_chunk(int(index)) + yield { + "state": arrays.state[index], + "action": actions[0], + "actions": actions, + "image_base": base, + "image_left_wrist": left, + "image_right_wrist": right, + "image_mask_base": base_mask, + "image_mask_left_wrist": left_mask, + "image_mask_right_wrist": right_mask, + "prompt": row["prompt"], + "eef_frame": arrays.action_eef_frame, + "is_first": offset == 0, + "is_last": offset == len(indices) - 1, + "is_terminal": False, + "discount": np.float32(1.0), + "reward": np.float32(0.0), + } + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--config-name", choices=tuple(CONFIG_DIMS), required=True) + parser.add_argument("--split-manifest", required=True, type=Path) + parser.add_argument("--output-data-dir", required=True, type=Path) + args = parser.parse_args() + manifest = json.loads(args.split_manifest.read_text(encoding="utf-8")) + rows = [row for row in manifest["episodes"] if row["dataset_id"] == args.config_name and row["split"] != "quality_excluded"] + if not rows: + raise ValueError(f"No eligible rows for {args.config_name}") + config = _AlignedConfig(name=args.config_name, manifest=args.split_manifest.resolve(), rows=rows) + builder = AtomAlignedRlds(data_dir=str(args.output_data_dir.resolve()), config=config) + target = Path(builder.data_dir) + if target.exists() and any(target.iterdir()): + raise FileExistsError(f"Refusing to overwrite existing builder {target}") + print(f"config={args.config_name} rows={len(rows)} target={target}") + builder.download_and_prepare() + print(f"Prepared self-collected RLDS builder: {builder.data_dir}") + + +if __name__ == "__main__": + main() diff --git a/scripts/count_cotrain_frames.py b/scripts/count_cotrain_frames.py index 514077a..ff13e5d 100644 --- a/scripts/count_cotrain_frames.py +++ b/scripts/count_cotrain_frames.py @@ -5,7 +5,7 @@ images (cheap). Use the printed frames to set sampling weights for an "N-epoch" run. Usage: - uv run --group rlds python scripts/count_cotrain_frames.py --config-name cotrain_all + uv run --group rlds python scripts/count_cotrain_frames.py --config-name cotrain_full_all_full_norm """ import numpy as np @@ -25,7 +25,6 @@ def cli_main(config_name: str) -> None: for ds in datasets: builder = tfds.builder_from_directory(ds.builder_dir) split = ds.train_split - n_eps = builder.info.splits[split].num_examples # Read ONLY episode_metadata/num_frames (no steps -> no image decode). dset = builder.as_dataset(split=split, shuffle_files=False) frames = 0 diff --git a/scripts/download_paligemma_pt224.sh b/scripts/download_paligemma_pt224.sh new file mode 100755 index 0000000..52332ac --- /dev/null +++ b/scripts/download_paligemma_pt224.sh @@ -0,0 +1,110 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Download the exact big_vision JAX checkpoint expected by +# LocalPaliGemmaWeightLoader. This is not the PyTorch safetensors checkpoint. +# +# Usage: +# export HF_TOKEN=hf_... +# bash scripts/download_paligemma_pt224.sh [destination_directory] +# +# Default destination: +# /data/models/paligemma +# +# The Hugging Face account behind HF_TOKEN must already have access to: +# google/paligemma-3b-pt-224-jax + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" +DEST_DIR="${1:-/data/models/paligemma}" + +MODEL_REPO="google/paligemma-3b-pt-224-jax" +REMOTE_FILENAME="paligemma-3b-pt-224.npz" +LOCAL_FILENAME="pt_224.npz" +HF_MIRROR_ENDPOINT="https://hf-mirror.com" + +# Do not use a VPN or HTTP(S) proxy for either the mirror request or redirected +# object-storage downloads. +unset HTTP_PROXY HTTPS_PROXY ALL_PROXY +unset http_proxy https_proxy all_proxy + +export HF_ENDPOINT="${HF_MIRROR_ENDPOINT}" +export HF_HUB_DISABLE_TELEMETRY=1 +export HF_HUB_ETAG_TIMEOUT="${HF_HUB_ETAG_TIMEOUT:-60}" +export HF_HUB_DOWNLOAD_TIMEOUT="${HF_HUB_DOWNLOAD_TIMEOUT:-600}" +export HF_HOME="${HF_HOME:-${DEST_DIR}/.hf_cache}" + +if [[ -z "${HF_TOKEN:-}" ]]; then + echo "HF_TOKEN is not set." >&2 + echo "Accept access to ${MODEL_REPO}, then export a read token:" >&2 + echo " export HF_TOKEN=hf_..." >&2 + exit 2 +fi + +HF_CLI="${REPO_DIR}/.venv/bin/huggingface-cli" +if [[ ! -x "${HF_CLI}" ]]; then + HF_CLI="$(command -v huggingface-cli || true)" +fi +if [[ -z "${HF_CLI}" || ! -x "${HF_CLI}" ]]; then + echo "huggingface-cli was not found. Install the Atom-0 environment first." >&2 + exit 2 +fi + +mkdir -p "${DEST_DIR}" "${HF_HOME}" + +echo "Downloading ${MODEL_REPO}/${REMOTE_FILENAME}" +echo "Mirror: ${HF_ENDPOINT}" +echo "Proxy variables: cleared" +echo "Destination: ${DEST_DIR}" + +# huggingface_hub resumes an interrupted download from its local metadata/cache. +"${HF_CLI}" download \ + "${MODEL_REPO}" \ + "${REMOTE_FILENAME}" \ + --repo-type model \ + --local-dir "${DEST_DIR}" + +DOWNLOADED_PATH="${DEST_DIR}/${REMOTE_FILENAME}" +LOADER_PATH="${DEST_DIR}/${LOCAL_FILENAME}" + +if [[ ! -s "${DOWNLOADED_PATH}" ]]; then + echo "Download did not produce a non-empty file: ${DOWNLOADED_PATH}" >&2 + exit 1 +fi + +if [[ -e "${LOADER_PATH}" && ! -L "${LOADER_PATH}" ]]; then + echo "Refusing to replace existing regular file: ${LOADER_PATH}" >&2 + echo "The downloaded checkpoint is available at: ${DOWNLOADED_PATH}" >&2 + exit 2 +fi +ln -sfn "${REMOTE_FILENAME}" "${LOADER_PATH}" + +# Read only the NPZ directory and parameter names; arrays are not loaded into RAM. +"${REPO_DIR}/.venv/bin/python" - "${LOADER_PATH}" <<'PY' +import pathlib +import sys + +import numpy as np + +path = pathlib.Path(sys.argv[1]) +with np.load(path, allow_pickle=False) as checkpoint: + keys = checkpoint.files + has_image = any(key.startswith("params/img/") for key in keys) + has_llm = any(key.startswith("params/llm/") for key in keys) + if not has_image or not has_llm: + raise SystemExit( + f"Unexpected PaliGemma NPZ layout: image={has_image}, llm={has_llm}, " + f"num_keys={len(keys)}" + ) + print(f"NPZ layout OK: {len(keys)} arrays; image=True; llm=True") +PY + +du -h "${DOWNLOADED_PATH}" + +if [[ "${VERIFY_SHA256:-0}" == "1" ]]; then + sha256sum "${DOWNLOADED_PATH}" | tee "${DOWNLOADED_PATH}.sha256" +fi + +echo "Download complete." +echo "Use this path for VLM initialization:" +echo " ${LOADER_PATH}" diff --git a/scripts/preflight_cotrain_baige.py b/scripts/preflight_cotrain_baige.py new file mode 100755 index 0000000..c6021f7 --- /dev/null +++ b/scripts/preflight_cotrain_baige.py @@ -0,0 +1,179 @@ +#!/usr/bin/env python +"""Fail-fast validation for the Baige co-training configurations.""" + +import argparse +import json +import os +from pathlib import Path + +import numpy as np + +from openpi.cotrain import action_space +from openpi.cotrain import config +from openpi.shared import normalize + +FIX_EXCLUDED_DATASET_IDS = { + "robocoin_leju_robot_s54_a54", + "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "robocoin_agilex_decoupled_magic_s26_a26", +} + + +def resolve_init_params_path(path: Path) -> Path: + """Resolve a PaliGemma NPZ, released params, or training checkpoint path.""" + path = path.resolve() + if path.is_file() and path.suffix == ".npz": + with np.load(path, allow_pickle=False) as checkpoint: + keys = checkpoint.files + assert any(key.startswith("params/img/") for key in keys), f"{path}: missing params/img" + assert any(key.startswith("params/llm/") for key in keys), f"{path}: missing params/llm" + return path + if (path / "_CHECKPOINT_METADATA").is_file() and (path / "params" / "manifest.ocdbt").is_file(): + return path / "params" + if (path / "manifest.ocdbt").is_file() and ( + (path / "_CHECKPOINT_METADATA").is_file() or (path.parent / "_CHECKPOINT_METADATA").is_file() + ): + return path + raise AssertionError( + f"Invalid PARAMS_PATH={path}: expected a PaliGemma .npz, released params, a training step, or its params/ child" + ) + + +def builder_provenance_matches(recorded: Path, actual: Path) -> bool: + """Accept the same builder mounted below a different cloud RLDS root.""" + if recorded == actual: + return True + rlds_root = Path(os.environ.get("ATOM_RLDS_ROOT", "/mnt/data/RLDS")).resolve() + try: + relative_builder = actual.relative_to(rlds_root) + except ValueError: + return False + return recorded.as_posix().endswith(relative_builder.as_posix()) + + +def validate(config_name: str, assets_base: Path, params_path: Path) -> None: + params_path = resolve_init_params_path(params_path) + cfg = config.get_config(config_name) + datasets = cfg.data.datasets + ids = [dataset.uid for dataset in datasets] + assert "piper30" in ids + expected_counts = { + "cotrain_real_only": 2, + "cotrain_real_only_legacy32": 2, + "cotrain_piper30_legacy32_aliyun_replay": 1, + "cotrain_real_only_legacy32_aliyun_recipe": 2, + "cotrain_real_only_unified80_aliyun_recipe": 2, + "cotrain_real_robot": 37, + "cotrain_real_robot_fix": 34, + "cotrain_full_all_full_norm": 39, + "egoscale_stage3_robot": 2, + "egoscale_stage3_real_robot_fix": 34, + "egoscale_stage4_piper_finetune": 2, + } + expected_count = expected_counts[config_name] + assert len(ids) == expected_count, (config_name, len(ids), expected_count) + if config_name != "cotrain_piper30_legacy32_aliyun_replay": + assert "piper2" in ids + if config_name == "cotrain_full_all_full_norm": + assert sum(dataset_id.startswith("egoverse_") for dataset_id in ids) == 5 + else: + assert not any(dataset_id.startswith("egoverse_") for dataset_id in ids) + if config_name in { + "cotrain_real_robot_fix", + "cotrain_full_all_full_norm", + "egoscale_stage3_real_robot_fix", + }: + assert set(ids).isdisjoint(FIX_EXCLUDED_DATASET_IDS) + + if params_path.is_dir(): + assert (params_path / "manifest.ocdbt").is_file(), params_path / "manifest.ocdbt" + + total_frames = 0 + degenerate = [] + for dataset in datasets: + builder_dir = Path(dataset.builder_dir) + assert (builder_dir / "dataset_info.json").is_file(), builder_dir + # Match CotrainTrainConfig.assets_dirs and CotrainDataConfig.create: + # a staged config may explicitly reuse a baseline's complete norm assets. + source_config = ( + cfg.data.norm_stats_source_config + or cfg.norm_stats_assets_name + or config_name + ) + directory = assets_base / source_config / dataset.uid + for filename in ("norm_stats.json", "norm_stats_meta.json", "unified_action_space.json"): + assert (directory / filename).is_file(), directory / filename + + spec = action_space.UNIFIED_ACTION_SPECS[dataset.uid] + action_space.validate_metadata(directory, spec) + stats = normalize.load(directory) + if not cfg.data.unified_action_space: + stats = config.project_unified_norm_stats_to_native(stats, dataset.uid) + meta = json.loads((directory / "norm_stats_meta.json").read_text()) + assert builder_provenance_matches(Path(meta["builder_dir"]), builder_dir), ( + dataset.uid, + meta["builder_dir"], + builder_dir, + ) + assert meta["num_frames"] > 0, dataset.uid + total_frames += int(meta["num_frames"]) + + if cfg.data.unified_action_space: + state_mask = np.zeros(action_space.UNIFIED_ACTION_DIM, dtype=bool) + state_mask[list(spec.state_target_slots)] = True + masks = (("state", state_mask), ("actions", np.asarray(spec.action_mask, dtype=bool))) + else: + masks = ( + ("state", np.ones(dataset.action_dim, dtype=bool)), + ("actions", np.ones(dataset.action_dim, dtype=bool)), + ) + for key, active in masks: + value = stats[key] + arrays = {field: np.asarray(getattr(value, field)) for field in ("mean", "std", "q01", "q99")} + expected_dim = action_space.UNIFIED_ACTION_DIM if cfg.data.unified_action_space else dataset.action_dim + assert all(array.shape == (expected_dim,) for array in arrays.values()) + assert all(np.isfinite(array).all() for array in arrays.values()) + inactive = ~active + if inactive.any(): + assert np.allclose(arrays["mean"][inactive], 0) + assert np.allclose(arrays["std"][inactive], 1) + assert np.allclose(arrays["q01"][inactive], -1) + assert np.allclose(arrays["q99"][inactive], 1) + bad = np.flatnonzero(active & (arrays["q99"] <= arrays["q01"])) + if bad.size: + degenerate.append(f"{dataset.uid}:{key}:{bad.tolist()}") + + print( + f"PASS {config_name}: datasets={len(ids)}, source_frames={total_frames:,}, " + f"init_params={params_path}, init_kind={'paligemma-vlm' if params_path.is_file() else 'orbax-checkpoint'}" + ) + for item in degenerate: + print(f"WARN degenerate active quantile (smoke test must remain finite): {item}") + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument( + "config", + choices=( + "cotrain_real_only", + "cotrain_real_only_legacy32", + "cotrain_piper30_legacy32_aliyun_replay", + "cotrain_real_only_legacy32_aliyun_recipe", + "cotrain_real_only_unified80_aliyun_recipe", + "cotrain_real_robot", + "cotrain_real_robot_fix", + "cotrain_full_all_full_norm", + "egoscale_stage3_robot", + "egoscale_stage3_real_robot_fix", + "egoscale_stage4_piper_finetune", + ), + ) + parser.add_argument("--assets-base", type=Path, default=Path("assets")) + parser.add_argument("--params-path", type=Path, default=Path(os.environ["PARAMS_PATH"])) + args = parser.parse_args() + validate(args.config, args.assets_base.resolve(), args.params_path.resolve()) + + +if __name__ == "__main__": + main() diff --git a/scripts/run_egoscale_stage.sh b/scripts/run_egoscale_stage.sh new file mode 100755 index 0000000..f08467e --- /dev/null +++ b/scripts/run_egoscale_stage.sh @@ -0,0 +1,108 @@ +#!/usr/bin/env bash +set -euo pipefail + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +PYTHON_BIN="${PYTHON_BIN:-${REPO_DIR}/.venv/bin/python}" +STAGE="${STAGE:-stage1_ego}" +ATOM_RLDS_ROOT="${ATOM_RLDS_ROOT:-/mnt/data/RLDS}" +ASSETS_BASE_DIR="${ASSETS_BASE_DIR:-${REPO_DIR}/assets}" +CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-${REPO_DIR}/checkpoints}" +RESUME="${RESUME:-0}" +if [[ -z "${OVERWRITE+x}" ]]; then + if [[ "${RESUME}" == "1" ]]; then + OVERWRITE=0 + else + OVERWRITE=1 + fi +fi + +if [[ "${RESUME}" == "1" && "${OVERWRITE}" == "1" ]]; then + echo "RESUME=1 and OVERWRITE=1 are mutually exclusive" >&2 + exit 2 +fi + +case "${STAGE}" in + stage1_ego) CONFIG_NAME="egoscale_stage1_ego" ;; + stage2_robot) CONFIG_NAME="egoscale_stage2_robot" ;; + stage2_aligned) CONFIG_NAME="egoscale_stage2_aligned" ;; + stage2_egomimic) CONFIG_NAME="egoscale_stage2_egomimic" ;; + stage2_egomimic_all) CONFIG_NAME="egoscale_stage2_egomimic_all" ;; + stage3_robot) CONFIG_NAME="egoscale_stage3_robot" ;; + stage3_real_robot_fix) CONFIG_NAME="egoscale_stage3_real_robot_fix" ;; + stage4_piper_finetune) CONFIG_NAME="egoscale_stage4_piper_finetune" ;; + *) echo "Unknown STAGE=${STAGE}" >&2; exit 2 ;; +esac + +if [[ ! -x "${PYTHON_BIN}" ]]; then + echo "Python environment not found: ${PYTHON_BIN}" >&2 + exit 1 +fi +if [[ "${STAGE}" == "stage1_ego" ]]; then + INIT_PARAMS_PATH="${PARAMS_PATH:-${ATOM_PI05_BASE_PARAMS:-}}" + : "${INIT_PARAMS_PATH:?Set PARAMS_PATH to the local PaliGemma .npz (preferred) or released params directory}" + ATOM_PI05_BASE_PARAMS="${INIT_PARAMS_PATH}" +else + : "${PARAMS_PATH:?Set PARAMS_PATH to the previous-stage /params directory}" + INIT_PARAMS_PATH="${PARAMS_PATH}" +fi + +export ATOM_RLDS_ROOT +export ATOM_PI05_BASE_PARAMS="${ATOM_PI05_BASE_PARAMS:-}" +export PYTHONPATH="${REPO_DIR}/src:${REPO_DIR}/packages/openpi-client/src:${PYTHONPATH:-}" +export XLA_PYTHON_CLIENT_MEM_FRACTION="${XLA_PYTHON_CLIENT_MEM_FRACTION:-0.90}" +export TF_FORCE_GPU_ALLOW_GROWTH=true + +PREFLIGHT_ARGS=( + --config-name "${CONFIG_NAME}" + --assets-base-dir "${ASSETS_BASE_DIR}" +) +PREFLIGHT_ARGS+=(--params-path "${INIT_PARAMS_PATH}") +"${PYTHON_BIN}" "${REPO_DIR}/scripts/check_egoscale_setup.py" "${PREFLIGHT_ARGS[@]}" + +if [[ "${PREFLIGHT_ONLY:-0}" == "1" ]]; then + echo "Preflight-only mode complete; training was not started." + exit 0 +fi + +TRAIN_ARGS=( + "${CONFIG_NAME}" + --exp-name "${EXP_NAME:-${CONFIG_NAME}_smoke}" + --assets-base-dir "${ASSETS_BASE_DIR}" + --checkpoint-base-dir "${CHECKPOINT_BASE_DIR}" + --fsdp-devices "${FSDP_DEVICES:-1}" + --batch-size "${BATCH_SIZE:-2}" + --num-train-steps "${NUM_TRAIN_STEPS:-20}" + --log-interval "${LOG_INTERVAL:-1}" + --save-interval "${SAVE_INTERVAL:-10}" + --eval-interval "${EVAL_INTERVAL:-10}" + --num-val-batches "${NUM_VAL_BATCHES:-1}" + --num-action-mse-batches "${NUM_ACTION_MSE_BATCHES:-1}" + --shuffle-buffer-size "${SHUFFLE_BUFFER_SIZE:-256}" + --data-num-parallel-reads "${DATA_NUM_PARALLEL_READS:-1}" + --data-num-parallel-calls "${DATA_NUM_PARALLEL_CALLS:-2}" +) +if [[ "${RESUME}" == "1" ]]; then + TRAIN_ARGS+=(--resume) +elif [[ "${OVERWRITE}" == "1" ]]; then + TRAIN_ARGS+=(--overwrite) +fi +TRAIN_ARGS+=(--weight-loader.params-path "${INIT_PARAMS_PATH}") +if [[ "${WANDB_ENABLED:-0}" == "0" ]]; then + TRAIN_ARGS+=(--no-wandb-enabled) +else + : "${WANDB_API_KEY:?Set WANDB_API_KEY when WANDB_ENABLED=1}" +fi +if [[ "${CHECKPOINT_PARAMS_ONLY:-0}" == "1" ]]; then + if [[ "${RESUME}" == "1" ]]; then + echo "CHECKPOINT_PARAMS_ONLY=1 cannot be combined with RESUME=1" >&2 + exit 2 + fi + TRAIN_ARGS+=(--checkpoint-params-only) +fi +if [[ "${RUN_ACTION_MSE:-0}" == "0" ]]; then + TRAIN_ARGS+=(--no-run-action-mse --no-viz-action-traj --val-flow-loss-mode fixed_seed) +fi + +cd "${REPO_DIR}" +echo "Launching ${CONFIG_NAME} on host $(hostname); do not wrap this JAX command in torchrun." +"${PYTHON_BIN}" -u scripts/train_cotrain.py "${TRAIN_ARGS[@]}" "$@" diff --git a/scripts/run_egoscale_stage1_dlc_full.sh b/scripts/run_egoscale_stage1_dlc_full.sh new file mode 100755 index 0000000..fdcfd7d --- /dev/null +++ b/scripts/run_egoscale_stage1_dlc_full.sh @@ -0,0 +1,54 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Production Stage 1 profile for Alibaba PAI DLC. +# DLC must start exactly one process per node and provide WORLD_SIZE/RANK and +# MASTER_ADDR/MASTER_PORT for multi-node jobs. Do not wrap this script in torchrun. + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" + +export PYTHON_BIN="${PYTHON_BIN:-${REPO_DIR}/.venv/bin/python}" +export STAGE=stage1_ego +export ATOM_RLDS_ROOT="${ATOM_RLDS_ROOT:-/mnt/workspace/RLDS}" +export ATOM_PI05_BASE_PARAMS="${ATOM_PI05_BASE_PARAMS:-/mnt/workspace/cache/openpi/openpi-assets/checkpoints/pi05_base/params}" +export ASSETS_BASE_DIR="${ASSETS_BASE_DIR:-${REPO_DIR}/assets}" +export CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-/mnt/workspace/junhe/checkpoints}" +export JAX_COMPILATION_CACHE_DIR="${JAX_COMPILATION_CACHE_DIR:-/mnt/workspace/junhe/cache/jax}" + +# The production recipe is a global batch of 512 on 2 nodes x 8 GPUs. The +# training entrypoint verifies divisibility against the actual global device count. +export FSDP_DEVICES="${FSDP_DEVICES:-8}" +export BATCH_SIZE="${BATCH_SIZE:-512}" +export NUM_TRAIN_STEPS="${NUM_TRAIN_STEPS:-100000}" +export LOG_INTERVAL="${LOG_INTERVAL:-100}" +export SAVE_INTERVAL="${SAVE_INTERVAL:-5000}" +export EVAL_INTERVAL="${EVAL_INTERVAL:-1000}" +export NUM_VAL_BATCHES="${NUM_VAL_BATCHES:-10}" +export NUM_ACTION_MSE_BATCHES="${NUM_ACTION_MSE_BATCHES:-2}" +export SHUFFLE_BUFFER_SIZE="${SHUFFLE_BUFFER_SIZE:-50000}" +export DATA_NUM_PARALLEL_READS="${DATA_NUM_PARALLEL_READS:--1}" +export DATA_NUM_PARALLEL_CALLS="${DATA_NUM_PARALLEL_CALLS:--1}" +export WANDB_ENABLED="${WANDB_ENABLED:-1}" +export RUN_ACTION_MSE="${RUN_ACTION_MSE:-1}" +export RESUME="${RESUME:-0}" +# Default to non-destructive initialization. A new experiment directory does not +# need --overwrite; resuming requires RESUME=1 and the same EXP_NAME. +export OVERWRITE="${OVERWRITE:-0}" + +if [[ "${CHECKPOINT_PARAMS_ONLY:-0}" == "1" ]]; then + echo "DLC full training requires complete optimizer checkpoints; CHECKPOINT_PARAMS_ONLY must be 0." >&2 + exit 2 +fi +export CHECKPOINT_PARAMS_ONLY=0 + +if [[ "${PREFLIGHT_ONLY:-0}" != "1" ]]; then + : "${EXP_NAME:?Set a unique EXP_NAME for a new run, or the existing name with RESUME=1}" +fi + +if (( ${WORLD_SIZE:-1} > 1 )); then + : "${RANK:?DLC must provide node-level RANK for multi-node training}" + : "${MASTER_ADDR:?DLC must provide MASTER_ADDR for multi-node training}" +fi + +echo "DLC Stage 1 profile: world_size=${WORLD_SIZE:-1} fsdp=${FSDP_DEVICES} global_batch=${BATCH_SIZE} steps=${NUM_TRAIN_STEPS}" +exec bash "${REPO_DIR}/scripts/run_egoscale_stage.sh" "$@" diff --git a/scripts/run_egoscale_stage3_piper_dlc_full.sh b/scripts/run_egoscale_stage3_piper_dlc_full.sh new file mode 100755 index 0000000..9f69e77 --- /dev/null +++ b/scripts/run_egoscale_stage3_piper_dlc_full.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Alibaba PAI DLC profile for the Stage 3 Piper-only checkpoint fine-tune. +# DLC starts one Python process per node. Do not wrap this JAX command in torchrun. + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" + +export PYTHON_BIN="${PYTHON_BIN:-${REPO_DIR}/.venv/bin/python}" +export STAGE=stage3_robot +export ATOM_RLDS_ROOT="${ATOM_RLDS_ROOT:-/mnt/data/RLDS}" +export ASSETS_BASE_DIR="${ASSETS_BASE_DIR:-${REPO_DIR}/assets}" +export CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-${REPO_DIR}/checkpoints}" +export JAX_COMPILATION_CACHE_DIR="${JAX_COMPILATION_CACHE_DIR:-/mnt/data/junhe/cache/jax}" + +# Stage 3 must initialize parameters from Stage 2 while creating a fresh optimizer +# and step counter. PARAMS_PATH must be the completed Stage 2 /params path. +: "${PARAMS_PATH:?Set PARAMS_PATH to the Stage 2 20000/params directory}" + +# Formal-training-1 recipe: Piper30 + Piper2, Unified80, one 8-GPU node. +export FSDP_DEVICES="${FSDP_DEVICES:-4}" +export BATCH_SIZE="${BATCH_SIZE:-512}" +export VAL_BATCH_SIZE="${VAL_BATCH_SIZE:-96}" +export NUM_TRAIN_STEPS="${NUM_TRAIN_STEPS:-20000}" +export LOG_INTERVAL="${LOG_INTERVAL:-100}" +export SAVE_INTERVAL="${SAVE_INTERVAL:-5000}" +export EVAL_INTERVAL="${EVAL_INTERVAL:-1000}" +export NUM_VAL_BATCHES="${NUM_VAL_BATCHES:-10}" +export NUM_ACTION_MSE_BATCHES="${NUM_ACTION_MSE_BATCHES:-2}" +export SHUFFLE_BUFFER_SIZE="${SHUFFLE_BUFFER_SIZE:-50000}" +export DATA_NUM_PARALLEL_READS="${DATA_NUM_PARALLEL_READS:-1}" +export DATA_NUM_PARALLEL_CALLS="${DATA_NUM_PARALLEL_CALLS:-2}" +export WANDB_ENABLED="${WANDB_ENABLED:-1}" +export RUN_ACTION_MSE="${RUN_ACTION_MSE:-1}" +export RESUME="${RESUME:-0}" +export OVERWRITE="${OVERWRITE:-0}" + +if [[ "${CHECKPOINT_PARAMS_ONLY:-0}" == "1" ]]; then + echo "DLC formal training requires full optimizer checkpoints; CHECKPOINT_PARAMS_ONLY must be 0." >&2 + exit 2 +fi +export CHECKPOINT_PARAMS_ONLY=0 + +if [[ "${PREFLIGHT_ONLY:-0}" != "1" ]]; then + : "${EXP_NAME:?Set a new EXP_NAME; do not reuse the Stage 2 experiment name}" +fi + +if (( ${WORLD_SIZE:-1} > 1 )); then + : "${RANK:?DLC must provide node-level RANK for multi-node training}" + : "${MASTER_ADDR:?DLC must provide MASTER_ADDR for multi-node training}" +fi + +echo "DLC Stage 3 Piper fine-tune: world_size=${WORLD_SIZE:-1} fsdp=${FSDP_DEVICES} global_batch=${BATCH_SIZE} steps=${NUM_TRAIN_STEPS}" +exec bash "${REPO_DIR}/scripts/run_egoscale_stage.sh" \ + --val-batch-size "${VAL_BATCH_SIZE}" \ + --val-flow-loss-mode fixed_seed \ + "$@" diff --git a/scripts/run_egoscale_stage3_piper_dlc_smoke.sh b/scripts/run_egoscale_stage3_piper_dlc_smoke.sh new file mode 100755 index 0000000..c9ae912 --- /dev/null +++ b/scripts/run_egoscale_stage3_piper_dlc_smoke.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +set -Eeuo pipefail + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +DIAG_LOG="${STAGE3_DLC_LOG:-${REPO_DIR}/stage3_dlc_smoke.log}" +exec > >(tee -a "${DIAG_LOG}") 2>&1 +trap 'rc=$?; echo "FAILED rc=${rc} line=${LINENO} command=${BASH_COMMAND}"; exit "${rc}"' ERR + +echo "===== Stage 3 DLC smoke $(date --iso-8601=seconds) =====" +cd "${REPO_DIR}" +echo "commit=$(git rev-parse HEAD)" +nvidia-smi -L + +if [[ ! -x .venv/bin/python ]]; then + echo "Venv missing; rebuilding it in the DLC container." + bash scripts/setup_aliyun_dsw_env.sh +fi + +.venv/bin/python - <<'PY' +import jax + +devices = jax.devices() +print("JAX devices:", devices, flush=True) +if len(devices) != 8: + raise RuntimeError(f"Expected 8 GPUs, got {len(devices)}: {devices}") +PY + +export ATOM_RLDS_ROOT="${ATOM_RLDS_ROOT:-/mnt/data/RLDS}" +export PARAMS_PATH="${PARAMS_PATH:-${REPO_DIR}/checkpoints/egoscale_stage2_aligned/stage2_aligned_relative_se3_baige_1x8_20260810_v1/20000/params}" +export CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-${REPO_DIR}/checkpoints}" + +test -f "${PARAMS_PATH}/manifest.ocdbt" +test -f "${PARAMS_PATH}/_METADATA" + +: "${WANDB_API_KEY:?Inject WANDB_API_KEY through a DLC Secret environment variable}" +export WANDB_ENTITY="${WANDB_ENTITY:-junhentu-nanyang-technological-university-singapore}" +export WANDB_MODE="${WANDB_MODE:-online}" +export WANDB_ENABLED=1 + +export EXP_NAME="${EXP_NAME:-stage3_piper_from_stage2_20000_dlc_1x8_b512_smoke100_20260812_v4}" +export FSDP_DEVICES=4 +export BATCH_SIZE=512 +export VAL_BATCH_SIZE=96 +export NUM_TRAIN_STEPS=100 +export SAVE_INTERVAL=99 +export EVAL_INTERVAL=50 +export NUM_VAL_BATCHES=1 +export NUM_ACTION_MSE_BATCHES=1 +export RUN_ACTION_MSE=0 +export SHUFFLE_BUFFER_SIZE=1024 +export DATA_NUM_PARALLEL_READS=1 +export DATA_NUM_PARALLEL_CALLS=2 +export CHECKPOINT_PARAMS_ONLY=0 +export RESUME=0 +export OVERWRITE=0 + +echo "Launching ${EXP_NAME}" +exec bash scripts/run_egoscale_stage3_piper_dlc_full.sh diff --git a/scripts/run_egoscale_stage3_piper_dlc_train.sh b/scripts/run_egoscale_stage3_piper_dlc_train.sh new file mode 100755 index 0000000..1d1f127 --- /dev/null +++ b/scripts/run_egoscale_stage3_piper_dlc_train.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash +set -Eeuo pipefail + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +TRAIN_LOG="${STAGE3_DLC_LOG:-${REPO_DIR}/stage3_dlc_train.log}" +exec > >(tee -a "${TRAIN_LOG}") 2>&1 +trap 'rc=$?; echo "FAILED rc=${rc} line=${LINENO} command=${BASH_COMMAND}"; exit "${rc}"' ERR + +echo "===== Stage 3 DLC formal train $(date --iso-8601=seconds) =====" +cd "${REPO_DIR}" +echo "commit=$(git rev-parse HEAD)" +nvidia-smi -L + +if [[ ! -x .venv/bin/python ]]; then + echo "Venv missing; rebuilding it in the DLC container." + bash scripts/setup_aliyun_dsw_env.sh +fi + +.venv/bin/python - <<'PY' +import jax + +devices = jax.devices() +print("JAX devices:", devices, flush=True) +if len(devices) != 8: + raise RuntimeError(f"Expected 8 GPUs, got {len(devices)}: {devices}") +PY + +export ATOM_RLDS_ROOT="${ATOM_RLDS_ROOT:-/mnt/data/RLDS}" +export PARAMS_PATH="${PARAMS_PATH:-${REPO_DIR}/checkpoints/egoscale_stage2_aligned/stage2_aligned_relative_se3_baige_1x8_20260810_v1/20000/params}" +export CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-${REPO_DIR}/checkpoints}" + +test -f "${PARAMS_PATH}/manifest.ocdbt" +test -f "${PARAMS_PATH}/_METADATA" + +: "${WANDB_API_KEY:?Inject WANDB_API_KEY through a DLC Secret environment variable}" +export WANDB_ENTITY="${WANDB_ENTITY:-junhentu-nanyang-technological-university-singapore}" +export WANDB_MODE="${WANDB_MODE:-online}" +export WANDB_ENABLED=1 + +# A formal run must never reuse the smoke experiment or its optimizer state. +export EXP_NAME="${EXP_NAME:-stage3_piper_from_stage2_20000_dlc_1x8_b512_20260812_v2}" +export FSDP_DEVICES=4 +export BATCH_SIZE=512 +export VAL_BATCH_SIZE=96 +export NUM_TRAIN_STEPS=20000 +export SAVE_INTERVAL=5000 +export EVAL_INTERVAL=1000 +export NUM_VAL_BATCHES=10 +export NUM_ACTION_MSE_BATCHES=2 +export RUN_ACTION_MSE=1 +export SHUFFLE_BUFFER_SIZE=50000 +export DATA_NUM_PARALLEL_READS=1 +export DATA_NUM_PARALLEL_CALLS=2 +export CHECKPOINT_PARAMS_ONLY=0 +export RESUME=0 +export OVERWRITE=0 + +EXPERIMENT_DIR="${CHECKPOINT_BASE_DIR}/egoscale_stage3_robot/${EXP_NAME}" +if [[ -e "${EXPERIMENT_DIR}" ]]; then + echo "Refusing to reuse existing formal experiment directory: ${EXPERIMENT_DIR}" >&2 + exit 2 +fi + +echo "Launching ${EXP_NAME}" +exec bash scripts/run_egoscale_stage3_piper_dlc_full.sh diff --git a/scripts/setup_aliyun_dsw_env.sh b/scripts/setup_aliyun_dsw_env.sh new file mode 100755 index 0000000..511b1f5 --- /dev/null +++ b/scripts/setup_aliyun_dsw_env.sh @@ -0,0 +1,86 @@ +#!/usr/bin/env bash +set -euo pipefail + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +cd "${REPO_DIR}" +export PATH="${HOME}/.local/bin:${PATH}" +export UV_DEFAULT_INDEX="${UV_DEFAULT_INDEX:-https://mirrors.aliyun.com/pypi/simple}" +export UV_CACHE_DIR="${UV_CACHE_DIR:-${HOME}/.cache/uv}" +export UV_HTTP_TIMEOUT="${UV_HTTP_TIMEOUT:-600}" +export UV_LINK_MODE="${UV_LINK_MODE:-copy}" + +if ! command -v python3.11 >/dev/null 2>&1; then + echo "Python 3.11 is required. Select a PAI image tagged py311." >&2 + exit 1 +fi +if ! command -v uv >/dev/null 2>&1; then + python3.11 -m pip install --user uv +fi + +export GIT_LFS_SKIP_SMUDGE=1 +# pyproject.toml keeps an optional local wheel source for environments that ship +# a lightweight rerun stub. Fresh Git clones do not contain this ignored directory; +# uv requires every find-links path to exist even when it resolves rerun-sdk from PyPI. +mkdir -p third_party/rerun-stub/dist + +# Keep the environment on the instance-local overlay. Installing hundreds of +# Python package files directly into the NAS-mounted repository is much slower. +VENV_DIR="${ATOM_VENV_DIR:-${HOME}/.cache/atom0/venvs/Atom-0-py311}" +export UV_PROJECT_ENVIRONMENT="${VENV_DIR}" +if [[ -d .venv && ! -L .venv && "$(realpath .venv)" != "$(realpath -m "${VENV_DIR}")" ]]; then + echo "Found a NAS-backed .venv directory at ${REPO_DIR}/.venv." >&2 + echo "Move it aside once (for example: mv .venv .venv.nfs-partial) and rerun." >&2 + exit 2 +fi +mkdir -p "$(dirname "${VENV_DIR}")" + +if [[ "${UV_VENV_CLEAR:-0}" == "1" ]]; then + uv venv "${VENV_DIR}" --clear --python 3.11 +elif [[ -x "${VENV_DIR}/bin/python" ]]; then + VENV_PYTHON_VERSION="$("${VENV_DIR}/bin/python" -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')" + if [[ "${VENV_PYTHON_VERSION}" != "3.11" ]]; then + echo "${VENV_DIR} uses Python ${VENV_PYTHON_VERSION}; rerun with UV_VENV_CLEAR=1" >&2 + exit 1 + fi + echo "Reusing existing Python ${VENV_PYTHON_VERSION} environment at ${VENV_DIR}" +else + uv venv "${VENV_DIR}" --python 3.11 +fi + +if [[ ! -e .venv && ! -L .venv ]]; then + ln -s "${VENV_DIR}" .venv +elif [[ -L .venv && "$(realpath -m .venv)" != "$(realpath -m "${VENV_DIR}")" ]]; then + echo ".venv points to $(readlink .venv), expected ${VENV_DIR}" >&2 + exit 1 +fi + +EXPORT_ARGS=(--frozen --group rlds --no-hashes --no-emit-project) +if [[ "${INSTALL_DEV:-0}" == "1" ]]; then + EXPORT_ARGS+=(--group dev) +fi + +# `uv sync --frozen` follows wheel URLs embedded in uv.lock, which point at the +# slow files.pythonhosted.org CDN even when UV_DEFAULT_INDEX is set. Exporting +# the same locked versions as named requirements lets uv fetch the identical +# releases from the Alibaba mirror without rewriting uv.lock. +REQUIREMENTS_FILE="${UV_CACHE_DIR}/atom0-locked-requirements.txt" +uv export "${EXPORT_ARGS[@]}" --output-file "${REQUIREMENTS_FILE}" +uv pip install \ + --python "${VENV_DIR}/bin/python" \ + --default-index "${UV_DEFAULT_INDEX}" \ + --requirements "${REQUIREMENTS_FILE}" +uv pip install --python "${VENV_DIR}/bin/python" --no-deps --editable . + +"${VENV_DIR}/bin/python" - <<'PY' +import jax +import tensorflow as tf +import torch + +print("jax", jax.__version__, "devices", jax.devices()) +print("tensorflow", tf.__version__) +print("torch", torch.__version__, "cuda", torch.version.cuda) +if not any(device.platform == "gpu" for device in jax.devices()): + raise SystemExit("JAX did not detect a GPU") +PY + +echo "DSW environment is ready: ${REPO_DIR}/.venv" diff --git a/scripts/train_cotrain.py b/scripts/train_cotrain.py index 96d21c1..a0fe91a 100644 --- a/scripts/train_cotrain.py +++ b/scripts/train_cotrain.py @@ -9,7 +9,7 @@ logged per-dataset and aggregated, via `openpi.cotrain.eval` Run with this module's own config registry, e.g.: - uv run python scripts/train_cotrain.py cotrain_droid_sanity \ + uv run python scripts/train_cotrain.py cotrain_real_only \ --exp_name=my_run --data.rlds_data_dir=/path/to/rlds """ @@ -32,6 +32,10 @@ import tqdm_loggable.auto as tqdm import wandb +import openpi.cotrain.action_space as cotrain_action_space +import openpi.cotrain.config as cotrain_config +import openpi.cotrain.data_loader as cotrain_data_loader +import openpi.cotrain.eval as cotrain_eval import openpi.models.model as _model import openpi.models.tokenizer as _tokenizer import openpi.shared.array_typing as at @@ -43,10 +47,6 @@ import openpi.training.utils as training_utils import openpi.training.weight_loaders as _weight_loaders -import openpi.cotrain.config as cotrain_config -import openpi.cotrain.data_loader as cotrain_data_loader -import openpi.cotrain.eval as cotrain_eval - def init_logging(): """Custom logging format for better readability.""" @@ -290,8 +290,19 @@ def main(config: cotrain_config.CotrainTrainConfig): raise ValueError( f"Batch size {config.batch_size} must be divisible by the number of devices {jax.device_count()}." ) + val_batch_size = cotrain_data_loader.resolve_val_batch_size(config) + if val_batch_size % jax.device_count() != 0: + raise ValueError( + f"Validation batch size {val_batch_size} must be divisible by the number of devices " + f"{jax.device_count()}." + ) - jax.config.update("jax_compilation_cache_dir", str(epath.Path("~/.cache/jax").expanduser())) + # Training pods share /data but their home directories are ephemeral. Honour the + # host/job-provided cache location so recompilations can be reused across restarts. + compilation_cache_dir = os.environ.get( + "JAX_COMPILATION_CACHE_DIR", str(epath.Path("~/.cache/jax").expanduser()) + ) + jax.config.update("jax_compilation_cache_dir", compilation_cache_dir) rng = jax.random.key(config.seed) train_rng, init_rng = jax.random.split(rng) @@ -318,11 +329,8 @@ def main(config: cotrain_config.CotrainTrainConfig): # --- Validation loaders (one per dataset, split="val") ------------------------------ val_loaders = cotrain_data_loader.build_val_loaders(config, sharding=data_sharding) train_weights = cotrain_data_loader.dataset_train_weights(config) - action_dims = cotrain_data_loader.dataset_action_dims(config) - logging.info( - f"Initialized validation loaders by label: " - f"{ {label: list(d) for label, d in val_loaders.items()} }" - ) + action_masks = cotrain_data_loader.dataset_action_masks(config) + logging.info(f"Initialized validation loaders by label: { {label: list(d) for label, d in val_loaders.items()} }") # Sanity-check the language prompt of the first train batch. # NOTE: in multi-host the batch is a globally-sharded jax.Array, so np.array() @@ -379,14 +387,14 @@ def _current_frame(arr): mode=config.val_flow_loss_mode, use_ema=config.eval_on_ema, ) - # One action-MSE step per dataset (action_dim is per-dataset, label-independent). + # One action-MSE step per dataset (the mask is per-dataset, label-independent). val_action_mse_steps = { name: cotrain_eval.make_val_action_mse_step( num_denoise_steps=config.action_mse_num_denoise_steps, - valid_dims=action_dims.get(name), + fallback_mask=action_masks[name], use_ema=config.eval_on_ema, ) - for name in action_dims + for name in action_masks } # Shared predicted/gt action-chunk step for trajectory visualization. val_action_pred_step = cotrain_eval.make_val_action_pred_step( @@ -414,7 +422,8 @@ def _log_action_traj(step: int): fig = cotrain_eval.plot_action_trajectories( out["pred"], out["gt"], - valid_dims=action_dims.get(name), + action_mask=action_masks[name], + slot_names=cotrain_action_space.UNIFIED_SLOT_NAMES, n_samples=config.viz_num_samples, title=f"{name} [{label}] step {step}: pred (--) vs gt", ) @@ -473,7 +482,13 @@ def _run_eval(step: int): _run_eval(step) if (step % config.save_interval == 0 and step > start_step) or step == config.num_train_steps - 1: - _checkpoints.save_state(checkpoint_manager, train_state, data_loader, step) + _checkpoints.save_state( + checkpoint_manager, + train_state, + data_loader, + step, + params_only=config.checkpoint_params_only, + ) logging.info("Waiting for checkpoint manager to finish") checkpoint_manager.wait_until_finished() diff --git a/scripts/train_cotrain_baige.sh b/scripts/train_cotrain_baige.sh new file mode 100755 index 0000000..926858a --- /dev/null +++ b/scripts/train_cotrain_baige.sh @@ -0,0 +1,208 @@ +#!/usr/bin/env bash +set -euo pipefail + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +cd "${REPO_DIR}" +source scripts/atom0_env.sh + +CONFIG_NAME="${CONFIG_NAME:?Set a supported co-training CONFIG_NAME}" +EXP_NAME="${EXP_NAME:?Set EXP_NAME}" +MODE="${MODE:-train}" +# Keep 64 samples/GPU by default. WORLD_SIZE is the number of Baige nodes and +# NPROC_PER_NODE is 8 for the B200 jobs submitted by atom0_train_job.py. +BATCH_SIZE="${BATCH_SIZE:-$((64 * ${WORLD_SIZE:-1} * ${NPROC_PER_NODE:-8}))}" + +case "${CONFIG_NAME}" in + cotrain_real_only|cotrain_real_only_legacy32) + # One aggregate pass over the current piper30+piper2 norm metadata frames. + TRAIN_SAMPLES="${TRAIN_SAMPLES:-2757208}" + DEFAULT_STEPS=$(((TRAIN_SAMPLES + BATCH_SIZE - 1) / BATCH_SIZE)) + DEFAULT_WARMUP=200 + DEFAULT_EVAL_INTERVAL=1000 + DEFAULT_SAVE_INTERVAL=2000 + DEFAULT_VAL_BATCH_SIZE=96 + DEFAULT_VAL_BATCHES=10 + DEFAULT_ACTION_MSE=1 + ;; + cotrain_piper30_legacy32_aliyun_replay|cotrain_real_only_legacy32_aliyun_recipe|cotrain_real_only_unified80_aliyun_recipe) + # Aliyun-recipe comparisons are explicitly run for 20k optimizer updates. + # Sample counts are informative only; all three variants intentionally use + # the same optimizer-step horizon and global batch. + if [[ "${CONFIG_NAME}" == "cotrain_piper30_legacy32_aliyun_replay" ]]; then + TRAIN_SAMPLES="${TRAIN_SAMPLES:-2067680}" + else + TRAIN_SAMPLES="${TRAIN_SAMPLES:-2757208}" + fi + DEFAULT_STEPS=20000 + DEFAULT_WARMUP=1000 + DEFAULT_EVAL_INTERVAL=1000 + DEFAULT_SAVE_INTERVAL=5000 + DEFAULT_VAL_BATCH_SIZE=96 + DEFAULT_VAL_BATCHES=10 + DEFAULT_ACTION_MSE=1 + ;; + cotrain_real_robot|cotrain_real_robot_fix) + # One aggregate pass over norm metadata frames. The audited fix mixture removes + # Leju s54, Agilex fps50 and Agilex s26 (34 datasets, 149,953,766 frames). + if [[ "${CONFIG_NAME}" == "cotrain_real_robot_fix" ]]; then + TRAIN_SAMPLES="${TRAIN_SAMPLES:-149953766}" + else + TRAIN_SAMPLES="${TRAIN_SAMPLES:-164970758}" + fi + DEFAULT_STEPS=$(((TRAIN_SAMPLES + BATCH_SIZE - 1) / BATCH_SIZE)) + DEFAULT_WARMUP=5000 + DEFAULT_EVAL_INTERVAL=5000 + DEFAULT_SAVE_INTERVAL=10000 + DEFAULT_VAL_BATCH_SIZE=96 + DEFAULT_VAL_BATCHES=5 + DEFAULT_ACTION_MSE=0 + ;; + *) + echo "Unsupported CONFIG_NAME=${CONFIG_NAME}" >&2 + exit 2 + ;; +esac + +FSDP_DEVICES="${FSDP_DEVICES:-4}" +NUM_TRAIN_STEPS="${NUM_TRAIN_STEPS:-${DEFAULT_STEPS}}" +WARMUP_STEPS="${WARMUP_STEPS:-${DEFAULT_WARMUP}}" +DECAY_STEPS="${DECAY_STEPS:-${NUM_TRAIN_STEPS}}" +EVAL_INTERVAL="${EVAL_INTERVAL:-${DEFAULT_EVAL_INTERVAL}}" +SAVE_INTERVAL="${SAVE_INTERVAL:-${DEFAULT_SAVE_INTERVAL}}" +VAL_BATCH_SIZE="${VAL_BATCH_SIZE:-${DEFAULT_VAL_BATCH_SIZE}}" +NUM_VAL_BATCHES="${NUM_VAL_BATCHES:-${DEFAULT_VAL_BATCHES}}" +RUN_ACTION_MSE="${RUN_ACTION_MSE:-${DEFAULT_ACTION_MSE}}" +LOG_INTERVAL="${LOG_INTERVAL:-100}" +CHECKPOINT_BASE_DIR="${CHECKPOINT_BASE_DIR:-${REPO_DIR}/checkpoints}" +ASSETS_BASE_DIR="${ASSETS_BASE_DIR:-${REPO_DIR}/assets}" +ASSET_CONFIG_NAME="${CONFIG_NAME}" +if [[ "${CONFIG_NAME}" == "cotrain_real_only_legacy32" || + "${CONFIG_NAME}" == "cotrain_piper30_legacy32_aliyun_replay" || + "${CONFIG_NAME}" == "cotrain_real_only_legacy32_aliyun_recipe" || + "${CONFIG_NAME}" == "cotrain_real_only_unified80_aliyun_recipe" ]]; then + # Comparison configs all reuse the audited production-1 Piper norm assets. + # Legacy32 variants additionally project those stats back into native 14D order. + ASSET_CONFIG_NAME="cotrain_real_only" +fi +RANK_ID="${RANK:-0}" + +# PARAMS_PATH controls model-weight initialization for a fresh EXP_NAME. Accept: +# /data/models/paligemma/pt_224.npz +# /data/models/openpi +# checkpoints/// +# checkpoints////params +# A PaliGemma NPZ initializes only the vision/language backbone; the action stack +# remains random. An Orbax path initializes all shape-compatible model weights. +# train_state/optimizer/step are deliberately ignored in both cases. +REQUESTED_PARAMS_PATH="${PARAMS_PATH}" +if [[ -f "${REQUESTED_PARAMS_PATH}" && "${REQUESTED_PARAMS_PATH}" == *.npz ]]; then + PARAMS_PATH="${REQUESTED_PARAMS_PATH}" + PARAMS_LAYOUT="paligemma-vlm-npz" +elif [[ -f "${REQUESTED_PARAMS_PATH}/_CHECKPOINT_METADATA" && + -f "${REQUESTED_PARAMS_PATH}/params/manifest.ocdbt" ]]; then + PARAMS_PATH="${REQUESTED_PARAMS_PATH}/params" + PARAMS_LAYOUT="training-step" +elif [[ -f "${REQUESTED_PARAMS_PATH}/manifest.ocdbt" && + -f "${REQUESTED_PARAMS_PATH}/_CHECKPOINT_METADATA" ]]; then + PARAMS_PATH="${REQUESTED_PARAMS_PATH}" + PARAMS_LAYOUT="released-params" +elif [[ -f "${REQUESTED_PARAMS_PATH}/manifest.ocdbt" && + -f "${REQUESTED_PARAMS_PATH}/../_CHECKPOINT_METADATA" ]]; then + PARAMS_PATH="${REQUESTED_PARAMS_PATH}" + PARAMS_LAYOUT="training-params" +else + echo "Invalid PARAMS_PATH=${REQUESTED_PARAMS_PATH}" >&2 + echo "Expected a PaliGemma .npz, released params directory, training step, or its params/ child." >&2 + exit 2 +fi +PARAMS_PATH="$(readlink -f -- "${PARAMS_PATH}")" +export PARAMS_PATH + +if [[ "${MODE}" == "smoke" ]]; then + NUM_TRAIN_STEPS="${SMOKE_STEPS:-20}" + WARMUP_STEPS="${SMOKE_WARMUP_STEPS:-2}" + DECAY_STEPS="${NUM_TRAIN_STEPS}" + EVAL_INTERVAL=1000000 + SAVE_INTERVAL=1000000 + NUM_VAL_BATCHES=1 + RUN_ACTION_MSE=0 + LOG_INTERVAL=1 + WANDB_ENABLED=0 +else + WANDB_ENABLED="${WANDB_ENABLED:-1}" +fi + +if (( WARMUP_STEPS < 0 || DECAY_STEPS <= WARMUP_STEPS )); then + echo "Invalid LR schedule: require 0 <= WARMUP_STEPS < DECAY_STEPS, got ${WARMUP_STEPS} and ${DECAY_STEPS}" >&2 + exit 2 +fi + +GLOBAL_DEVICE_COUNT=$((${WORLD_SIZE:-1} * ${NPROC_PER_NODE:-8})) +if (( VAL_BATCH_SIZE <= 0 || VAL_BATCH_SIZE % GLOBAL_DEVICE_COUNT != 0 )); then + echo "Invalid VAL_BATCH_SIZE=${VAL_BATCH_SIZE}: must be positive and divisible by ${GLOBAL_DEVICE_COUNT} devices" >&2 + exit 2 +fi + +if [[ "${PARAMS_LAYOUT}" == "paligemma-vlm-npz" ]]; then + test -f "${PARAMS_PATH}" +else + test -f "${PARAMS_PATH}/manifest.ocdbt" +fi +test -d "${RLDS_DATA_DIR}" +test -d "${ASSETS_BASE_DIR}/${ASSET_CONFIG_NAME}" + +if [[ "${WANDB_ENABLED}" == "1" ]]; then + : "${WANDB_API_KEY:?Set WANDB_API_KEY for production training}" +fi + +export XLA_PYTHON_CLIENT_MEM_FRACTION="${XLA_PYTHON_CLIENT_MEM_FRACTION:-0.95}" +export JAX_COORDINATOR_ADDRESS="${JAX_COORDINATOR_ADDRESS:-${MASTER_ADDR:-127.0.0.1}:${MASTER_PORT:-29500}}" + +args=( + "${CONFIG_NAME}" + "--exp-name=${EXP_NAME}" + "--fsdp-devices=${FSDP_DEVICES}" + "--batch-size=${BATCH_SIZE}" + "--num-train-steps=${NUM_TRAIN_STEPS}" + "--lr-schedule.warmup-steps=${WARMUP_STEPS}" + "--lr-schedule.decay-steps=${DECAY_STEPS}" + "--eval-interval=${EVAL_INTERVAL}" + "--val-batch-size=${VAL_BATCH_SIZE}" + "--save-interval=${SAVE_INTERVAL}" + "--log-interval=${LOG_INTERVAL}" + "--num-val-batches=${NUM_VAL_BATCHES}" + "--data-num-parallel-reads=${DATA_NUM_PARALLEL_READS:-1}" + "--data-num-parallel-calls=${DATA_NUM_PARALLEL_CALLS:-2}" + "--data.rlds-data-dir=${RLDS_DATA_DIR}" + "--assets-base-dir=${ASSETS_BASE_DIR}" + "--checkpoint-base-dir=${CHECKPOINT_BASE_DIR}" + "--weight-loader.params-path=${PARAMS_PATH}" +) + +if [[ "${WANDB_ENABLED}" == "1" ]]; then + args+=("--wandb-enabled") +else + args+=("--no-wandb-enabled") +fi +if [[ "${RUN_ACTION_MSE}" == "1" ]]; then + args+=("--run-action-mse" "--viz-action-traj") +else + args+=("--no-run-action-mse" "--no-viz-action-traj") +fi +if [[ "${OVERWRITE:-0}" == "1" ]]; then + args+=("--overwrite") +fi + +mkdir -p "${LOG_DIR}" +exec > >(tee -a "${LOG_DIR}/baige_${CONFIG_NAME}_${EXP_NAME}_rank${RANK_ID}.log") 2>&1 +echo "CONFIG_NAME=${CONFIG_NAME} EXP_NAME=${EXP_NAME} MODE=${MODE}" +echo "WORLD_SIZE=${WORLD_SIZE:-1} RANK=${RANK_ID} MASTER=${JAX_COORDINATOR_ADDRESS}" +echo "INIT_PARAMS_PATH=${PARAMS_PATH} PARAMS_LAYOUT=${PARAMS_LAYOUT} (model weights only; optimizer/step reset for fresh EXP_NAME)" +if [[ "${PARAMS_LAYOUT}" == "paligemma-vlm-npz" ]]; then + echo "INIT_POLICY=PaliGemma vision+language loaded; action expert, timestep MLP, and action projections random" +else + echo "INIT_POLICY=all shape-compatible checkpoint model weights loaded" +fi +echo "FSDP_DEVICES=${FSDP_DEVICES} BATCH_SIZE=${BATCH_SIZE} VAL_BATCH_SIZE=${VAL_BATCH_SIZE} NUM_TRAIN_STEPS=${NUM_TRAIN_STEPS}" + +exec .venv/bin/python -u scripts/train_cotrain.py "${args[@]}" diff --git a/scripts/train_cotrain_full_all_full_norm_local_weights.sh b/scripts/train_cotrain_full_all_full_norm_local_weights.sh index 1a12d1d..9394000 100755 --- a/scripts/train_cotrain_full_all_full_norm_local_weights.sh +++ b/scripts/train_cotrain_full_all_full_norm_local_weights.sh @@ -2,27 +2,44 @@ set -euo pipefail REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -PARAMS_PATH="${PARAMS_PATH:-/mnt/workspace/cache/openpi/openpi-assets/checkpoints/pi05_base/params}" +STATE_ROOT="${ATOM0_STATE_ROOT:-$(dirname "${REPO_DIR}")}" +OPENPI_DATA_HOME="${OPENPI_DATA_HOME:-${STATE_ROOT}/cache/openpi}" +OPENPI_MODEL_HOME="${OPENPI_MODEL_HOME:-/data/models/openpi}" +if [[ -f "${OPENPI_MODEL_HOME}/_CHECKPOINT_METADATA" ]]; then + DEFAULT_PARAMS_PATH="${OPENPI_MODEL_HOME}" +else + DEFAULT_PARAMS_PATH="${OPENPI_MODEL_HOME}/openpi-assets/checkpoints/pi05_base/params" +fi +PARAMS_PATH="${PARAMS_PATH:-${DEFAULT_PARAMS_PATH}}" +RLDS_DATA_DIR="${RLDS_DATA_DIR:-/mnt/bos/bo23lu}" LOG_DIR="${LOG_DIR:-${REPO_DIR}}" RANK_ID="${RANK:-0}" -if [[ ! -f "${PARAMS_PATH}/_CHECKPOINT_METADATA" || ! -f "${PARAMS_PATH}/manifest.ocdbt" ]]; then - echo "Missing local pi05 params checkpoint at: ${PARAMS_PATH}" >&2 +if [[ -f "${PARAMS_PATH}" && "${PARAMS_PATH}" == *.npz ]]; then + PARAMS_LAYOUT="paligemma-vlm-npz" +elif [[ -f "${PARAMS_PATH}/_CHECKPOINT_METADATA" && -f "${PARAMS_PATH}/manifest.ocdbt" ]]; then + PARAMS_LAYOUT="released-params" +else + echo "Invalid PARAMS_PATH=${PARAMS_PATH}: expected PaliGemma .npz or local params checkpoint" >&2 exit 1 fi +PARAMS_PATH="$(readlink -f -- "${PARAMS_PATH}")" : "${WANDB_API_KEY:?Please export WANDB_API_KEY before running this script.}" cd "${REPO_DIR}" export PYTHONPATH="${REPO_DIR}/src:${REPO_DIR}/packages/openpi-client/src:${PYTHONPATH:-}" -export OPENPI_DATA_HOME="${OPENPI_DATA_HOME:-/mnt/workspace/cache/openpi}" +export OPENPI_DATA_HOME +export OPENPI_MODEL_HOME export XLA_PYTHON_CLIENT_MEM_FRACTION="${XLA_PYTHON_CLIENT_MEM_FRACTION:-0.9}" if [[ -z "${JAX_COORDINATOR_ADDRESS:-}" && -n "${MASTER_ADDR:-}" ]]; then export JAX_COORDINATOR_ADDRESS="${MASTER_ADDR}:29500" fi +echo "INIT_PARAMS_PATH=${PARAMS_PATH} PARAMS_LAYOUT=${PARAMS_LAYOUT}" + .venv/bin/python -u scripts/train_cotrain.py cotrain_full_all_full_norm \ --exp_name="${EXP_NAME:-cotrain_full_all_full_norm_16gpus_local_weights}" \ --fsdp_devices "${FSDP_DEVICES:-8}" \ @@ -30,6 +47,7 @@ fi --num-train-steps "${NUM_TRAIN_STEPS:-3000000}" \ --data-num-parallel-reads "${DATA_NUM_PARALLEL_READS:-1}" \ --data-num-parallel-calls "${DATA_NUM_PARALLEL_CALLS:-2}" \ + --data.rlds-data-dir "${RLDS_DATA_DIR}" \ --weight-loader.params-path "${PARAMS_PATH}" \ --overwrite \ 2>&1 | tee "${LOG_DIR}/dlc_run_16gpu_local_weights_${RANK_ID}.log" diff --git a/src/openpi/cotrain/action_space.py b/src/openpi/cotrain/action_space.py new file mode 100644 index 0000000..397c57d --- /dev/null +++ b/src/openpi/cotrain/action_space.py @@ -0,0 +1,516 @@ +"""Unified 80D state/action layouts for RLDS co-training.""" + +from __future__ import annotations + +import dataclasses +import hashlib +import json +from pathlib import Path + +import numpy as np + +UNIFIED_ACTION_DIM = 80 + +LEFT_ARM = 0 +LEFT_EEF_POSITION = 7 +LEFT_EEF_EULER = 10 +LEFT_GRIPPER = 16 +LEFT_HAND = 17 +RIGHT_ARM = 29 +RIGHT_EEF_POSITION = 36 +RIGHT_EEF_EULER = 39 +RIGHT_GRIPPER = 45 +RIGHT_HAND = 46 +LEFT_LEG = 58 +RIGHT_LEG = 64 +HEAD = 70 +WAIST = 72 +OTHER_BODY = 74 + +DimMapping = tuple[tuple[int, int], ...] + + +def _slot_names() -> tuple[str, ...]: + names = [f"reserved_{index + 1}" for index in range(UNIFIED_ACTION_DIM)] + groups = ( + (LEFT_ARM, 7, "left_arm_joint"), + (LEFT_EEF_POSITION, 3, "left_eef_position"), + (LEFT_EEF_EULER, 3, "left_eef_euler"), + (LEFT_GRIPPER, 1, "left_gripper"), + (LEFT_HAND, 12, "left_hand_joint"), + (RIGHT_ARM, 7, "right_arm_joint"), + (RIGHT_EEF_POSITION, 3, "right_eef_position"), + (RIGHT_EEF_EULER, 3, "right_eef_euler"), + (RIGHT_GRIPPER, 1, "right_gripper"), + (RIGHT_HAND, 12, "right_hand_joint"), + (LEFT_LEG, 6, "left_leg_joint"), + (RIGHT_LEG, 6, "right_leg_joint"), + (HEAD, 2, "head_joint"), + (WAIST, 2, "waist_joint"), + (OTHER_BODY, 6, "other_body"), + ) + for start, count, label in groups: + for offset in range(count): + names[start + offset] = label if count == 1 else f"{label}_{offset + 1}" + return tuple(names) + + +UNIFIED_SLOT_NAMES = _slot_names() + + +def dims(source_start: int, target_start: int, count: int) -> DimMapping: + """Map a contiguous source range to a contiguous unified range.""" + return tuple((source_start + i, target_start + i) for i in range(count)) + + +def slots(start: int, count: int) -> tuple[int, ...]: + return tuple(range(start, start + count)) + + +@dataclasses.dataclass(frozen=True) +class UnifiedActionSpec: + """Source-to-unified mappings and temporal semantics for one RLDS builder. + + Indices are zero-based. ``absolute_to_delta_slots`` identifies source-absolute + targets that are converted to deltas after state/action mapping. Slots listed in + ``already_delta_slots`` are already relative in the source and must never be + differenced again. All other mapped action slots remain absolute. + """ + + state_mapping: DimMapping + action_mapping: DimMapping + absolute_to_delta_slots: tuple[int, ...] = () + already_delta_slots: tuple[int, ...] = () + + def __post_init__(self) -> None: + self._validate_mapping("state", self.state_mapping) + self._validate_mapping("action", self.action_mapping) + + action_targets = set(self.action_target_slots) + state_targets = set(self.state_target_slots) + absolute_to_delta = set(self.absolute_to_delta_slots) + already_delta = set(self.already_delta_slots) + if absolute_to_delta & already_delta: + raise ValueError("absolute_to_delta_slots and already_delta_slots overlap") + for name, temporal_slots in ( + ("absolute_to_delta_slots", absolute_to_delta), + ("already_delta_slots", already_delta), + ): + missing_action = temporal_slots - action_targets + if missing_action: + raise ValueError(f"{name} contains unmapped action slots: {sorted(missing_action)}") + missing_state = temporal_slots - state_targets + if missing_state: + raise ValueError(f"{name} contains slots without mapped state: {sorted(missing_state)}") + + @staticmethod + def _validate_mapping(name: str, mapping: DimMapping) -> None: + sources = [source for source, _ in mapping] + targets = [target for _, target in mapping] + if any(index < 0 for index in sources): + raise ValueError(f"{name} mapping contains a negative source index") + if any(index < 0 or index >= UNIFIED_ACTION_DIM for index in targets): + raise ValueError(f"{name} mapping target is outside 0..{UNIFIED_ACTION_DIM - 1}") + if len(sources) != len(set(sources)): + raise ValueError(f"{name} mapping contains duplicate source indices") + if len(targets) != len(set(targets)): + raise ValueError(f"{name} mapping contains duplicate target slots") + + @property + def state_target_slots(self) -> tuple[int, ...]: + return tuple(target for _, target in self.state_mapping) + + @property + def action_target_slots(self) -> tuple[int, ...]: + return tuple(target for _, target in self.action_mapping) + + @property + def action_mask(self) -> tuple[bool, ...]: + targets = set(self.action_target_slots) + return tuple(index in targets for index in range(UNIFIED_ACTION_DIM)) + + @property + def delta_mask(self) -> tuple[bool, ...]: + targets = set(self.absolute_to_delta_slots) + return tuple(index in targets for index in range(UNIFIED_ACTION_DIM)) + + def validate_source_dims(self, state_dim: int, action_dim: int) -> None: + if self.state_mapping and max(source for source, _ in self.state_mapping) >= state_dim: + raise ValueError(f"state mapping requires source dim beyond state width {state_dim}") + if self.action_mapping and max(source for source, _ in self.action_mapping) >= action_dim: + raise ValueError(f"action mapping requires source dim beyond action width {action_dim}") + + @property + def fingerprint(self) -> str: + payload = dataclasses.asdict(self) + encoded = json.dumps(payload, sort_keys=True, separators=(",", ":")).encode() + return hashlib.sha256(encoded).hexdigest() + + +def map_array(array: np.ndarray, mapping: DimMapping) -> np.ndarray: + """Scatter the final axis of a NumPy array into the unified 80D layout.""" + array = np.asarray(array) + output = np.zeros((*array.shape[:-1], UNIFIED_ACTION_DIM), dtype=array.dtype) + if mapping: + sources, targets = zip(*mapping, strict=True) + output[..., targets] = array[..., sources] + return output + + +def unmap_array(array: np.ndarray, mapping: DimMapping, source_dim: int) -> np.ndarray: + """Gather unified slots back into their original source indices.""" + array = np.asarray(array) + output = np.zeros((*array.shape[:-1], source_dim), dtype=array.dtype) + if mapping: + sources, targets = zip(*mapping, strict=True) + output[..., sources] = array[..., targets] + return output + + +def apply_delta(state: np.ndarray, actions: np.ndarray, mask) -> np.ndarray: + """Convert only masked source-absolute slots to deltas against current state.""" + state = np.asarray(state) + output = np.array(actions, copy=True) + mask = np.asarray(mask, dtype=bool) + dims = mask.shape[-1] + output[..., :dims] -= np.expand_dims(np.where(mask, state[..., :dims], 0), axis=-2) + return output + + +def map_trajectory_tensorflow(traj: dict, spec: UnifiedActionSpec) -> dict: + """Map the final axis of trajectory tensors and attach a per-frame action mask. + + State is normally ``[T, D]``. Actions may be either ``[T, D]`` for datasets + chunked by this loader, or ``[T, H, D]`` when the RLDS already contains an + aligned future-action chunk (EgoVerse ``actions_cartesian``). + """ + import tensorflow as tf # noqa: PLC0415 + + def map_tensor(tensor, mapping: DimMapping): + tensor = tf.convert_to_tensor(tensor) + if not mapping: + return tf.zeros( + tf.concat([tf.shape(tensor)[:-1], [UNIFIED_ACTION_DIM]], axis=0), + tensor.dtype, + ) + sources, targets = zip(*mapping, strict=True) + tf.debugging.assert_less(max(sources), tf.shape(tensor)[-1]) + selected = tf.gather(tensor, tf.constant(sources, tf.int32), axis=-1) + projection = tf.one_hot(targets, UNIFIED_ACTION_DIM, dtype=tensor.dtype) + mapped = tf.linalg.matmul(selected, projection) + mapped.set_shape(tensor.shape[:-1].concatenate([UNIFIED_ACTION_DIM])) + return mapped + + traj["state"] = map_tensor(traj["state"], spec.state_mapping) + traj["actions"] = map_tensor(traj["actions"], spec.action_mapping) + traj["action_mask"] = tf.broadcast_to( + tf.constant(spec.action_mask, tf.bool), + [tf.shape(traj["state"])[0], UNIFIED_ACTION_DIM], + ) + return traj + + +def write_metadata(directory: str | Path, spec: UnifiedActionSpec) -> None: + directory = Path(directory) + directory.mkdir(parents=True, exist_ok=True) + (directory / "unified_action_space.json").write_text( + json.dumps( + {"version": 1, "width": UNIFIED_ACTION_DIM, "fingerprint": spec.fingerprint}, + indent=2, + ) + + "\n" + ) + + +def validate_metadata(directory: str | Path, spec: UnifiedActionSpec) -> None: + path = Path(directory) / "unified_action_space.json" + if not path.exists(): + raise ValueError(f"Unified norm stats are missing mapping metadata: {path}") + metadata = json.loads(path.read_text()) + expected = {"version": 1, "width": UNIFIED_ACTION_DIM, "fingerprint": spec.fingerprint} + if metadata != expected: + raise ValueError(f"Unified norm stats mapping mismatch at {path}: expected {expected}, got {metadata}") + + +def _same( + mapping: DimMapping, + *, + delta: tuple[int, ...] = (), + already_delta: tuple[int, ...] = (), +) -> UnifiedActionSpec: + return UnifiedActionSpec( + mapping, + mapping, + absolute_to_delta_slots=delta, + already_delta_slots=already_delta, + ) + + +def _dual_arm(arm_dof: int, *, left_source: int = 0, right_source: int | None = None) -> DimMapping: + right_source = arm_dof if right_source is None else right_source + return dims(left_source, LEFT_ARM, arm_dof) + dims(right_source, RIGHT_ARM, arm_dof) + + +def _single_right(arm_dof: int, gripper_source: int | None = None) -> UnifiedActionSpec: + mapping = dims(0, RIGHT_ARM, arm_dof) + if gripper_source is not None: + mapping += dims(gripper_source, RIGHT_GRIPPER, 1) + return _same(mapping, delta=slots(RIGHT_ARM, arm_dof)) + + +_EGO_MAPPING = ( + dims(0, LEFT_EEF_POSITION, 3) + + dims(3, LEFT_EEF_EULER, 3) + + dims(6, RIGHT_EEF_POSITION, 3) + + dims(9, RIGHT_EEF_EULER, 3) +) + +# Canonical source layout for newly collected aligned human/robot play data: +# [left relative xyz, left relative rotation-vector, left absolute gripper, +# right relative xyz, right relative rotation-vector, right absolute gripper] +# Historical EEF_EULER slot names are retained in the unified 80D layout, but +# these aligned action slots carry an SE(3) rotation vector and are already +# relative to the current canonical EEF. Observation state remains absolute. +_ALIGNED_PARALLEL_GRIPPER_MAPPING = ( + dims(0, LEFT_EEF_POSITION, 3) + + dims(3, LEFT_EEF_EULER, 3) + + dims(6, LEFT_GRIPPER, 1) + + dims(7, RIGHT_EEF_POSITION, 3) + + dims(10, RIGHT_EEF_EULER, 3) + + dims(13, RIGHT_GRIPPER, 1) +) +_ALIGNED_SINGLE_RIGHT_MAPPING = dims(0, RIGHT_EEF_POSITION, 6) + dims(6, RIGHT_GRIPPER, 1) +_ALIGNED_BIMANUAL_RELATIVE_SLOTS = ( + slots(LEFT_EEF_POSITION, 3) + + slots(LEFT_EEF_EULER, 3) + + slots(RIGHT_EEF_POSITION, 3) + + slots(RIGHT_EEF_EULER, 3) +) +_ALIGNED_SINGLE_RIGHT_RELATIVE_SLOTS = slots(RIGHT_EEF_POSITION, 3) + slots(RIGHT_EEF_EULER, 3) +# EgoMimic does not provide the 14D pose+gripper contract above. Its public +# human files contain camera-frame hand XYZ only, while its robot files contain +# absolute ALOHA joint/gripper targets plus the corresponding camera-frame EEF +# XYZ. Keep those source semantics explicit instead of fabricating Euler angles +# or human gripper labels. +_EGOMIMIC_SINGLE_HUMAN_MAPPING = dims(0, RIGHT_EEF_POSITION, 3) +_EGOMIMIC_SINGLE_ROBOT_MAPPING = ( + dims(0, RIGHT_ARM, 6) + + dims(6, RIGHT_GRIPPER, 1) + + dims(7, RIGHT_EEF_POSITION, 3) +) +_EGOMIMIC_BIMANUAL_HUMAN_MAPPING = ( + dims(0, LEFT_EEF_POSITION, 3) + + dims(3, RIGHT_EEF_POSITION, 3) +) +_EGOMIMIC_BIMANUAL_ROBOT_MAPPING = ( + dims(0, LEFT_ARM, 6) + + dims(6, LEFT_GRIPPER, 1) + + dims(7, RIGHT_ARM, 6) + + dims(13, RIGHT_GRIPPER, 1) + + dims(14, LEFT_EEF_POSITION, 3) + + dims(17, RIGHT_EEF_POSITION, 3) +) + +_AGIBOT_MAPPING = ( + _dual_arm(7) + dims(14, LEFT_GRIPPER, 1) + dims(15, RIGHT_GRIPPER, 1) + dims(16, HEAD, 2) + dims(18, WAIST, 2) +) + +_PIPER_MAPPING = dims(0, LEFT_ARM, 6) + dims(6, LEFT_GRIPPER, 1) + dims(7, RIGHT_ARM, 6) + dims(13, RIGHT_GRIPPER, 1) + + +UNIFIED_ACTION_SPECS: dict[str, UnifiedActionSpec] = { + "agibot": _same(_AGIBOT_MAPPING, delta=slots(LEFT_ARM, 7) + slots(RIGHT_ARM, 7)), + "droid": _single_right(7, 7), + "egoverse_aria": _same(_EGO_MAPPING), + "egoverse_eva": _same(_EGO_MAPPING), + "egoverse_human": _same(_EGO_MAPPING), + "egoverse_mecka": _same(_EGO_MAPPING), + "egoverse_scale": _same(_EGO_MAPPING), + "egoverse_rl2_eva": _same(_EGO_MAPPING), + "egoverse_rl2_human": _same(_EGO_MAPPING), + "aligned_parallel_gripper_human": _same(_ALIGNED_PARALLEL_GRIPPER_MAPPING), + "aligned_parallel_gripper_robot": _same(_ALIGNED_PARALLEL_GRIPPER_MAPPING), + "aligned_hangzhou_human_right": _same( + _ALIGNED_SINGLE_RIGHT_MAPPING, already_delta=_ALIGNED_SINGLE_RIGHT_RELATIVE_SLOTS + ), + "aligned_hangzhou_robot_right": _same( + _ALIGNED_SINGLE_RIGHT_MAPPING, already_delta=_ALIGNED_SINGLE_RIGHT_RELATIVE_SLOTS + ), + "aligned_shenzhen_human_bimanual": _same( + _ALIGNED_PARALLEL_GRIPPER_MAPPING, already_delta=_ALIGNED_BIMANUAL_RELATIVE_SLOTS + ), + "aligned_shenzhen_robot_bimanual": _same( + _ALIGNED_PARALLEL_GRIPPER_MAPPING, already_delta=_ALIGNED_BIMANUAL_RELATIVE_SLOTS + ), + "egomimic_bowlplace_human": _same(_EGOMIMIC_SINGLE_HUMAN_MAPPING), + "egomimic_bowlplace_robot": _same( + _EGOMIMIC_SINGLE_ROBOT_MAPPING, + delta=slots(RIGHT_ARM, 6), + ), + "egomimic_groceries_human": _same(_EGOMIMIC_BIMANUAL_HUMAN_MAPPING), + "egomimic_groceries_robot": _same( + _EGOMIMIC_BIMANUAL_ROBOT_MAPPING, + delta=slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6), + ), + "egomimic_smallclothfold_human": _same(_EGOMIMIC_BIMANUAL_HUMAN_MAPPING), + "egomimic_smallclothfold_robot": _same( + _EGOMIMIC_BIMANUAL_ROBOT_MAPPING, + delta=slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6), + ), + "piper30": _same(_PIPER_MAPPING, delta=slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6)), + "piper2": _same(_PIPER_MAPPING, delta=slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6)), +} + +# These two specs reserve the agreed mapping for future aligned collection and +# intentionally have no real builder yet. Real-data audits exclude them until the +# corresponding NAS directories are populated. +OPTIONAL_ALIGNED_DATASET_IDS = { + "aligned_parallel_gripper_human", + "aligned_parallel_gripper_robot", + "aligned_hangzhou_human_right", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_human_bimanual", + "aligned_shenzhen_robot_bimanual", +} + + +def _register_robocoin() -> None: + specs = UNIFIED_ACTION_SPECS + dual6_grippers = ( + dims(0, LEFT_ARM, 6) + dims(6, LEFT_GRIPPER, 1) + dims(7, RIGHT_ARM, 6) + dims(13, RIGHT_GRIPPER, 1) + ) + dual7_grippers = ( + dims(0, LEFT_ARM, 7) + dims(7, LEFT_GRIPPER, 1) + dims(8, RIGHT_ARM, 7) + dims(15, RIGHT_GRIPPER, 1) + ) + mixed6 = dims(0, LEFT_ARM, 6) + dims(6, LEFT_GRIPPER, 1) + dims(13, RIGHT_ARM, 6) + dims(19, RIGHT_GRIPPER, 1) + mixed7_right_first = ( + dims(0, RIGHT_ARM, 7) + dims(7, RIGHT_GRIPPER, 1) + dims(14, LEFT_ARM, 7) + dims(21, LEFT_GRIPPER, 1) + ) + dual6_delta = slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6) + dual7_delta = slots(LEFT_ARM, 7) + slots(RIGHT_ARM, 7) + + specs.update( + { + "robocoin_agilex_cobot_magic_s26_a26": _same(mixed6, delta=dual6_delta), + "robocoin_airbot_mmk2_s36_a36": _same( + _dual_arm(6) + dims(12, LEFT_HAND, 12) + dims(24, RIGHT_HAND, 12), delta=dual6_delta + ), + "robocoin_galaxea_r1_lite_upper_s14_a14": _same( + _dual_arm(6) + dims(12, LEFT_GRIPPER, 1) + dims(13, RIGHT_GRIPPER, 1), delta=dual6_delta + ), + "robocoin_realman_rmc_aida_l_s28_a28": _same(mixed7_right_first, delta=dual7_delta), + "robocoin_unitree_g1_dex3_s28_a28": _same( + _dual_arm(7) + dims(14, LEFT_HAND, 7) + dims(21, RIGHT_HAND, 7), delta=dual7_delta + ), + "robocoin_agilex_decoupled_magic_s14_a14_fps30": _same(dual6_grippers, delta=dual6_delta), + "robocoin_agilex_decoupled_magic_s14_a14_fps50": _same(dual6_grippers, delta=dual6_delta), + "robocoin_agilex_decoupled_magic_s26_a26": _same(mixed6, delta=dual6_delta), + "robocoin_aloha_s26_a26": _same( + dims(0, LEFT_ARM, 6) + dims(12, LEFT_GRIPPER, 1) + dims(13, RIGHT_ARM, 6) + dims(25, RIGHT_GRIPPER, 1), + delta=dual6_delta, + ), + "robocoin_alpha_bot_2_s28_a28": _same( + dims(0, LEFT_ARM, 7) + dims(13, RIGHT_ARM, 7) + dims(26, LEFT_GRIPPER, 1) + dims(27, RIGHT_GRIPPER, 1), + delta=dual7_delta, + ), + "robocoin_discover_aitbot_mmk2_s36_a36": _same( + _dual_arm(6) + dims(12, LEFT_HAND, 12) + dims(24, RIGHT_HAND, 12), delta=dual6_delta + ), + "robocoin_galaxea_r1_lite_s14_a14": _same(dual6_grippers, delta=dual6_delta), + "robocoin_galaxea_r1_lite_s16_a18": _same( + _dual_arm(7) + dims(14, LEFT_GRIPPER, 1) + dims(15, RIGHT_GRIPPER, 1), delta=dual7_delta + ), + "robocoin_leju_robot_s118_a54": _same( + _dual_arm(7) + + dims(14, LEFT_LEG, 6) + + dims(20, RIGHT_LEG, 6) + + dims(26, LEFT_HAND, 6) + + dims(32, RIGHT_HAND, 6) + + dims(38, HEAD, 2), + delta=dual7_delta, + ), + "robocoin_leju_robot_s54_a54": _same( + _dual_arm(7) + + dims(14, LEFT_LEG, 6) + + dims(20, RIGHT_LEG, 6) + + dims(26, LEFT_HAND, 6) + + dims(32, RIGHT_HAND, 6) + + dims(38, HEAD, 2), + delta=dual7_delta, + ), + "robocoin_realman_rmc_aidal_s28_a28": _same(mixed7_right_first, delta=dual7_delta), + "robocoin_ruantong_a2d_s17_a17": _same( + dims(0, OTHER_BODY, 1) + + dims(1, LEFT_ARM, 7) + + dims(8, RIGHT_ARM, 7) + + dims(15, LEFT_GRIPPER, 1) + + dims(16, RIGHT_GRIPPER, 1), + delta=dual7_delta, + ), + "robocoin_ruantong_a2d_s41_a34": _same( + _dual_arm(7) + + dims(28, WAIST, 2) + + dims(30, HEAD, 2) + + dims(32, LEFT_GRIPPER, 1) + + dims(33, RIGHT_GRIPPER, 1), + delta=dual7_delta, + ), + "robocoin_unitree_g1_s28_a28_high": _same( + _dual_arm(7) + dims(14, LEFT_HAND, 7) + dims(21, RIGHT_HAND, 7), delta=dual7_delta + ), + "robocoin_unitree_g1_s28_a28": _same( + _dual_arm(7) + dims(14, LEFT_HAND, 7) + dims(21, RIGHT_HAND, 7), delta=dual7_delta + ), + "robocoin_unknown_s30_a30_high": _same( + _dual_arm(7) + dims(14, LEFT_HAND, 7) + dims(21, RIGHT_HAND, 7), delta=dual7_delta + ), + } + ) + + yinhe_action = dual7_grippers + yinhe_state = dims(5, LEFT_ARM, 7) + dims(12, LEFT_GRIPPER, 1) + dims(13, RIGHT_ARM, 7) + dims(20, RIGHT_GRIPPER, 1) + specs["robocoin_yinhe_s49_a16"] = UnifiedActionSpec( + state_mapping=yinhe_state, + action_mapping=yinhe_action, + absolute_to_delta_slots=dual7_delta, + ) + + +def _register_robomind() -> None: + specs = UNIFIED_ACTION_SPECS + dual6_grippers = ( + dims(0, LEFT_ARM, 6) + dims(6, LEFT_GRIPPER, 1) + dims(7, RIGHT_ARM, 6) + dims(13, RIGHT_GRIPPER, 1) + ) + dual7_grippers = ( + dims(0, LEFT_ARM, 7) + dims(7, LEFT_GRIPPER, 1) + dims(8, RIGHT_ARM, 7) + dims(15, RIGHT_GRIPPER, 1) + ) + dual7_delta = slots(LEFT_ARM, 7) + slots(RIGHT_ARM, 7) + specs.update( + { + "robomind_agilex_cobot_magic_s14_a14": _same( + dual6_grippers, delta=slots(LEFT_ARM, 6) + slots(RIGHT_ARM, 6) + ), + "robomind_franka_fr3_dual_s16_a16": _same(dual7_grippers, delta=dual7_delta), + "robomind_franka_panda_s8_a8": _single_right(7, 7), + "robomind_franka_sim_franka_s8_a8": _single_right(7, 7), + "robomind_franka_sim_simulation_s8_a8": _single_right(7, 7), + "robomind_franka_sim_simulation_no_front_s8_a8": _single_right(7, 7), + "robomind_franka_sim_none_s8_a8": _single_right(7, 7), + "robomind_tienkung_gello_s16_a16": _same(dual7_grippers, delta=dual7_delta), + "robomind_tienkung_prod1_gello_s16_a16": _same(dual7_grippers, delta=dual7_delta), + "robomind_tienkung_xsens_s14_a14": _same(_dual_arm(7), delta=dual7_delta), + "robomind_tienkung_sim_s38_a38": _same( + dims(0, LEFT_ARM, 7) + dims(7, LEFT_HAND, 12) + dims(19, RIGHT_ARM, 7) + dims(26, RIGHT_HAND, 12), + delta=dual7_delta, + ), + "robomind_tienkung_real_s38_a38": _same( + dims(0, LEFT_ARM, 7) + dims(7, LEFT_HAND, 12) + dims(19, RIGHT_ARM, 7) + dims(26, RIGHT_HAND, 12), + delta=dual7_delta, + ), + "robomind_ur5e_s7_a7": _single_right(6, 6), + } + ) + + +_register_robocoin() +_register_robomind() diff --git a/src/openpi/cotrain/config-fps30.py b/src/openpi/cotrain/config-fps30.py deleted file mode 100644 index f6344e6..0000000 --- a/src/openpi/cotrain/config-fps30.py +++ /dev/null @@ -1,240 +0,0 @@ -"""Config for multi-dataset RLDS co-training with train/val splits. - -Subclasses the frozen `openpi.training.config.TrainConfig` to add validation-eval -knobs, and provides a `CotrainDataConfig` factory mirroring `RLDSDroidDataConfig` but -backed by `CotrainRLDSDataset` (per-dataset train/val splits). Nothing in openpi is -modified; this module only imports from it. -""" - -import dataclasses -import logging -import pathlib -from typing import Literal - -from typing_extensions import override -import tyro - -import openpi.models.model as _model -import openpi.models.pi0_config as pi0_config -import openpi.shared.download as _download -import openpi.shared.normalize as _normalize -import openpi.training.config as _config -import openpi.training.droid_rlds_dataset as droid_rlds_dataset -import openpi.training.weight_loaders as weight_loaders -import openpi.transforms as _transforms - -import openpi.cotrain.transforms as cotrain_transforms -import openpi.cotrain.weight_loaders as cotrain_weight_loaders -from openpi.cotrain.rlds_dataset import CotrainRLDSDataset - -logger = logging.getLogger(__name__) - - -def load_per_dataset_norm_stats(assets_dirs: pathlib.Path, datasets) -> dict: - """Load per-dataset norm stats from `/` (skip if missing). - - Returns {dataset_name: {"state": NormStats, "actions": NormStats}} for the DispatchNormalize. - """ - stats: dict = {} - for ds in datasets: - try: - d = str(pathlib.Path(assets_dirs) / ds.uid) - stats[ds.uid] = _normalize.load(_download.maybe_download(d)) - logger.info(f"Loaded per-dataset norm stats for '{ds.uid}' from {d}") - except FileNotFoundError: - logger.warning(f"Norm stats for dataset '{ds.uid}' not found under {assets_dirs}; skipping (no norm).") - return stats - - -@dataclasses.dataclass(frozen=True) -class CotrainDataConfig(_config.DataConfigFactory): - """Multi-dataset RLDS data config with per-dataset train/val splits. - - Currently assumes the DROID schema for repack/data transforms (the framework - milestone starts from DROID-format data). Heterogeneous schemas plug in via the - restructure registry in `rlds_dataset.py` plus per-dataset repack transforms here. - """ - - # RLDS path does not use a LeRobot repo_id; give it a default so it isn't a required CLI - # arg. Per-dataset norm stats live under /, not under repo_id. - repo_id: str = "cotrain" - rlds_data_dir: str | None = None - action_space: droid_rlds_dataset.DroidActionSpace | None = None - datasets: tuple[CotrainRLDSDataset, ...] = () - - @override - def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig) -> _config.DataConfig: - assert self.rlds_data_dir is not None, "Need to set rlds_data_dir for the co-training RLDS loader." - assert len(self.datasets) > 0, "Need at least one dataset in `datasets`." - - base = self.create_base_config(assets_dirs, model_config) - - # Per-dataset absolute->delta action conversion (e.g. RoboMIND absolute joint). - delta_masks = { - ds.uid: _transforms.make_bool_mask(*ds.delta_action_mask_dims) - for ds in self.datasets - if ds.delta_action_mask_dims is not None - } - dispatch_delta = cotrain_transforms.DispatchDeltaActions(masks_by_dataset=delta_masks) - - # Per-dataset normalization (dispatched at runtime by dataset_id). Quantile norm for - # pi05 (use_quantile_norm is True for non-PI0 models in create_base_config). - per_dataset_stats = load_per_dataset_norm_stats(assets_dirs, self.datasets) - dispatch_norm = cotrain_transforms.DispatchNormalize( - norm_stats_by_dataset=per_dataset_stats, - use_quantiles=base.use_quantile_norm, - ) - - # Generic inputs (uniform schema across datasets) -> per-dataset delta -> per-dataset - # normalization. No per-dataset repack needed (StandardizedInputs reads the nested - # standardized keys directly). Delta MUST precede normalization (stats are on deltas). - data_transforms = _transforms.Group( - inputs=[ - cotrain_transforms.StandardizedInputs(model_type=model_config.model_type), - dispatch_delta, - dispatch_norm, - ], - ) - - model_transforms = _config.ModelTransformFactory()(model_config) - - return dataclasses.replace( - base, - data_transforms=data_transforms, - model_transforms=model_transforms, - rlds_data_dir=self.rlds_data_dir, - action_space=self.action_space, - datasets=self.datasets, - ) - - -@dataclasses.dataclass(frozen=True) -class CotrainTrainConfig(_config.TrainConfig): - """TrainConfig + validation-eval knobs.""" - - # How often (in steps) to run validation. - eval_interval: int = 1000 - # Number of val batches per dataset for the (cheap) flow-loss pass. - num_val_batches: int = 20 - # Whether to also run the (expensive) action-MSE sampling pass. - run_action_mse: bool = True - # Number of val batches per dataset for the action-MSE pass. - num_action_mse_batches: int = 5 - # Denoising steps used by sample_actions during action-MSE eval. - action_mse_num_denoise_steps: int = 10 - # NOTE: the number of valid (non-padded) action dims for the MSE mask is taken - # per-dataset from each CotrainRLDSDataset.action_dim (0 -> all dims). - # Flow-loss estimator(s): "fixed_seed", "multi_sample", or "both". - val_flow_loss_mode: Literal["fixed_seed", "multi_sample", "both"] = "both" - # K for the multi-sample flow-loss estimator. - val_flow_loss_num_samples: int = 8 - # Fixed rng seed for all validation metrics (deterministic, comparable curves). - val_seed: int = 0 - # Evaluate on EMA params instead of live params. - eval_on_ema: bool = False - # Log predicted-vs-GT action-chunk trajectory plots to wandb at each eval. - viz_action_traj: bool = True - # Number of samples per dataset to draw in the trajectory plot. - viz_num_samples: int = 1 - # Shuffle buffer size for the TRAIN loader. Images are buffered ENCODED, but this still - # costs ~buffer_size * (encoded image bytes); lower it if you hit OOM. (val uses ~1.) - shuffle_buffer_size: int = 50_000 - # tf.data parallelism for RLDS reading and mapping. -1 keeps TensorFlow AUTOTUNE. - data_num_parallel_reads: int = -1 - data_num_parallel_calls: int = -1 - - -# --------------------------------------------------------------------------- -# Config registry (separate from openpi's _CONFIGS; selected via this module's cli()). -# --------------------------------------------------------------------------- -# This edited registry intentionally keeps ONLY the requested piper30 RLDS dataset: -# /mnt/data/RLDS/realworld_piper/ -# piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist -# -# Initialization choices: -# - cotrain_piper30_only / cotrain_all / cotrain_all_2ep: -# fine-tune FROM pi05_base checkpoint (the choice we want). -# - cotrain_piper30_only_paligemma: -# initialize FROM raw PaliGemma VLM backbone only (action expert random-init), kept -# as an explicit optional config so the two training starts remain selectable. -# -# For pi05 checkpoint compatibility, keep the model at the default pi05 action_dim -# (do NOT widen to 40; that was only needed for RoboCOIN in the old multi-dataset mix). - -_PIPER30_ROOT = ( - "/mnt/data/RLDS/realworld_piper/" - "piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist" -) -_PIPER30_BUILDER_DIR = f"{_PIPER30_ROOT}/realworld_piper_infidata/1.0.0" - -_PIPER30_DATA = CotrainDataConfig( - rlds_data_dir=_PIPER30_ROOT, - datasets=( - CotrainRLDSDataset( - name="realworld_piper_infidata", - dataset_id="piper30", - version="1.0.0", - builder_dir=_PIPER30_BUILDER_DIR, - weight=1.0, - train_split="train", - val_splits={"seen": "seen_test", "unseen": "unseen_test"}, - restructure_name="three_cam_task", - action_dim=14, - # Piper stores absolute joint targets: delta the 6 arm joints on each side, - # keep both gripper dims absolute. - delta_action_mask_dims=(6, -1, 6, -1), - ), - ), -) - -_PIPER30_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_piper30_only", - model=pi0_config.Pi0Config(pi05=True), - data=_PIPER30_DATA, - # Fine-tune from the trained pi05 VLA checkpoint. This is the selected start point. - # Public openpi checkpoint; includes the PaliGemma backbone plus the trained pi05 action expert. - weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, -) - -_PIPER30_ONLY_PALIGEMMA = dataclasses.replace( - _PIPER30_ONLY_PI05, - name="cotrain_piper30_only_paligemma", - # Initialize from the raw PaliGemma VLM backbone only (action expert random-init). - # Use this only if you intentionally want the PaliGemma-start baseline. - weight_loader=cotrain_weight_loaders.LocalPaliGemmaWeightLoader( - npz_path="/mnt/data/cache/openpi/vertex-model-garden-paligemma-us/paligemma/pt_224.npz" - ), -) - -_COTRAIN_CONFIGS = [ - # Clear explicit name for the intended training run. - _PIPER30_ONLY_PI05, - # Backward-compatible aliases: old launch commands will still train ONLY piper30 and - # will now start from pi05, not from PaliGemma. - dataclasses.replace(_PIPER30_ONLY_PI05, name="cotrain_all"), - dataclasses.replace(_PIPER30_ONLY_PI05, name="cotrain_all_2ep"), - # Optional baseline, selectable only by the explicit *_paligemma name. - _PIPER30_ONLY_PALIGEMMA, -] - -if len({c.name for c in _COTRAIN_CONFIGS}) != len(_COTRAIN_CONFIGS): - raise ValueError("Co-train config names must be unique.") -_COTRAIN_CONFIGS_DICT = {c.name: c for c in _COTRAIN_CONFIGS} - - -def cli() -> CotrainTrainConfig: - return tyro.extras.overridable_config_cli({k: (k, v) for k, v in _COTRAIN_CONFIGS_DICT.items()}) - - -def get_config(config_name: str) -> CotrainTrainConfig: - if config_name not in _COTRAIN_CONFIGS_DICT: - raise ValueError(f"Co-train config '{config_name}' not found. Available: {list(_COTRAIN_CONFIGS_DICT)}") - return _COTRAIN_CONFIGS_DICT[config_name] diff --git a/src/openpi/cotrain/config.py b/src/openpi/cotrain/config.py index a5f131b..9d33788 100644 --- a/src/openpi/cotrain/config.py +++ b/src/openpi/cotrain/config.py @@ -8,29 +8,106 @@ import dataclasses import logging +import os import pathlib from typing import Literal +import flax.nnx as nnx +import numpy as np from typing_extensions import override import tyro +from openpi.cotrain import action_space as cotrain_action_space +from openpi.cotrain.rlds_dataset import CotrainRLDSDataset +import openpi.cotrain.transforms as cotrain_transforms +import openpi.cotrain.weight_loaders as cotrain_weight_loaders import openpi.models.model as _model import openpi.models.pi0_config as pi0_config import openpi.shared.download as _download +import openpi.shared.nnx_utils as nnx_utils import openpi.shared.normalize as _normalize import openpi.training.config as _config import openpi.training.droid_rlds_dataset as droid_rlds_dataset -import openpi.training.weight_loaders as weight_loaders +import openpi.training.optimizer as _optimizer +import openpi.training.weight_loaders as _weight_loaders import openpi.transforms as _transforms -import openpi.cotrain.transforms as cotrain_transforms -import openpi.cotrain.weight_loaders as cotrain_weight_loaders -from openpi.cotrain.rlds_dataset import CotrainRLDSDataset - logger = logging.getLogger(__name__) +LEGACY_ACTION_DIM = 32 +_LEGACY_REAL_ONLY_DATASET_IDS = frozenset({"piper30", "piper2"}) +_LEGACY_REPLAY_DATASET_IDS = frozenset({"piper30"}) + + +def _resolve_unified_datasets(datasets, model_config: _model.BaseModelConfig): + if model_config.action_dim != cotrain_action_space.UNIFIED_ACTION_DIM: + raise ValueError( + f"All co-training configs require action_dim={cotrain_action_space.UNIFIED_ACTION_DIM}, " + f"got {model_config.action_dim}." + ) + + resolved = [] + for ds in datasets: + try: + spec = cotrain_action_space.UNIFIED_ACTION_SPECS[ds.uid] + except KeyError as exc: + raise ValueError(f"Dataset '{ds.uid}' has no registered unified 80D action mapping.") from exc + if ds.unified_action_spec is not None and ds.unified_action_spec != spec: + raise ValueError(f"Dataset '{ds.uid}' overrides its registered unified 80D action mapping.") + resolved.append(dataclasses.replace(ds, unified_action_spec=spec)) + return tuple(resolved) + + +def _resolve_legacy32_datasets(datasets, model_config: _model.BaseModelConfig): + """Resolve the controlled Piper legacy baseline without unified slot remapping.""" + if model_config.action_dim != LEGACY_ACTION_DIM: + raise ValueError( + f"Legacy real-only co-training requires action_dim={LEGACY_ACTION_DIM}, got {model_config.action_dim}." + ) + dataset_ids = {ds.uid for ds in datasets} + if dataset_ids not in {_LEGACY_REAL_ONLY_DATASET_IDS, _LEGACY_REPLAY_DATASET_IDS}: + raise ValueError( + "Legacy32 is restricted to the controlled Piper30+Piper2 ablation or the " + f"Piper30-only Aliyun replay; got datasets={sorted(dataset_ids)}." + ) + if any(ds.action_dim != 14 for ds in datasets): + raise ValueError("Legacy32 Piper datasets must expose the native 14D action layout.") + return tuple(dataclasses.replace(ds, unified_action_spec=None) for ds in datasets) + + +def project_unified_norm_stats_to_native(loaded: dict, dataset_id: str) -> dict: + """Project audited 80D stats back into the source-native Piper dimension order.""" + spec = cotrain_action_space.UNIFIED_ACTION_SPECS[dataset_id] + mappings = {"state": spec.state_mapping, "actions": spec.action_mapping} + projected = dict(loaded) + for key, mapping in mappings.items(): + if key not in loaded: + continue + ordered = sorted(mapping) + sources = [source for source, _ in ordered] + if sources != list(range(len(sources))): + raise ValueError(f"Legacy32 projection for '{dataset_id}' requires contiguous native {key} dimensions.") + targets = np.asarray([target for _, target in ordered], dtype=np.int64) + stats = loaded[key] + + def take(value, indices=targets): + return None if value is None else np.asarray(value)[indices] + + projected[key] = _normalize.NormStats( + mean=take(stats.mean), + std=take(stats.std), + q01=take(stats.q01), + q99=take(stats.q99), + ) + return projected + -def load_per_dataset_norm_stats(assets_dirs: pathlib.Path, datasets) -> dict: +def load_per_dataset_norm_stats( + assets_dirs: pathlib.Path, + datasets, + *, + project_unified_to_native: bool = False, +) -> dict: """Load per-dataset norm stats from `/` (skip if missing). Returns {dataset_name: {"state": NormStats, "actions": NormStats}} for the DispatchNormalize. @@ -39,7 +116,24 @@ def load_per_dataset_norm_stats(assets_dirs: pathlib.Path, datasets) -> dict: for ds in datasets: try: d = str(pathlib.Path(assets_dirs) / ds.uid) - stats[ds.uid] = _normalize.load(_download.maybe_download(d)) + resolved = pathlib.Path(_download.maybe_download(d)) + loaded = _normalize.load(resolved) + validation_spec = ( + cotrain_action_space.UNIFIED_ACTION_SPECS[ds.uid] + if project_unified_to_native + else ds.unified_action_spec + ) + if validation_spec is not None: + cotrain_action_space.validate_metadata(resolved, validation_spec) + for key in ("state", "actions"): + if key not in loaded or len(loaded[key].mean) != cotrain_action_space.UNIFIED_ACTION_DIM: + raise ValueError( + f"Unified norm stats for '{ds.uid}' key '{key}' must be " + f"{cotrain_action_space.UNIFIED_ACTION_DIM}D." + ) + if project_unified_to_native: + loaded = project_unified_norm_stats_to_native(loaded, ds.uid) + stats[ds.uid] = loaded logger.info(f"Loaded per-dataset norm stats for '{ds.uid}' from {d}") except FileNotFoundError: logger.warning(f"Norm stats for dataset '{ds.uid}' not found under {assets_dirs}; skipping (no norm).") @@ -61,25 +155,50 @@ class CotrainDataConfig(_config.DataConfigFactory): rlds_data_dir: str | None = None action_space: droid_rlds_dataset.DroidActionSpace | None = None datasets: tuple[CotrainRLDSDataset, ...] = () + # Production configs use the unified 80D registry. The only supported opt-out is the + # controlled Piper30+Piper2 legacy32 ablation. + unified_action_space: bool = True + # The legacy experiment reuses the audited unified stats and projects the active slots + # back to native Piper order, avoiding a second scan of the exact same source frames. + norm_stats_source_config: str | None = None + # The June-29 Piper-only run predates action-mode prompt metadata. Keep this switch scoped + # to its replay config; current production and action-space ablation configs retain it. + include_action_prompt_prefix: bool = True @override def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig) -> _config.DataConfig: assert self.rlds_data_dir is not None, "Need to set rlds_data_dir for the co-training RLDS loader." assert len(self.datasets) > 0, "Need at least one dataset in `datasets`." + datasets = ( + _resolve_unified_datasets(self.datasets, model_config) + if self.unified_action_space + else _resolve_legacy32_datasets(self.datasets, model_config) + ) + if getattr(model_config, "ki_enabled", False): + raise NotImplementedError("KI FAST-token supervision does not yet support per-dimension action masks.") base = self.create_base_config(assets_dirs, model_config) # Per-dataset absolute->delta action conversion (e.g. RoboMIND absolute joint). - delta_masks = { - ds.uid: _transforms.make_bool_mask(*ds.delta_action_mask_dims) - for ds in self.datasets - if ds.delta_action_mask_dims is not None - } + delta_masks = {} + for ds in datasets: + delta_masks[ds.uid] = ( + ds.unified_action_spec.delta_mask + if ds.unified_action_spec is not None + else _transforms.make_bool_mask(*ds.delta_action_mask_dims) + ) dispatch_delta = cotrain_transforms.DispatchDeltaActions(masks_by_dataset=delta_masks) # Per-dataset normalization (dispatched at runtime by dataset_id). Quantile norm for # pi05 (use_quantile_norm is True for non-PI0 models in create_base_config). - per_dataset_stats = load_per_dataset_norm_stats(assets_dirs, self.datasets) + stats_assets_dirs = ( + assets_dirs.parent / self.norm_stats_source_config if self.norm_stats_source_config else assets_dirs + ) + per_dataset_stats = load_per_dataset_norm_stats( + stats_assets_dirs, + datasets, + project_unified_to_native=not self.unified_action_space, + ) dispatch_norm = cotrain_transforms.DispatchNormalize( norm_stats_by_dataset=per_dataset_stats, use_quantiles=base.use_quantile_norm, @@ -88,13 +207,11 @@ def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig # Generic inputs (uniform schema across datasets) -> per-dataset delta -> per-dataset # normalization. No per-dataset repack needed (StandardizedInputs reads the nested # standardized keys directly). Delta MUST precede normalization (stats are on deltas). - data_transforms = _transforms.Group( - inputs=[ - cotrain_transforms.StandardizedInputs(model_type=model_config.model_type), - dispatch_delta, - dispatch_norm, - ], - ) + data_inputs = [cotrain_transforms.StandardizedInputs(model_type=model_config.model_type)] + if not self.include_action_prompt_prefix: + data_inputs.append(cotrain_transforms.DropPromptPrefix()) + data_inputs.extend((dispatch_delta, dispatch_norm)) + data_transforms = _transforms.Group(inputs=data_inputs) model_transforms = _config.ModelTransformFactory()(model_config) @@ -104,7 +221,7 @@ def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig model_transforms=model_transforms, rlds_data_dir=self.rlds_data_dir, action_space=self.action_space, - datasets=self.datasets, + datasets=datasets, ) @@ -112,8 +229,24 @@ def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig class CotrainTrainConfig(_config.TrainConfig): """TrainConfig + validation-eval knobs.""" + # Optional existing assets subdirectory to reuse. Staged runs change the + # training config name but should reuse exactly the same per-dataset 80D stats + # as their corresponding Ego-only/full-all baseline. + norm_stats_assets_name: str | None = None + + # Save only inference/stage-transfer params and normalization assets. This + # avoids materializing the much larger Adam optimizer state in host memory + # while writing a checkpoint, which is useful for low-memory DSW smoke + # tests. Params-only checkpoints intentionally cannot resume training; + # production jobs should keep the default full-state checkpoints. + checkpoint_params_only: bool = False + # How often (in steps) to run validation. eval_interval: int = 1000 + # Independent global validation batch size. None preserves the legacy behavior of + # reusing the training batch size. Large co-training batches should set this explicitly + # to avoid creating an enormous XLA graph for validation. + val_batch_size: int | None = None # Number of val batches per dataset for the (cheap) flow-loss pass. num_val_batches: int = 20 # Whether to also run the (expensive) action-MSE sampling pass. @@ -122,8 +255,7 @@ class CotrainTrainConfig(_config.TrainConfig): num_action_mse_batches: int = 5 # Denoising steps used by sample_actions during action-MSE eval. action_mse_num_denoise_steps: int = 10 - # NOTE: the number of valid (non-padded) action dims for the MSE mask is taken - # per-dataset from each CotrainRLDSDataset.action_dim (0 -> all dims). + # Action MSE uses the per-sample binary mask carried by the RLDS pipeline. # Flow-loss estimator(s): "fixed_seed", "multi_sample", or "both". val_flow_loss_mode: Literal["fixed_seed", "multi_sample", "both"] = "both" # K for the multi-sample flow-loss estimator. @@ -143,39 +275,60 @@ class CotrainTrainConfig(_config.TrainConfig): data_num_parallel_reads: int = -1 data_num_parallel_calls: int = -1 + @property + def assets_dirs(self) -> pathlib.Path: + name = self.norm_stats_assets_name or self.name + return (pathlib.Path(self.assets_base_dir) / name).resolve() + # --------------------------------------------------------------------------- # Config registry (separate from openpi's _CONFIGS; selected via this module's cli()). # --------------------------------------------------------------------------- -# This edited registry intentionally keeps ONLY the requested piper30 RLDS dataset: -# /mnt/data/RLDS/realworld_piper/ -# piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist -# -# Initialization choices: -# - cotrain_piper30_only / cotrain_all / cotrain_all_2ep: -# fine-tune FROM pi05_base checkpoint (the choice we want). -# - cotrain_piper30_only_paligemma: -# initialize FROM raw PaliGemma VLM backbone only (action expert random-init), kept -# as an explicit optional config so the two training starts remain selectable. -# -# For pi05 checkpoint compatibility, keep the model at the default pi05 action_dim -# (do NOT widen to 40; that was only needed for RoboCOIN in the old multi-dataset mix). +# Production configs use the fixed 80D state/action layout. The explicitly named +# cotrain_real_only_legacy32 config is the only exception and exists solely as a controlled +# action-space ablation. pi05_base has a 32D projection/head, so unified checkpoint-start +# configs use the shape-safe loader while the legacy control loads the full matching head. + +# DSW/DLC should mount the NAS dataset tree at this root. Keeping the root in an +# environment variable lets the exact same checkout run in a developer instance and +# a distributed job without editing forty-plus builder paths. RLDS_DATA_DIR remains +# supported for the existing Baidu jobs. +_RLDS_ROOT = os.environ.get("ATOM_RLDS_ROOT", os.environ.get("RLDS_DATA_DIR", "/mnt/data/RLDS")).rstrip("/") +_PI05_BASE_PARAMS = os.environ.get( + "ATOM_PI05_BASE_PARAMS", + "gs://openpi-assets/checkpoints/pi05_base/params", +) _PIPER30_ROOT = ( - "/mnt/data/RLDS/realworld_piper/" + f"{_RLDS_ROOT}/realworld_piper_task_split/" "piper_s14_a14_fps30_c4_ee_pose_cam_front_cam_high_cam_left_wrist_cam_right_wrist" ) -_PIPER30_BUILDER_DIR = f"{_PIPER30_ROOT}/realworld_piper_infidata/1.0.0" -_PIPER30_TRAIN_EPISODES = 5_307 +_PIPER30_BUILDER_DIR = os.environ.get( + "REALWORLD_PIPER30_BUILDER_DIR", + f"{_PIPER30_ROOT}/realworld_piper_infidata/1.1.0", +) +_PIPER30_TRAIN_EPISODES = int(os.environ.get("REALWORLD_PIPER30_TRAIN_EPISODES", "4927")) + +# Second in-house Piper RLDS drop. Its on-host builder was audited at +# /mnt/bos/bo23lu/realworld_piper_2/realworld_piper_infidata/1.0.0. Keep an override for +# hosts whose RLDS root is mounted elsewhere. +_PIPER2_ROOT = f"{_RLDS_ROOT}/realworld_piper_2" +_PIPER2_BUILDER_DIR = os.environ.get( + "REALWORLD_PIPER_2_BUILDER_DIR", + f"{_PIPER2_ROOT}/realworld_piper_infidata/1.0.0", +) +_PIPER2_TRAIN_EPISODES = int(os.environ.get("REALWORLD_PIPER_2_TRAIN_EPISODES", "902")) -_DROID_ROOT = "/mnt/data/RLDS/DROID" +_DROID_ROOT = f"{_RLDS_ROOT}/DROID" _DROID_BUILDER_DIR = f"{_DROID_ROOT}/droid_infidata/1.1.0" _DROID_TRAIN_EPISODES = 64_124 -_EGOVERSE_FULL_ROOT = "/mnt/data/RLDS/EgoVerse_full" +_EGOVERSE_FULL_ROOT = f"{_RLDS_ROOT}/EgoVerse_full" _EGOVERSE_FULL_TRAIN_EPISODES = 910 + 2_813 + 770 + 39_530 + 16_223 +_EGOVERSE_RL2_ROOT = os.environ.get("ATOM_EGOVERSE_RL2_ROOT", f"{_RLDS_ROOT}/EgoVerse_rl2") +_EGOVERSE_RL2_TRAIN_EPISODES = 2_831 + 1_387 -_ROBOCOIN_ROOT = "/mnt/data/RLDS/RoboCOIN" +_ROBOCOIN_ROOT = f"{_RLDS_ROOT}/RoboCOIN" # RoboCOIN tuple format: # dataset_id, repo dir, train episodes, effective action_dim, delta mask dims, # optional state_indices override. @@ -368,7 +521,7 @@ class CotrainTrainConfig(_config.TrainConfig): _ROBOCOIN_TRAIN_EPISODES = sum(train_episodes for _, _, train_episodes, _, _, _ in _ROBOCOIN_REPOS) _AGIBOT_ROOT = ( - "/mnt/data/RLDS/AgiBot/" + f"{_RLDS_ROOT}/AgiBot/" "agibot_world_robot_agibot_world_beta_mobile_dual_arm_joint_absolute_position_real_s20_a20_fps30_" "cam_high_cam_left_wrist_cam_right_wrist__episodes_22986" ) @@ -481,6 +634,244 @@ class CotrainTrainConfig(_config.TrainConfig): ), ) +_EGOVERSE_RL2_DATA = CotrainDataConfig( + rlds_data_dir=_EGOVERSE_RL2_ROOT, + datasets=( + CotrainRLDSDataset( + name="ego_verse_infidata", + dataset_id="egoverse_rl2_eva", + version="1.0.0", + builder_dir=( + f"{_EGOVERSE_RL2_ROOT}/eva_bimanual_front_1_left_wrist_right_wrist/" + "ego_verse_infidata/1.0.0" + ), + weight=2_831 / _EGOVERSE_RL2_TRAIN_EPISODES, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="egoverse_full", + action_dim=12, + delta_action_mask_dims=None, + ), + CotrainRLDSDataset( + name="ego_verse_infidata", + dataset_id="egoverse_rl2_human", + version="1.0.0", + builder_dir=( + f"{_EGOVERSE_RL2_ROOT}/human_bimanual_front_1/" + "ego_verse_infidata/1.0.0" + ), + weight=1_387 / _EGOVERSE_RL2_TRAIN_EPISODES, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="egoverse_full", + action_dim=12, + delta_action_mask_dims=None, + ), + ), +) + +# Optional aligned human/robot play data. These paths are intentionally stable +# placeholders under ATOM_RLDS_ROOT; they do not need to exist for the existing +# configs. See docs/egoscale_staged_training.md for the exact 14D RLDS contract. +_ALIGNED_PARALLEL_GRIPPER_ROOT = os.environ.get( + "ATOM_ALIGNED_RLDS_ROOT", + f"{_RLDS_ROOT}/aligned_parallel_gripper", +).rstrip("/") +_ALIGNED_PARALLEL_GRIPPER_DATA = CotrainDataConfig( + rlds_data_dir=_ALIGNED_PARALLEL_GRIPPER_ROOT, + datasets=( + CotrainRLDSDataset( + name="aligned_parallel_gripper", + dataset_id="aligned_parallel_gripper_human", + version="1.0.0", + builder_dir=os.environ.get( + "ATOM_ALIGNED_HUMAN_BUILDER_DIR", + f"{_ALIGNED_PARALLEL_GRIPPER_ROOT}/human/aligned_parallel_gripper/1.0.0", + ), + weight=0.8, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="aligned_parallel_gripper", + action_dim=14, + ), + CotrainRLDSDataset( + name="aligned_parallel_gripper", + dataset_id="aligned_parallel_gripper_robot", + version="1.0.0", + builder_dir=os.environ.get( + "ATOM_ALIGNED_ROBOT_BUILDER_DIR", + f"{_ALIGNED_PARALLEL_GRIPPER_ROOT}/robot/aligned_parallel_gripper/1.0.0", + ), + weight=0.2, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="aligned_parallel_gripper", + action_dim=14, + ), + ), +) + +_SELF_COLLECTED_ALIGNED_ROOT = os.environ.get( + "ATOM_SELF_COLLECTED_ALIGNED_RLDS_ROOT", + f"{_RLDS_ROOT}/AtomAligned_full", +).rstrip("/") + + +def _make_self_collected_aligned_dataset( + dataset_id: str, + *, + action_dim: int, + weight: float, +) -> CotrainRLDSDataset: + return CotrainRLDSDataset( + name="atom_aligned_rlds", + dataset_id=dataset_id, + version="2.0.0", + builder_dir=f"{_SELF_COLLECTED_ALIGNED_ROOT}/atom_aligned_rlds/{dataset_id}/2.0.0", + weight=weight, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="aligned_parallel_gripper", + action_dim=action_dim, + precomputed_action_chunk=True, + precomputed_action_source="relative_eef_se3_translation_rotvec_plus_absolute_gripper", + precomputed_action_horizon=50, + ) + + +_SELF_COLLECTED_ALIGNED_DATA = CotrainDataConfig( + rlds_data_dir=_SELF_COLLECTED_ALIGNED_ROOT, + datasets=( + # Match the collection design: 80% human / 20% robot. Within each + # domain, split by task coverage (Hangzhou 15 tasks, Shenzhen 12). + _make_self_collected_aligned_dataset( + "aligned_hangzhou_human_right", action_dim=7, weight=4 / 9 + ), + _make_self_collected_aligned_dataset( + "aligned_shenzhen_human_bimanual", action_dim=14, weight=16 / 45 + ), + _make_self_collected_aligned_dataset( + "aligned_hangzhou_robot_right", action_dim=7, weight=1 / 9 + ), + _make_self_collected_aligned_dataset( + "aligned_shenzhen_robot_bimanual", action_dim=14, weight=4 / 45 + ), + ), +) + +# Public EgoMimic is a different contract from the future in-house 14D aligned +# collection above. Human files contain current-camera-frame XYZ; robot files +# additionally contain ALOHA joint/gripper targets. Human and robot remain +# separate dataset IDs so their normalization statistics are never mixed. +_EGOMIMIC_RLDS_ROOT = os.environ.get( + "ATOM_EGOMIMIC_RLDS_ROOT", + f"{_RLDS_ROOT}/EgoMimic", +).rstrip("/") + + +def _make_egomimic_dataset( + task: str, + domain: str, + *, + action_dim: int, + weight: float, + robot_validation_is_train: bool = False, +) -> CotrainRLDSDataset: + dataset_id = f"egomimic_{task}_{domain}" + if domain == "human": + action_source = "actions_xyz_act" + val_splits = {"seen": "seen_test", "unseen": "unseen_test"} + elif domain == "robot": + action_source = "actions_joints_act+actions_xyz_act" + val_splits = ( + {"seen": "train", "unseen": "train"} + if robot_validation_is_train + else {"seen": "seen_test", "unseen": "unseen_test"} + ) + else: + raise ValueError(f"Unsupported EgoMimic domain: {domain!r}") + return CotrainRLDSDataset( + name="ego_mimic_rlds", + dataset_id=dataset_id, + version="1.0.0", + builder_dir=f"{_EGOMIMIC_RLDS_ROOT}/ego_mimic_rlds/{task}_{domain}/1.0.0", + weight=weight, + train_split="train", + val_splits=val_splits, + restructure_name="egomimic", + action_dim=action_dim, + precomputed_action_chunk=True, + precomputed_action_source=action_source, + precomputed_action_horizon=100, + ) + + +_EGOMIMIC_GROCERIES_DATA = CotrainDataConfig( + rlds_data_dir=_EGOMIMIC_RLDS_ROOT, + datasets=( + _make_egomimic_dataset( + "groceries", + "human", + action_dim=6, + weight=0.5, + ), + _make_egomimic_dataset( + "groceries", + "robot", + action_dim=20, + weight=0.5, + robot_validation_is_train=True, + ), + ), +) + +# Main public aligned-data recipe: balance tasks equally, then balance the human +# and robot domains inside each task. This intentionally does not weight by raw +# frame count, which would let a few long robot trajectories dominate. +_EGOMIMIC_ALL_DATA = CotrainDataConfig( + rlds_data_dir=_EGOMIMIC_RLDS_ROOT, + datasets=( + _make_egomimic_dataset( + "bowlplace", + "human", + action_dim=3, + weight=1 / 6, + ), + _make_egomimic_dataset( + "bowlplace", + "robot", + action_dim=10, + weight=1 / 6, + robot_validation_is_train=True, + ), + _make_egomimic_dataset( + "groceries", + "human", + action_dim=6, + weight=1 / 6, + ), + _make_egomimic_dataset( + "groceries", + "robot", + action_dim=20, + weight=1 / 6, + robot_validation_is_train=True, + ), + _make_egomimic_dataset( + "smallclothfold", + "human", + action_dim=6, + weight=1 / 6, + ), + _make_egomimic_dataset( + "smallclothfold", + "robot", + action_dim=20, + weight=1 / 6, + ), + ), +) + def _make_robocoin_dataset( dataset_id: str, @@ -517,15 +908,17 @@ def _make_robocoin_dataset( datasets=tuple(_make_robocoin_dataset(*repo_cfg) for repo_cfg in _ROBOCOIN_REPOS), ) -_ROBOMIND_FULL_ROOT = "/mnt/data/RLDS/RoboMIND_full" +_ROBOMIND_FULL_ROOT = f"{_RLDS_ROOT}/RoboMIND_full" # RoboMIND_full tuple format: -# dataset_id, repo dir, episodes, action_dim, delta mask dims, camera keys +# dataset_id, repo dir, train episodes, action_dim, delta mask dims, camera keys # where camera keys are (base_0_rgb, left_wrist_0_rgb, right_wrist_0_rgb). +# Train counts below come from each builder's dataset_info.json shardLengths on +# /mnt/workspace/RLDS, not from the total episode count embedded in its directory name. _ROBOMIND_FULL_REPOS = ( ( "robomind_agilex_cobot_magic_s14_a14", "agilex_cobot_magic_agilex_dual_arm_h5_agilex_3rgb_real_s14_a14_fps30_cam_high_cam_left_wrist_cam_right_wrist__episodes_10374", - 10_374, + 9_855, 14, (6, -1, 6, -1), ("cam_high", "cam_left_wrist", "cam_right_wrist"), @@ -533,7 +926,7 @@ def _make_robocoin_dataset( ( "robomind_franka_fr3_dual_s16_a16", "franka_fr3_dual_master_puppet_joint_position_h5_franka_fr3_dual_real_s16_a16_fps30_cam_high_cam_left_cam_right_cam_top__episodes_1774", - 1_774, + 1_685, 16, (7, -1, 7, -1), ("cam_high", "cam_left", "cam_right"), @@ -541,7 +934,7 @@ def _make_robocoin_dataset( ( "robomind_franka_panda_s8_a8", "franka_panda_master_puppet_joint_position_h5_franka_3rgb_real_s8_a8_fps30_cam_left_cam_right_cam_top__episodes_17219", - 17_219, + 14_956, 8, (7, -1), ("cam_top", "cam_left", "cam_right"), @@ -549,7 +942,7 @@ def _make_robocoin_dataset( ( "robomind_franka_sim_franka_s8_a8", "franka_sim_simulation_franka_joint_position_h5_sim_franka_3rgb_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_14488", - 14_488, + 8_445, 8, (7, -1), ("cam_front_external", "cam_handeye", "cam_right_external"), @@ -557,7 +950,7 @@ def _make_robocoin_dataset( ( "robomind_franka_sim_simulation_s8_a8", "franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_11422", - 11_422, + 8_662, 8, (7, -1), ("cam_front_external", "cam_handeye", "cam_right_external"), @@ -565,7 +958,7 @@ def _make_robocoin_dataset( ( "robomind_franka_sim_simulation_no_front_s8_a8", "franka_sim_simulation_franka_joint_position_h5_simulation_sim_s8_a8_fps30_cam_handeye_cam_left_external_cam_right_external__episodes_158", - 158, + 150, 8, (7, -1), ("cam_left_external", "cam_handeye", "cam_right_external"), @@ -573,7 +966,7 @@ def _make_robocoin_dataset( ( "robomind_franka_sim_none_s8_a8", "franka_sim_simulation_franka_joint_position_none_sim_s8_a8_fps30_cam_front_external_cam_handeye_cam_left_external_cam_right_external__episodes_222", - 222, + 211, 8, (7, -1), ("cam_front_external", "cam_handeye", "cam_right_external"), @@ -581,23 +974,25 @@ def _make_robocoin_dataset( ( "robomind_tienkung_gello_s16_a16", "tienkung_humanoid_master_puppet_joint_position_h5_tienkung_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_6626", - 6_626, + 5_402, 16, - (16,), + # arm7 delta + hand-closure absolute, per side. + (7, -1, 7, -1), ("cam_top", None, None), ), ( "robomind_tienkung_prod1_gello_s16_a16", "tienkung_humanoid_master_puppet_joint_position_h5_tienkung_prod1_gello_1rgb_real_s16_a16_fps30_cam_top__episodes_2959", - 2_959, + 2_811, 16, - (16,), + # arm7 delta + hand-closure absolute, per side. + (7, -1, 7, -1), ("cam_top", None, None), ), ( "robomind_tienkung_xsens_s14_a14", "tienkung_humanoid_master_puppet_joint_position_h5_tienkung_xsens_1rgb_real_s14_a14_fps30_cam_top__episodes_6126", - 6_126, + 5_775, 14, (14,), ("cam_top", None, None), @@ -605,23 +1000,25 @@ def _make_robocoin_dataset( ( "robomind_tienkung_sim_s38_a38", "tienkung_humanoid_tiangong_joint_position_h5_sim_tienkung_1rgb_sim_s38_a38_fps30_cam_chest_cam_head__episodes_3965", - 3_965, + 3_767, 38, - (38,), + # arm7 delta + dex-hand12 absolute, per side. + (7, -12, 7, -12), ("cam_chest", "cam_head", None), ), ( "robomind_tienkung_real_s38_a38", "tienkung_humanoid_tiangong_joint_position_none_real_s38_a38_fps30_cam_chest_cam_head__episodes_146", - 146, + 139, 38, - (38,), + # arm7 delta + dex-hand12 absolute, per side. + (7, -12, 7, -12), ("cam_chest", "cam_head", None), ), ( "robomind_ur5e_s7_a7", "ur5e_master_puppet_joint_position_h5_ur_1rgb_real_s7_a7_fps30_cam_top__episodes_26380", - 26_380, + 25_061, 7, (6, -1), ("cam_top", None, None), @@ -664,7 +1061,7 @@ def _make_robomind_full_dataset( CotrainRLDSDataset( name="realworld_piper_infidata", dataset_id="piper30", - version="1.0.0", + version="1.1.0", builder_dir=_PIPER30_BUILDER_DIR, weight=1.0, train_split="train", @@ -678,193 +1075,450 @@ def _make_robomind_full_dataset( ), ) +_PIPER2_DATA = CotrainDataConfig( + rlds_data_dir=_PIPER2_ROOT, + datasets=( + CotrainRLDSDataset( + name="realworld_piper_infidata", + dataset_id="piper2", + version="1.0.0", + builder_dir=_PIPER2_BUILDER_DIR, + weight=1.0, + train_split="train", + val_splits={"seen": "seen_test", "unseen": "unseen_test"}, + restructure_name="piper2", + action_dim=14, + # Actual metadata and samples agree on this layout: + # left_joint_1..6, left_gripper, right_joint_1..6, right_gripper. + # action[t] is exactly state[t+1]. Arm targets become relative to the current + # observation while both gripper targets remain absolute. + delta_action_mask_dims=(6, -1, 6, -1), + ), + ), +) + -_FULL_ALL_TRAIN_EPISODES = ( +_ALL_TRAIN_EPISODES = ( _AGIBOT_TRAIN_EPISODES + _DROID_TRAIN_EPISODES + _EGOVERSE_FULL_TRAIN_EPISODES + _PIPER30_TRAIN_EPISODES + + _PIPER2_TRAIN_EPISODES + _ROBOCOIN_TRAIN_EPISODES + _ROBOMIND_FULL_EPISODES ) def _scale_dataset_weights(datasets: tuple[CotrainRLDSDataset, ...], train_episodes: int): - return tuple( - dataclasses.replace(ds, weight=ds.weight * train_episodes / _FULL_ALL_TRAIN_EPISODES) for ds in datasets - ) + return tuple(dataclasses.replace(ds, weight=ds.weight * train_episodes / _ALL_TRAIN_EPISODES) for ds in datasets) -_FULL_ALL_DATA = CotrainDataConfig( - rlds_data_dir="/mnt/data/RLDS", - datasets=( - *_scale_dataset_weights(_AGIBOT_DATA.datasets, _AGIBOT_TRAIN_EPISODES), - *_scale_dataset_weights(_DROID_DATA.datasets, _DROID_TRAIN_EPISODES), - *_scale_dataset_weights(_EGOVERSE_FULL_DATA.datasets, _EGOVERSE_FULL_TRAIN_EPISODES), - *_scale_dataset_weights(_PIPER30_DATA.datasets, _PIPER30_TRAIN_EPISODES), - *_scale_dataset_weights(_ROBOCOIN_DATA.datasets, _ROBOCOIN_TRAIN_EPISODES), - *_scale_dataset_weights(_ROBOMIND_FULL_DATA.datasets, _ROBOMIND_FULL_EPISODES), +_FULL_ALL_EXCLUDED_DATASET_IDS = { + "robocoin_unitree_g1_dex3_s28_a28", + "robomind_tienkung_sim_s38_a38", +} + + +def _drop_dataset_ids_and_renormalize( + datasets: tuple[CotrainRLDSDataset, ...], excluded_dataset_ids: set[str] | frozenset[str] +): + kept = tuple(ds for ds in datasets if ds.uid not in excluded_dataset_ids) + if not kept: + raise ValueError("At least one co-training dataset must remain after exclusions.") + total_weight = sum(ds.weight for ds in kept) + return tuple(dataclasses.replace(ds, weight=ds.weight / total_weight) for ds in kept) + + +def _drop_excluded_and_renormalize(datasets: tuple[CotrainRLDSDataset, ...]): + return _drop_dataset_ids_and_renormalize(datasets, _FULL_ALL_EXCLUDED_DATASET_IDS) + + +# In-house real-robot mixture. Weights are proportional to train episode counts. +_REAL_ONLY_DATA = CotrainDataConfig( + rlds_data_dir=_RLDS_ROOT, + datasets=_drop_excluded_and_renormalize( + ( + *_scale_dataset_weights(_PIPER30_DATA.datasets, _PIPER30_TRAIN_EPISODES), + *_scale_dataset_weights(_PIPER2_DATA.datasets, _PIPER2_TRAIN_EPISODES), + ) ), ) +# All in-house real data plus public robot datasets. EgoVerse is deliberately absent. +_REAL_ROBOT_DATA = CotrainDataConfig( + rlds_data_dir=_RLDS_ROOT, + datasets=_drop_excluded_and_renormalize( + ( + *_scale_dataset_weights(_PIPER30_DATA.datasets, _PIPER30_TRAIN_EPISODES), + *_scale_dataset_weights(_PIPER2_DATA.datasets, _PIPER2_TRAIN_EPISODES), + *_scale_dataset_weights(_AGIBOT_DATA.datasets, _AGIBOT_TRAIN_EPISODES), + *_scale_dataset_weights(_DROID_DATA.datasets, _DROID_TRAIN_EPISODES), + *_scale_dataset_weights(_ROBOCOIN_DATA.datasets, _ROBOCOIN_TRAIN_EPISODES), + *_scale_dataset_weights(_ROBOMIND_FULL_DATA.datasets, _ROBOMIND_FULL_EPISODES), + ) + ), +) -_PIPER30_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_piper30_only", - model=pi0_config.Pi0Config(pi05=True), - data=_PIPER30_DATA, - # Fine-tune from the trained pi05 VLA checkpoint. This is the selected start point. - # Public openpi checkpoint; includes the PaliGemma backbone plus the trained pi05 action expert. - weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=5_000, - keep_period=5_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, +# Audited production mixture. Keep the original cotrain_real_robot config immutable for +# reproducibility, and exclude datasets whose sparse/corrupt tails make quantile normalization +# unsafe or destroy state conditioning. +_REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS = frozenset( + { + "robocoin_leju_robot_s54_a54", + "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "robocoin_agilex_decoupled_magic_s26_a26", + } +) +_REAL_ROBOT_FIX_DATA = dataclasses.replace( + _REAL_ROBOT_DATA, + datasets=_drop_dataset_ids_and_renormalize( + _REAL_ROBOT_DATA.datasets, + _REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS, + ), ) -_DROID_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_droid", - model=pi0_config.Pi0Config(pi05=True), - data=_DROID_DATA, - weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, +# Production all-data mixture: the audited real+robot mixture plus EgoVerse. This +# includes both in-house Piper datasets and excludes the two globally disabled +# datasets as well as the three datasets rejected by the real-robot audit. +_FULL_ALL_FIX_DATA = CotrainDataConfig( + rlds_data_dir=_RLDS_ROOT, + datasets=_drop_dataset_ids_and_renormalize( + ( + *_scale_dataset_weights(_PIPER30_DATA.datasets, _PIPER30_TRAIN_EPISODES), + *_scale_dataset_weights(_PIPER2_DATA.datasets, _PIPER2_TRAIN_EPISODES), + *_scale_dataset_weights(_AGIBOT_DATA.datasets, _AGIBOT_TRAIN_EPISODES), + *_scale_dataset_weights(_DROID_DATA.datasets, _DROID_TRAIN_EPISODES), + *_scale_dataset_weights(_EGOVERSE_FULL_DATA.datasets, _EGOVERSE_FULL_TRAIN_EPISODES), + *_scale_dataset_weights(_ROBOCOIN_DATA.datasets, _ROBOCOIN_TRAIN_EPISODES), + *_scale_dataset_weights(_ROBOMIND_FULL_DATA.datasets, _ROBOMIND_FULL_EPISODES), + ), + _FULL_ALL_EXCLUDED_DATASET_IDS | _REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS, + ), ) -_AGIBOT_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_agibot", - model=pi0_config.Pi0Config(pi05=True), - data=_AGIBOT_DATA, - weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, +_EGOVERSE_DATASET_IDS = { + dataset.uid for dataset in (*_EGOVERSE_FULL_DATA.datasets, *_EGOVERSE_RL2_DATA.datasets) +} +# The current BOS copy of EgoVerse Scale has extreme pose tails and caused repeated +# full-run loss/gradient spikes. Keep it registered for audit/reprocessing, but exclude +# it from the production Stage 1 recipe. The six retained builders use the official +# per-frame 100-step actions_cartesian trajectory instead of reconstructing a horizon +# from adjacent episode frames. +_EGOSCALE_STAGE1_EXCLUDED_DATASET_IDS = frozenset({"egoverse_scale"}) +_EGOSCALE_STAGE1_TRAIN_EPISODES = { + "egoverse_aria": 910, + "egoverse_eva": 2_813, + "egoverse_human": 770, + "egoverse_mecka": 39_530, + "egoverse_rl2_eva": 2_831, + "egoverse_rl2_human": 1_387, +} +_EGOSCALE_STAGE1_TOTAL_EPISODES = sum(_EGOSCALE_STAGE1_TRAIN_EPISODES.values()) +_EGOSCALE_STAGE1_EGO_DATA = CotrainDataConfig( + rlds_data_dir=_RLDS_ROOT, + datasets=tuple( + dataclasses.replace( + dataset, + weight=_EGOSCALE_STAGE1_TRAIN_EPISODES[dataset.uid] / _EGOSCALE_STAGE1_TOTAL_EPISODES, + restructure_name="egoverse_cartesian_chunk", + precomputed_action_chunk=True, + precomputed_action_source="actions_cartesian", + precomputed_action_horizon=100, + ) + for dataset in (*_EGOVERSE_FULL_DATA.datasets, *_EGOVERSE_RL2_DATA.datasets) + if dataset.uid not in _EGOSCALE_STAGE1_EXCLUDED_DATASET_IDS + ), ) +# Use wudi's audited production robot mixture for staged robot adaptation. +_ROBOT_ALL_DATA = _REAL_ROBOT_FIX_DATA -_EGOVERSE_FULL_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_egoverse_full", - model=pi0_config.Pi0Config(pi05=True), - data=_EGOVERSE_FULL_DATA, - weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, + +_UNIFIED_PI05_MODEL = pi0_config.Pi0Config( + pi05=True, + action_dim=cotrain_action_space.UNIFIED_ACTION_DIM, + max_token_len=384, +) +_LEGACY32_PI05_MODEL = pi0_config.Pi0Config( + pi05=True, + action_dim=LEGACY_ACTION_DIM, + max_token_len=384, +) +_LEGACY32_ALIYUN_REPLAY_MODEL = pi0_config.Pi0Config( + pi05=True, + action_dim=LEGACY_ACTION_DIM, + max_token_len=200, ) +_PI05_BASE_SHAPE_SAFE_LOADER = cotrain_weight_loaders.ShapeSafeCheckpointWeightLoader( + params_path=_PI05_BASE_PARAMS, +) + + +def _freeze_vlm_language_filter(): + """Freeze the PaliGemma language transformer but keep vision/action modules trainable. + + Pi0 stores the shared VLM language stack under ``llm`` and the action expert + under the same tree with ``_1`` in its path. Stage-II uses this filter to + preserve language representations while adapting the image encoder and action + expert, following the part of EgoScale's recipe that applies to this codebase. + """ + return nnx.All( + nnx_utils.PathRegex(".*llm.*"), + nnx.Not(nnx_utils.PathRegex(".*llm.*_1.*")), + ) + + +def _strict_stage_checkpoint_loader() -> _weight_loaders.CheckpointWeightLoader: + """Require an explicit, fully shape-compatible previous-stage checkpoint.""" + return _weight_loaders.CheckpointWeightLoader(params_path=tyro.MISSING) -_ROBOCOIN_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_robocoin", - # RoboCOIN_full includes many robot schemas. We crop each raw state/action to its named, - # action-aligned proprio/action coordinates, then pad to a common model width. The widest - # effective schema is Leju at 54 dims, so 64 is enough with headroom. - model=pi0_config.Pi0Config(pi05=True, action_dim=64, max_token_len=384), - data=_ROBOCOIN_DATA, - # A 64-wide action/state head is not shape-compatible with pi05_base. Load the PaliGemma - # VLM backbone and leave the action expert randomly initialized, matching the old widened - # RoboCOIN-style setup. - weight_loader=cotrain_weight_loaders.LocalPaliGemmaWeightLoader( - npz_path="/mnt/data/cache/openpi/vertex-model-garden-paligemma-us/paligemma/pt_224.npz" + +_REAL_ONLY_PI05 = CotrainTrainConfig( + name="cotrain_real_only", + model=_UNIFIED_PI05_MODEL, + data=_REAL_ONLY_DATA, + weight_loader=_PI05_BASE_SHAPE_SAFE_LOADER, + lr_schedule=_optimizer.CosineDecaySchedule( + warmup_steps=10_000, + peak_lr=1.0e-6, + decay_steps=3_000_000, + decay_lr=1.0e-7, ), + optimizer=_optimizer.AdamW(clip_gradient_norm=1.0), batch_size=32, num_train_steps=30_000, log_interval=100, save_interval=2_000, eval_interval=1_000, + val_batch_size=96, num_val_batches=10, num_action_mse_batches=2, exp_name=tyro.MISSING, ) -_ROBOMIND_FULL_ONLY_PI05 = CotrainTrainConfig( - name="cotrain_robomind_full", - # RoboMIND_full reaches 38 native action/state dims, so pad to a 64-wide head. - model=pi0_config.Pi0Config(pi05=True, action_dim=64, max_token_len=384), - data=_ROBOMIND_FULL_DATA, - weight_loader=cotrain_weight_loaders.LocalPaliGemmaWeightLoader( - npz_path="/mnt/data/cache/openpi/vertex-model-garden-paligemma-us/paligemma/pt_224.npz" - ), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, +# Controlled action-space ablation: same Piper30+Piper2 mixture and optimizer recipe as +# cotrain_real_only, but retain the pre-unified pi0.5 layout (native Piper14 in slots 0:14, +# padded to the checkpoint-compatible 32D model width). Since the shapes match pi05_base, +# load the complete pretrained 32D action head instead of shape-skipping it. The +# shape-safe loader is also the common PARAMS_PATH entry point: when given a +# PaliGemma NPZ it initializes only the VLM backbone and leaves the action stack +# random. +_REAL_ONLY_LEGACY32_DATA = dataclasses.replace( + _REAL_ONLY_DATA, + unified_action_space=False, + norm_stats_source_config="cotrain_real_only", +) +_REAL_ONLY_LEGACY32_PI05 = dataclasses.replace( + _REAL_ONLY_PI05, + name="cotrain_real_only_legacy32", + model=_LEGACY32_PI05_MODEL, + data=_REAL_ONLY_LEGACY32_DATA, + weight_loader=_PI05_BASE_SHAPE_SAFE_LOADER, ) -_FULL_ALL_PI05 = CotrainTrainConfig( - name="cotrain_full_all", - # Full co-training includes RoboCOIN (54 effective dims) and RoboMIND_full (38 dims), so - # all native state/action vectors are padded to a shared 64-wide model head. - model=pi0_config.Pi0Config(pi05=True, action_dim=64, max_token_len=384), - data=_FULL_ALL_DATA, - # Initialize from pi05_base for consistency with the piper30-only reproduction. The widened - # 64-dim state/action projection/head is not shape-compatible with pi05_base's 32-dim head, - # so the shape-safe loader skips only those mismatched keys and keeps their random init. - weight_loader=cotrain_weight_loaders.ShapeSafeCheckpointWeightLoader( - params_path="gs://openpi-assets/checkpoints/pi05_base/params", - ), - batch_size=32, - num_train_steps=30_000, - log_interval=100, - save_interval=2_000, - eval_interval=1_000, - num_val_batches=10, - num_action_mse_batches=2, - exp_name=tyro.MISSING, +# Historical replay of the successful June-29 Aliyun Piper-only run. Unlike the controlled +# action-space ablation above, this also restores the old data mixture, prompt format, token +# length, training horizon, and code-default LR schedule. The old launch metadata/global batch +# and old norm file are unavailable; the Baige guide records the explicit assumptions used. +_PIPER30_LEGACY32_ALIYUN_REPLAY_DATA = dataclasses.replace( + _PIPER30_DATA, + unified_action_space=False, + norm_stats_source_config="cotrain_real_only", + include_action_prompt_prefix=False, +) +_ALIYUN_20K_LR_SCHEDULE = _optimizer.CosineDecaySchedule( + warmup_steps=1_000, + peak_lr=2.5e-5, + decay_steps=30_000, + decay_lr=2.5e-6, +) +_PIPER30_LEGACY32_ALIYUN_REPLAY = dataclasses.replace( + _REAL_ONLY_LEGACY32_PI05, + name="cotrain_piper30_legacy32_aliyun_replay", + model=_LEGACY32_ALIYUN_REPLAY_MODEL, + data=_PIPER30_LEGACY32_ALIYUN_REPLAY_DATA, + lr_schedule=_ALIYUN_20K_LR_SCHEDULE, + num_train_steps=20_000, + save_interval=5_000, +) + +# Dataset-only comparison against the successful Piper30 replay above. Keep the +# legacy model, old prompt contract, initialization, and complete Aliyun 20k +# optimizer recipe fixed; only replace the one-dataset input with the production +# Piper30+Piper2 mixture. +_REAL_ONLY_LEGACY32_ALIYUN_RECIPE_DATA = dataclasses.replace( + _REAL_ONLY_DATA, + unified_action_space=False, + norm_stats_source_config="cotrain_real_only", + include_action_prompt_prefix=False, +) +_REAL_ONLY_LEGACY32_ALIYUN_RECIPE = dataclasses.replace( + _PIPER30_LEGACY32_ALIYUN_REPLAY, + name="cotrain_real_only_legacy32_aliyun_recipe", + data=_REAL_ONLY_LEGACY32_ALIYUN_RECIPE_DATA, +) + +# Action-space comparison against the dataset-only experiment. Keep the exact +# production-training-1 data/input contract (Piper30+Piper2, unified 80D, action +# prompt prefix, max_token_len=384, shape-safe pi05 initialization), but run it +# with the same Aliyun 20k optimizer recipe and launch topology. +_REAL_ONLY_UNIFIED80_ALIYUN_RECIPE_DATA = dataclasses.replace( + _REAL_ONLY_DATA, + norm_stats_source_config="cotrain_real_only", +) +_REAL_ONLY_UNIFIED80_ALIYUN_RECIPE = dataclasses.replace( + _REAL_ONLY_PI05, + name="cotrain_real_only_unified80_aliyun_recipe", + data=_REAL_ONLY_UNIFIED80_ALIYUN_RECIPE_DATA, + lr_schedule=_ALIYUN_20K_LR_SCHEDULE, + num_train_steps=20_000, + save_interval=5_000, +) + +_REAL_ROBOT_PI05 = dataclasses.replace( + _REAL_ONLY_PI05, + name="cotrain_real_robot", + data=_REAL_ROBOT_DATA, +) + +_REAL_ROBOT_FIX_PI05 = dataclasses.replace( + _REAL_ROBOT_PI05, + name="cotrain_real_robot_fix", + data=_REAL_ROBOT_FIX_DATA, ) _FULL_ALL_PI05_FULL_NORM = dataclasses.replace( - _FULL_ALL_PI05, + _REAL_ONLY_PI05, name="cotrain_full_all_full_norm", + data=_FULL_ALL_FIX_DATA, +) + +# --------------------------------------------------------------------------- +# EgoScale-inspired staged transfer for parallel-gripper robots. +# +# Stage 1 learns from the existing 12D EgoVerse EEF trajectories. Stage 2 can +# either adapt directly to all robot joint/gripper data (the required project +# baseline), or mid-train on newly collected aligned 14D EEF+gripper play data. +# Stage 3 is the robot adaptation after aligned mid-training. Every later stage +# requires --weight-loader.params-path and uses the strict upstream loader so a +# width/shape mismatch cannot silently random-initialize parameters. +# --------------------------------------------------------------------------- +_EGOSCALE_STAGE1_EGO = dataclasses.replace( + _REAL_ONLY_PI05, + name="egoscale_stage1_ego", + data=_EGOSCALE_STAGE1_EGO_DATA, + lr_schedule=_optimizer.CosineDecaySchedule( + warmup_steps=2_000, + peak_lr=2.5e-5, + decay_steps=100_000, + decay_lr=2.5e-6, + ), + num_train_steps=100_000, + save_interval=5_000, + keep_period=10_000, + # Dedicated stats computed from actions_cartesian. The old full-all stats used + # adjacent-frame `action` chunks and must not be reused with this representation. + norm_stats_assets_name="egoscale_stage1_ego_cartesian_clean_rl2", +) + +_EGOSCALE_STAGE2_ROBOT = dataclasses.replace( + _REAL_ROBOT_FIX_PI05, + name="egoscale_stage2_robot", + data=_ROBOT_ALL_DATA, + weight_loader=_strict_stage_checkpoint_loader(), + freeze_filter=_freeze_vlm_language_filter(), + lr_schedule=_optimizer.CosineDecaySchedule( + warmup_steps=2_000, + peak_lr=3.0e-6, + decay_steps=100_000, + decay_lr=3.0e-7, + ), + num_train_steps=100_000, + save_interval=5_000, + keep_period=10_000, + norm_stats_assets_name="cotrain_real_robot_fix", +) + +_EGOSCALE_STAGE2_ALIGNED = dataclasses.replace( + _EGOSCALE_STAGE2_ROBOT, + name="egoscale_stage2_aligned", + data=_SELF_COLLECTED_ALIGNED_DATA, + num_train_steps=50_000, + norm_stats_assets_name="egoscale_stage2_self_collected_aligned", +) + +_EGOSCALE_STAGE2_EGOMIMIC = dataclasses.replace( + _EGOSCALE_STAGE2_ROBOT, + name="egoscale_stage2_egomimic", + data=_EGOMIMIC_GROCERIES_DATA, + num_train_steps=50_000, + norm_stats_assets_name="egoscale_stage2_egomimic_groceries", +) + +_EGOSCALE_STAGE2_EGOMIMIC_ALL = dataclasses.replace( + _EGOSCALE_STAGE2_ROBOT, + name="egoscale_stage2_egomimic_all", + data=_EGOMIMIC_ALL_DATA, + num_train_steps=50_000, + norm_stats_assets_name="egoscale_stage2_egomimic_all", +) + +_EGOSCALE_STAGE3_ROBOT = dataclasses.replace( + _REAL_ONLY_UNIFIED80_ALIYUN_RECIPE, + name="egoscale_stage3_robot", + weight_loader=_strict_stage_checkpoint_loader(), + norm_stats_assets_name="cotrain_real_only", ) -_PIPER30_ONLY_PALIGEMMA = dataclasses.replace( - _PIPER30_ONLY_PI05, - name="cotrain_piper30_only_paligemma", - # Initialize from the raw PaliGemma VLM backbone only (action expert random-init). - # Use this only if you intentionally want the PaliGemma-start baseline. - weight_loader=cotrain_weight_loaders.LocalPaliGemmaWeightLoader( - npz_path="/mnt/data/cache/openpi/vertex-model-garden-paligemma-us/paligemma/pt_224.npz" +# Comparison chain requested for the post-aligned stages. Keep these configs +# separate from ``egoscale_stage3_robot`` because that config already has +# checkpoints produced with the earlier 1x8 / 20k recipe. +# +# Stage 3 follows "formal training 2" from the Baidu guide: all 34 audited +# real-robot datasets, full-parameter training, and the guide's 97,728-step LR +# schedule. Use a 10,000-step save interval as requested, matching the guide's +# summary table (the old runnable command used 25,000). +_EGOSCALE_STAGE3_REAL_ROBOT_FIX = dataclasses.replace( + _REAL_ROBOT_FIX_PI05, + name="egoscale_stage3_real_robot_fix", + weight_loader=_strict_stage_checkpoint_loader(), + lr_schedule=_optimizer.CosineDecaySchedule( + warmup_steps=5_000, + peak_lr=1.0e-6, + decay_steps=97_728, + decay_lr=1.0e-7, ), + num_train_steps=97_728, + save_interval=10_000, + norm_stats_assets_name="cotrain_real_robot_fix", +) + +# Stage 4 is the guide's "formal training 1" used as a downstream fine-tune: +# Piper30 + Piper2, Unified80, initialized strictly from the completed Stage 3 +# params rather than from the base PaliGemma NPZ. +_EGOSCALE_STAGE4_PIPER_FINETUNE = dataclasses.replace( + _REAL_ONLY_UNIFIED80_ALIYUN_RECIPE, + name="egoscale_stage4_piper_finetune", + weight_loader=_strict_stage_checkpoint_loader(), + norm_stats_assets_name="cotrain_real_only", ) _COTRAIN_CONFIGS = [ - _AGIBOT_ONLY_PI05, - _DROID_ONLY_PI05, - _EGOVERSE_FULL_ONLY_PI05, - _ROBOCOIN_ONLY_PI05, - _ROBOMIND_FULL_ONLY_PI05, - _FULL_ALL_PI05, + _REAL_ONLY_PI05, + _REAL_ONLY_LEGACY32_PI05, + _PIPER30_LEGACY32_ALIYUN_REPLAY, + _REAL_ONLY_LEGACY32_ALIYUN_RECIPE, + _REAL_ONLY_UNIFIED80_ALIYUN_RECIPE, + _REAL_ROBOT_PI05, + _REAL_ROBOT_FIX_PI05, _FULL_ALL_PI05_FULL_NORM, - # Clear explicit name for the intended training run. - _PIPER30_ONLY_PI05, - # Backward-compatible aliases: old launch commands will still train ONLY piper30 and - # will now start from pi05, not from PaliGemma. - dataclasses.replace(_PIPER30_ONLY_PI05, name="cotrain_all"), - dataclasses.replace(_PIPER30_ONLY_PI05, name="cotrain_all_2ep"), - # Optional baseline, selectable only by the explicit *_paligemma name. - _PIPER30_ONLY_PALIGEMMA, + _EGOSCALE_STAGE1_EGO, + _EGOSCALE_STAGE2_ROBOT, + _EGOSCALE_STAGE2_ALIGNED, + _EGOSCALE_STAGE2_EGOMIMIC, + _EGOSCALE_STAGE2_EGOMIMIC_ALL, + _EGOSCALE_STAGE3_ROBOT, + _EGOSCALE_STAGE3_REAL_ROBOT_FIX, + _EGOSCALE_STAGE4_PIPER_FINETUNE, ] if len({c.name for c in _COTRAIN_CONFIGS}) != len(_COTRAIN_CONFIGS): diff --git a/src/openpi/cotrain/data_loader.py b/src/openpi/cotrain/data_loader.py index afe834a..17942e2 100644 --- a/src/openpi/cotrain/data_loader.py +++ b/src/openpi/cotrain/data_loader.py @@ -10,11 +10,14 @@ import jax +from openpi.cotrain.rlds_dataset import CotrainRldsDataset +from openpi.cotrain.rlds_dataset import Split import openpi.training.config as _config -# Reuse the unchanged openpi pieces. -from openpi.training.data_loader import DataLoaderImpl, RLDSDataLoader, transform_iterable_dataset -from openpi.cotrain.rlds_dataset import CotrainRldsDataset, Split +# Reuse the unchanged openpi pieces. +from openpi.training.data_loader import DataLoaderImpl +from openpi.training.data_loader import RLDSDataLoader +from openpi.training.data_loader import transform_iterable_dataset # Common image size for mixed-resolution batching, matching the model's ResizeImages target # (openpi ModelTransformFactory hardcodes ResizeImages(224, 224)). Images are resize_with_pad'd @@ -22,6 +25,15 @@ _MODEL_IMAGE_HW = (224, 224) +def resolve_val_batch_size(config: _config.TrainConfig) -> int: + """Return the configured global validation batch size with legacy fallback.""" + configured = getattr(config, "val_batch_size", None) + val_batch_size = config.batch_size if configured is None else configured + if val_batch_size <= 0: + raise ValueError(f"val_batch_size must be positive, got {val_batch_size}.") + return val_batch_size + + class CotrainRLDSDataLoader(RLDSDataLoader): """openpi RLDSDataLoader, but without the hard `process_count() > 1` block. @@ -162,6 +174,8 @@ def build_val_loaders( finite and deterministic. Only datasets that expose a given label appear under it. """ data_config = config.data.create(config.assets_dirs, config.model) + val_batch_size = resolve_val_batch_size(config) + logging.info(f"Building validation loaders with global batch size {val_batch_size}.") loaders: dict[str, dict[str, DataLoaderImpl]] = {} for ds in data_config.datasets: single = dataclasses.replace(ds, weight=1.0) @@ -171,7 +185,7 @@ def build_val_loaders( loaders.setdefault(label, {})[ds.uid] = create_cotrain_rlds_data_loader( dc, action_horizon=config.model.action_horizon, - batch_size=config.batch_size, + batch_size=val_batch_size, split_label=label, sharding=sharding, skip_norm_stats=skip_norm_stats, @@ -192,10 +206,14 @@ def dataset_train_weights(config: _config.TrainConfig) -> dict[str, float]: return {ds.uid: ds.weight for ds in data_config.datasets} -def dataset_action_dims(config: _config.TrainConfig) -> dict[str, int]: - """Map dataset name -> native action dim (for the per-dataset action-MSE mask). - - 0 means "use all dims" (no mask). Falls back to 0 if a dataset entry lacks action_dim. - """ +def dataset_action_masks(config: _config.TrainConfig) -> dict[str, tuple[bool, ...]]: + """Map dataset name to its model-width action mask.""" data_config = config.data.create(config.assets_dirs, config.model) - return {ds.uid: getattr(ds, "action_dim", 0) or None for ds in data_config.datasets} + masks = {} + for ds in data_config.datasets: + if ds.unified_action_spec is not None: + masks[ds.uid] = ds.unified_action_spec.action_mask + continue + native_dim = getattr(ds, "action_dim", 0) or config.model.action_dim + masks[ds.uid] = tuple(index < native_dim for index in range(config.model.action_dim)) + return masks diff --git a/src/openpi/cotrain/eval.py b/src/openpi/cotrain/eval.py index d736102..9e560d5 100644 --- a/src/openpi/cotrain/eval.py +++ b/src/openpi/cotrain/eval.py @@ -8,7 +8,7 @@ Action MSE (a la EgoVerse offline metric): run the full flow-matching sampler (`sample_actions`) and compare the predicted action chunk to the ground-truth chunk, -masked to the valid (non-padded) action dimensions, in the model's normalized space. +masked to the sample's valid unified action dimensions, in the model's normalized space. All metrics are computed with `model.eval()` (no dropout) and a fixed rng so the curves are comparable across checkpoints. Static config (num samples, denoise steps, valid @@ -16,8 +16,6 @@ functions can be `jax.jit`-ed without static-argnum bookkeeping. """ -import functools - import flax.nnx as nnx import jax import jax.numpy as jnp @@ -72,7 +70,7 @@ def step(rng, state, batch): return jax.jit(step) -def make_val_action_mse_step(*, num_denoise_steps: int, valid_dims: int | None, use_ema: bool): +def make_val_action_mse_step(*, num_denoise_steps: int, fallback_mask, use_ema: bool): """Build a jitted step returning the masked action MSE for one batch.""" def step(rng, state, batch): @@ -84,12 +82,14 @@ def step(rng, state, batch): pred = model.sample_actions(rng, observation, num_steps=num_denoise_steps) err2 = (pred - actions) ** 2 # [B, H, Ad] - if valid_dims is not None: - dim_mask = (jnp.arange(actions.shape[-1]) < valid_dims).astype(err2.dtype) # [Ad] - err2 = err2 * dim_mask - denom = dim_mask.sum() * actions.shape[0] * actions.shape[1] - return err2.sum() / denom - return jnp.mean(err2) + mask = observation.action_mask + if mask is None: + mask = jnp.broadcast_to( + jnp.asarray(fallback_mask, dtype=jnp.bool_), actions.shape[:-2] + actions.shape[-1:] + ) + mask = jnp.expand_dims(mask, axis=-2) + denom = jnp.sum(mask) * actions.shape[-2] + return jnp.sum(err2 * mask) / jnp.clip(denom, 1) return jax.jit(step) @@ -108,7 +108,7 @@ def step(rng, state, batch): return jax.jit(step) -def plot_action_trajectories(pred, gt, *, valid_dims: int | None = None, n_samples: int = 1, title: str = ""): +def plot_action_trajectories(pred, gt, *, action_mask=None, slot_names=None, n_samples: int = 1, title: str = ""): """Per-dim predicted-vs-GT action-chunk trajectories. Returns a matplotlib Figure. pred/gt are [B, H, Ad] in the model's normalized(+delta) space (same space as the MSE). @@ -124,20 +124,23 @@ def plot_action_trajectories(pred, gt, *, valid_dims: int | None = None, n_sampl pred = np.asarray(pred) gt = np.asarray(gt) b, h, ad = pred.shape - d = min(valid_dims or ad, ad) + active_slots = np.flatnonzero(np.ones(ad, dtype=bool) if action_mask is None else np.asarray(action_mask)[:ad]) + if not len(active_slots): + raise ValueError("action_mask has no active slots") n = min(n_samples, b) - ncols = min(d, 4) - nrows = math.ceil(d / ncols) + ncols = min(len(active_slots), 4) + nrows = math.ceil(len(active_slots) / ncols) fig, axes = plt.subplots(nrows, ncols, figsize=(3 * ncols, 2 * nrows), squeeze=False) x = np.arange(h) - for dim in range(d): - ax = axes[dim // ncols][dim % ncols] + for plot_index, dim in enumerate(active_slots): + ax = axes[plot_index // ncols][plot_index % ncols] for s in range(n): ax.plot(x, gt[s, :, dim], color="tab:green", alpha=0.8, lw=1.2, label="gt" if s == 0 else None) ax.plot(x, pred[s, :, dim], color="tab:red", ls="--", alpha=0.8, lw=1.2, label="pred" if s == 0 else None) - ax.set_title(f"dim {dim}", fontsize=8) + name = slot_names[dim] if slot_names is not None else f"dim_{dim}" + ax.set_title(f"U{dim + 1} {name}", fontsize=8) ax.tick_params(labelsize=6) - for k in range(d, nrows * ncols): + for k in range(len(active_slots), nrows * ncols): axes[k // ncols][k % ncols].axis("off") axes[0][0].legend(fontsize=7) fig.suptitle(title, fontsize=10) diff --git a/src/openpi/cotrain/rlds_dataset.py b/src/openpi/cotrain/rlds_dataset.py index 7016b19..42b66c4 100644 --- a/src/openpi/cotrain/rlds_dataset.py +++ b/src/openpi/cotrain/rlds_dataset.py @@ -20,10 +20,10 @@ import json import logging from pathlib import Path -from typing import Literal import tqdm +from openpi.cotrain import action_space as cotrain_action_space import openpi.shared.download as download # Reuse the action-space enum unchanged from the original DROID loader. @@ -56,8 +56,8 @@ class CotrainRLDSDataset: # Which restructure to use: "standardized" (offline common schema), "robomind" (raw # RoboMIND schema, mapped at runtime), or "droid" (raw DROID schema). restructure_name: str = "standardized" - # Native (un-padded) action dimensionality, used for the per-dataset action-MSE mask - # and for slicing model outputs back to native dims at inference. 0 -> use all dims. + # Native action width, used for legacy prefix masks and restoring model outputs. Unified + # datasets derive their train/eval mask from unified_action_spec instead. action_dim: int = 0 # Optional index selections applied after restructure and before padding/chunking. These # let schema-rich datasets (notably RoboCOIN) crop/reorder raw proprio state into the same @@ -73,6 +73,9 @@ class CotrainRLDSDataset: # state) for absolute-action datasets. None -> keep absolute. E.g. RoboMIND (dual ALOHA, # absolute joint): (6, -1, 6, -1) = 6 joints delta + gripper absolute, per arm. delta_action_mask_dims: tuple[int, ...] | None = None + # Optional source-to-80D mapping. When present, the loader scatters state/action into + # fixed unified slots instead of selecting native dims and padding them as a prefix. + unified_action_spec: cotrain_action_space.UnifiedActionSpec | None = None # Full path to the TFDS *version* directory (the dir containing dataset_info.json / # features.json, e.g. ".../egoverse_infidata/1.0.0"). When set, the loader uses # tfds.builder_from_directory(builder_dir) directly -- this sidesteps the single global @@ -85,6 +88,14 @@ class CotrainRLDSDataset: # for per-dataset normalization / delta dispatch, and used as the norm-stats subdir and the # key for per-dataset val loaders / weights / action dims. Defaults to `name`. dataset_id: str = "" + # True when restructure emits an already time-aligned action chunk [T, source_horizon, D]. + # The loader uniformly resamples that source horizon to the model horizon instead of + # gathering consecutive trajectory frames a second time. + precomputed_action_chunk: bool = False + # Auditable description of the precomputed source. These fields are used by + # staged-run preflight checks; they do not alter the runtime tensor path. + precomputed_action_source: str | None = None + precomputed_action_horizon: int | None = None @property def uid(self) -> str: @@ -181,6 +192,19 @@ def _fill_action_prompt_prefix(n, action_mode: str, eef_frame=None): return tf.fill([n], _action_prompt_prefix(action_mode, eef_frame)) +def _episode_scalar_string(value, *, field_name: str): + """Collapse a scalar or per-step constant string field to one episode scalar.""" + import tensorflow as tf + + values = tf.reshape(tf.convert_to_tensor(value, tf.string), [-1]) + tf.debugging.assert_positive(tf.size(values), message=f"{field_name} must not be empty") + first = values[0] + with tf.control_dependencies( + [tf.debugging.assert_equal(values, tf.fill(tf.shape(values), first), message=f"{field_name} must be constant")] + ): + return tf.identity(first) + + def _standardized_restructure(traj, dataset_name: str): """Restructure for the common (offline-standardized) co-training schema. @@ -217,6 +241,87 @@ def _standardized_restructure(traj, dataset_name: str): } +def _aligned_parallel_gripper_restructure(traj, dataset_name: str): + """Aligned human/robot play data with single- or dual-arm EEF+gripper targets. + + The Stage-2 self-collected builders use: + + single right: [R relative xyz, R relative rotvec, R absolute grip] (7D) + bimanual: [L relative xyz, L relative rotvec, L absolute grip, + R relative xyz, R relative rotvec, R absolute grip] (14D) + + The pose delta is ``inv(T_current_canonical_eef) @ T_target_canonical_eef``. + Older ``aligned_parallel_gripper_*`` builders retain their absolute EEF + prompt mode. ``eef_frame`` is a scalar episode string included in metadata. + """ + import tensorflow as tf + + n = tf.shape(traj["actions"])[0] + tf.debugging.assert_equal(tf.shape(traj["state"])[-1], tf.shape(traj["actions"])[-1]) + eef_frame = _episode_scalar_string( + traj.get("eef_frame", tf.constant("chunk_start_local")), + field_name="eef_frame", + ) + relative_eef = dataset_name.startswith(("aligned_hangzhou_", "aligned_shenzhen_")) + return { + "actions": traj["actions"], + "state": traj["state"], + "image": { + "base_0_rgb": traj["image_base"], + "left_wrist_0_rgb": traj["image_left_wrist"], + "right_wrist_0_rgb": traj["image_right_wrist"], + }, + "image_mask": { + "base_0_rgb": traj["image_mask_base"], + "left_wrist_0_rgb": traj["image_mask_left_wrist"], + "right_wrist_0_rgb": traj["image_mask_right_wrist"], + }, + "prompt": traj["prompt"], + "prompt_prefix": _fill_action_prompt_prefix( + n, + "relative_eef_se3" if relative_eef else "eef", + eef_frame, + ), + "dataset_id": tf.fill([n], dataset_name), + } + + +def _egomimic_restructure(traj, dataset_name: str): + """EgoMimic RLDS converted from the public robomimic-style HDF5 files. + + The offline converter writes the common image/state fields and a rank-three + ``actions[T,100,D]`` tensor. Human source width is 3 (right-hand XYZ) or 6 + (left/right XYZ). Robot source width is 10 (right 6 joints + gripper + XYZ) + or 20 (bimanual joints/grippers + left/right XYZ). + + EgoMimic XYZ values are already expressed in the current egocentric camera + frame. No Euler orientation or human gripper label exists in the public + data, so the registered 80D mapping leaves those slots masked out. + """ + import tensorflow as tf + + n = tf.shape(traj["actions"])[0] + is_human = dataset_name.endswith("_human") + action_mode = "eef_xyz" if is_human else "joint_gripper_and_eef_xyz" + return { + "actions": traj["actions"], + "state": traj["state"], + "image": { + "base_0_rgb": traj["image_base"], + "left_wrist_0_rgb": traj["image_left_wrist"], + "right_wrist_0_rgb": traj["image_right_wrist"], + }, + "image_mask": { + "base_0_rgb": traj["image_mask_base"], + "left_wrist_0_rgb": traj["image_mask_left_wrist"], + "right_wrist_0_rgb": traj["image_mask_right_wrist"], + }, + "prompt": traj["prompt"], + "prompt_prefix": _fill_action_prompt_prefix(n, action_mode, "current_egocentric_camera"), + "dataset_id": tf.fill([n], dataset_name), + } + + def _robomind_restructure(traj, dataset_name: str): """Map the raw RoboMIND (robomind_infidata) RLDS schema -> common co-training keys. @@ -288,6 +393,45 @@ def _three_cam_task_restructure(traj, dataset_id: str): } +def _piper2_restructure(traj, dataset_id: str): + """Map the second real-world Piper RLDS drop into the common co-training schema. + + The actual builder metadata declares both state and action as + ``left_joint_1..6, left_gripper, right_joint_1..6, right_gripper``. Empirically, + ``action[t]`` equals ``state[t + 1]`` exactly, so this function preserves the raw + absolute targets; the unified-action transform later converts only the 12 arm-joint + slots to deltas. The two gripper slots stay absolute. + + Four cameras are present. The canonical three model slots use the head/high camera and + both wrist cameras; ``cam_front`` is intentionally unused, matching the original Piper + adapter. ``task`` is the per-step language instruction. + """ + import tensorflow as tf + + actions = tf.ensure_shape(traj["action"], [None, 14]) + state = tf.ensure_shape(traj["observation"]["state"], [None, 14]) + n = tf.shape(actions)[0] + true_mask = tf.fill([n], True) + imgs = traj["observation"]["images"] + return { + "actions": actions, + "state": state, + "image": { + "base_0_rgb": imgs["cam_high"], + "left_wrist_0_rgb": imgs["cam_left_wrist"], + "right_wrist_0_rgb": imgs["cam_right_wrist"], + }, + "image_mask": { + "base_0_rgb": true_mask, + "left_wrist_0_rgb": true_mask, + "right_wrist_0_rgb": true_mask, + }, + "prompt": traj["task"], + "prompt_prefix": _fill_action_prompt_prefix(n, "joint"), + "dataset_id": tf.fill([n], dataset_id), + } + + def _agibot_restructure(traj, dataset_id: str): """AgiBotWorld beta mobile dual-arm schema -> common co-training keys. @@ -427,6 +571,19 @@ def _egoverse_full_restructure(traj, dataset_id: str): } +def _egoverse_cartesian_chunk_restructure(traj, dataset_id: str): + """EgoVerse schema using its official aligned future Cartesian trajectory. + + ``actions_cartesian[t]`` is a 100-step future trajectory aligned to frame + ``t``. Its first element equals ``action[t]``. Keeping this as rank three + prevents the generic loader from incorrectly rebuilding the horizon from + adjacent episode frames, whose poses may use different moving head frames. + """ + output = _egoverse_full_restructure(traj, dataset_id) + output["actions"] = traj["actions_cartesian"] + return output + + def _robocoin_restructure(traj, dataset_id: str): """RoboCOIN schema -> common co-training keys. @@ -526,18 +683,50 @@ def image_or_blank(key): # All feed the same prepare path (chunk + decode). The images they emit are encoded; the # prepare path decodes them. Add new clean datasets here. STD_RESTRUCTURE_FNS = { + "aligned_parallel_gripper": _aligned_parallel_gripper_restructure, + "egomimic": _egomimic_restructure, "standardized": _standardized_restructure, "agibot": _agibot_restructure, "robomind": _robomind_restructure, "three_cam_task": _three_cam_task_restructure, # realworld_piper, RoboCOIN + "piper2": _piper2_restructure, "egoverse_eva": _egoverse_eva_restructure, "egoverse_mecka": _egoverse_mecka_restructure, "egoverse_full": _egoverse_full_restructure, + "egoverse_cartesian_chunk": _egoverse_cartesian_chunk_restructure, "robocoin": _robocoin_restructure, "robomind_full": _robomind_full_restructure, } +def resample_precomputed_action_chunk(traj: dict, action_chunk_size: int) -> dict: + """Uniformly resample ``[T, source_horizon, D]`` actions to model horizon. + + EgoVerse stores 100 samples over its complete physical prediction window. + For pi0's 50-step horizon we retain both endpoints and sample across that + entire window, rather than taking only its first half. + """ + if action_chunk_size <= 0: + raise ValueError(f"action_chunk_size must be positive, got {action_chunk_size}") + import tensorflow as tf + + actions = tf.convert_to_tensor(traj["actions"]) + tf.debugging.assert_rank( + actions, + 3, + message="precomputed_action_chunk requires actions shaped [T, source_horizon, D]", + ) + source_horizon = tf.shape(actions)[1] + tf.debugging.assert_positive(source_horizon, message="precomputed action horizon must be non-empty") + indices = tf.cast( + tf.round(tf.linspace(0.0, tf.cast(source_horizon - 1, tf.float32), action_chunk_size)), + tf.int32, + ) + traj["actions"] = tf.gather(actions, indices, axis=1) + traj["actions"].set_shape([actions.shape[0], action_chunk_size, actions.shape[-1]]) + return traj + + class CotrainRldsDataset: def __init__( self, @@ -549,11 +738,8 @@ def __init__( shuffle: bool = True, repeat: bool | None = None, action_chunk_size: int = 16, - # If set, zero-pad native state/action vectors to this width (the model action_dim) - # BEFORE mixing/batching, so datasets with different native dims (e.g. 12/14/36) share - # one element spec and can be batched. None -> keep native (used by norm-stats, which - # must accumulate stats at native dim). Per-dataset delta uses native-length masks that - # slice correctly; DispatchNormalize pads native stats up to this width at apply time. + # Legacy configs zero-pad native vectors to this width. Unified configs require width 80 + # and map before mixing/batching. None keeps the mapped/native width for norm-stat jobs. pad_action_dim: int | None = None, # If set (h, w), resize_with_pad all decoded images to this size BEFORE mixing/batching, # so datasets with different native resolutions (e.g. mecka 360x640 vs others 480x640) @@ -615,9 +801,7 @@ def _select_state_actions(traj, dataset_cfg: CotrainRLDSDataset): if dataset_cfg.state_indices is not None: traj["state"] = tf.gather(traj["state"], tf.constant(dataset_cfg.state_indices, tf.int32), axis=-1) if dataset_cfg.action_indices is not None: - traj["actions"] = tf.gather( - traj["actions"], tf.constant(dataset_cfg.action_indices, tf.int32), axis=-1 - ) + traj["actions"] = tf.gather(traj["actions"], tf.constant(dataset_cfg.action_indices, tf.int32), axis=-1) return traj def decode_std_images(frame): @@ -646,16 +830,30 @@ def _prepare_standardized(dataset, dataset_cfg: CotrainRLDSDataset): lambda traj: restructure_fn(traj, dataset_cfg.uid, dataset_cfg.camera_keys), num_parallel_calls ) else: + dataset = dataset.traj_map(lambda traj: restructure_fn(traj, dataset_cfg.uid), num_parallel_calls) + if dataset_cfg.unified_action_spec is not None: + if pad_action_dim is not None and pad_action_dim != cotrain_action_space.UNIFIED_ACTION_DIM: + raise ValueError( + f"Unified dataset '{dataset_cfg.uid}' requires model action_dim=" + f"{cotrain_action_space.UNIFIED_ACTION_DIM}, got {pad_action_dim}." + ) dataset = dataset.traj_map( - lambda traj: restructure_fn(traj, dataset_cfg.uid), num_parallel_calls + lambda traj: cotrain_action_space.map_trajectory_tensorflow(traj, dataset_cfg.unified_action_spec), + num_parallel_calls, ) - if dataset_cfg.state_indices is not None or dataset_cfg.action_indices is not None: + elif dataset_cfg.state_indices is not None or dataset_cfg.action_indices is not None: dataset = dataset.traj_map(lambda traj: _select_state_actions(traj, dataset_cfg), num_parallel_calls) # Pad native state/action to the model width BEFORE chunk/mix/batch (if requested), # so heterogeneous-dim datasets share one element spec. - if pad_action_dim is not None: + if pad_action_dim is not None and dataset_cfg.unified_action_spec is None: dataset = dataset.traj_map(_pad_state_actions, num_parallel_calls) - dataset = dataset.traj_map(_chunk_actions, num_parallel_calls) + if dataset_cfg.precomputed_action_chunk: + dataset = dataset.traj_map( + lambda traj: resample_precomputed_action_chunk(traj, action_chunk_size), + num_parallel_calls, + ) + else: + dataset = dataset.traj_map(_chunk_actions, num_parallel_calls) return dataset.flatten(num_parallel_calls=num_parallel_calls) def prepare_single_dataset(dataset_cfg: CotrainRLDSDataset): diff --git a/src/openpi/cotrain/transforms.py b/src/openpi/cotrain/transforms.py index 007221c..4ce4484 100644 --- a/src/openpi/cotrain/transforms.py +++ b/src/openpi/cotrain/transforms.py @@ -9,10 +9,8 @@ looks at each sample's `dataset_id` tag and applies that dataset's own norm stats. This lets us re-tune / re-compute normalization without regenerating the RLDS data. -Action SPACES are NOT unified across robot datasets (pi0/pi05 don't either): each dataset -keeps its native state/action vector placed at the front and zero-padded to the current -model action_dim downstream. The model disambiguates via observation/proprioception -conditioning. The only genuinely per-dataset runtime step is normalization. +The full-all configuration maps every dataset into a fixed 80D physical layout before +mixing. Legacy configurations retain native-prefix padding for compatibility. """ import dataclasses @@ -21,6 +19,7 @@ import numpy as np from openpi import transforms as _transforms +from openpi.cotrain import action_space as cotrain_action_space from openpi.models import model as _model from openpi.shared import normalize as _normalize @@ -78,6 +77,8 @@ def __call__(self, data: dict) -> dict: if "actions" in data: # Writable COPY (not a read-only tf view): DeltaActions mutates actions in place. inputs["actions"] = np.array(data["actions"]) + if "action_mask" in data: + inputs["action_mask"] = np.asarray(data["action_mask"], dtype=bool) if "prompt" in data: inputs["prompt"] = _decode_str(data["prompt"]) if "prompt_prefix" in data: @@ -90,15 +91,32 @@ def __call__(self, data: dict) -> dict: @dataclasses.dataclass(frozen=True) class StandardizedOutputs(_transforms.DataTransformFn): - """Inference-time outputs: slice the padded action vector back to native dims. + """Inference-time outputs: restore the dataset's native action layout. `action_dim` is the dataset's native action dimensionality (e.g. 8 for DROID). """ action_dim: int + unified_action_spec: cotrain_action_space.UnifiedActionSpec | None = None def __call__(self, data: dict) -> dict: - return {"actions": np.asarray(data["actions"])[..., : self.action_dim]} + actions = np.asarray(data["actions"]) + if self.unified_action_spec is not None: + actions = cotrain_action_space.unmap_array( + actions, self.unified_action_spec.action_mapping, self.action_dim + ) + else: + actions = actions[..., : self.action_dim] + return {"actions": actions} + + +@dataclasses.dataclass(frozen=True) +class DropPromptPrefix(_transforms.DataTransformFn): + """Restore the pre-metadata prompt contract used by historical Piper checkpoints.""" + + def __call__(self, data: dict) -> dict: + data.pop("prompt_prefix", None) + return data @dataclasses.dataclass(frozen=True) @@ -118,7 +136,7 @@ def __call__(self, data: dict) -> dict: if ds is not None and "actions" in data: mask = self.masks_by_dataset.get(_decode_str(ds)) if mask is not None: - data = _transforms.DeltaActions(mask)(data) + data["actions"] = cotrain_action_space.apply_delta(data["state"], data["actions"], mask) return data diff --git a/src/openpi/cotrain/weight_loaders.py b/src/openpi/cotrain/weight_loaders.py index 1e40a8f..394a441 100644 --- a/src/openpi/cotrain/weight_loaders.py +++ b/src/openpi/cotrain/weight_loaders.py @@ -5,6 +5,8 @@ """ import dataclasses +import logging +from pathlib import Path import flax.traverse_util import numpy as np @@ -14,6 +16,8 @@ import openpi.shared.download as download from openpi.training.weight_loaders import _merge_params +logger = logging.getLogger(__name__) + @dataclasses.dataclass(frozen=True) class LocalPaliGemmaWeightLoader: @@ -35,18 +39,30 @@ def load(self, params: at.Params) -> at.Params: @dataclasses.dataclass(frozen=True) class ShapeSafeCheckpointWeightLoader: - """Load a checkpoint, skipping keys whose shapes no longer match the target model. + """Load either an Orbax checkpoint or a local PaliGemma big_vision NPZ. + + PARAMS_PATH is intentionally the only initialization switch used by the co-training + launchers: - This is used when widening the co-training action/state width (e.g. pi05_base has a - 32-wide head while full-all uses 64). Matching pi05_base weights are loaded; widened - projection/head parameters stay at the target model's random initialization. + * An Orbax params directory loads every shape-compatible VLA parameter. + * A ``.npz`` file loads only the PaliGemma image and language backbone. + + In both cases, missing or shape-incompatible target parameters retain their random + initialization. For PaliGemma NPZ initialization this includes the entire action + expert, timestep MLP, and action input/output projections. """ params_path: str missing_regex: str = ".*" def load(self, params: at.Params) -> at.Params: - loaded_params = _model.restore_params(download.maybe_download(self.params_path), restore_type=np.ndarray) + resolved_path = download.maybe_download(self.params_path) + if resolved_path.is_file(): + loaded_params, source_kind = self._load_paligemma_npz(resolved_path) + else: + loaded_params = _model.restore_params(resolved_path, restore_type=np.ndarray) + source_kind = "orbax-checkpoint" + flat_ref = flax.traverse_util.flatten_dict(params, sep="/") flat_loaded = flax.traverse_util.flatten_dict(loaded_params, sep="/") compatible = { @@ -54,8 +70,38 @@ def load(self, params: at.Params) -> at.Params: for key, value in flat_loaded.items() if key in flat_ref and getattr(value, "shape", None) == getattr(flat_ref[key], "shape", None) } + mismatched = { + key + for key, value in flat_loaded.items() + if key in flat_ref and getattr(value, "shape", None) != getattr(flat_ref[key], "shape", None) + } + logger.info( + "Initialization source=%s path=%s: loaded=%d random_or_missing=%d shape_mismatch=%d", + source_kind, + resolved_path, + len(compatible), + len(flat_ref) - len(compatible), + len(mismatched), + ) return _merge_params( flax.traverse_util.unflatten_dict(compatible, sep="/"), params, missing_regex=self.missing_regex, ) + + @staticmethod + def _load_paligemma_npz(path: Path) -> tuple[at.Params, str]: + if path.suffix != ".npz": + raise ValueError( + f"Unsupported PARAMS_PATH file: {path}. Expected a PaliGemma big_vision .npz " + "or an Orbax params directory." + ) + with path.open("rb") as file: + flat_params = dict(np.load(file, allow_pickle=False)) + try: + paligemma_params = flax.traverse_util.unflatten_dict(flat_params, sep="/")["params"] + except KeyError as error: + raise ValueError(f"Invalid PaliGemma NPZ {path}: missing params/ root") from error + if not {"img", "llm"}.issubset(paligemma_params): + raise ValueError(f"Invalid PaliGemma NPZ {path}: expected params/img and params/llm") + return {"PaliGemma": paligemma_params}, "paligemma-vlm-npz" diff --git a/src/openpi/models/model.py b/src/openpi/models/model.py index a22d851..045f556 100644 --- a/src/openpi/models/model.py +++ b/src/openpi/models/model.py @@ -75,6 +75,7 @@ class ModelType(enum.Enum): # ... # }, # "state": float32[*b, s], # Low-dimensional robot state +# "action_mask": bool[*b, ad], # Optional valid dimensions in the unified action space # "state_history": float32[*b, T, s], # Optional MEM proprioceptive history # "tokenized_prompt": int32[*b, l], # Optional, tokenized language prompt # "tokenized_prompt_mask": bool[*b, l], # Optional, mask for tokenized prompt @@ -115,6 +116,8 @@ class Observation(Generic[ArrayT]): image_masks: dict[str, at.Bool[ArrayT, "b"] | at.Bool[ArrayT, "b t"]] # Low-dimensional robot state. state: at.Float[ArrayT, "b s"] + # Valid action dimensions. Missing means every action dimension is valid. + action_mask: at.Bool[ArrayT, "b ad"] | None = None # Optional π0.7 subgoal images, encoded as future-state visual context. subgoal_images: dict[str, at.Float[ArrayT, "b h w c"]] | None = None @@ -180,6 +183,7 @@ def from_dict(cls, data: at.PyTree[ArrayT]) -> "Observation[ArrayT]": subgoal_images=data.get("subgoal_image"), subgoal_image_masks=data.get("subgoal_image_mask"), state=data["state"], + action_mask=data.get("action_mask"), state_history=data.get("state_history"), tokenized_prompt=data.get("tokenized_prompt"), tokenized_prompt_mask=data.get("tokenized_prompt_mask"), @@ -312,6 +316,7 @@ def preprocess_observation( subgoal_images=out_subgoal_images, subgoal_image_masks=out_subgoal_masks, state=observation.state, + action_mask=observation.action_mask, state_history=observation.state_history, tokenized_prompt=observation.tokenized_prompt, tokenized_prompt_mask=observation.tokenized_prompt_mask, diff --git a/src/openpi/models/pi0.py b/src/openpi/models/pi0.py index 7eddba4..3b68b92 100644 --- a/src/openpi/models/pi0.py +++ b/src/openpi/models/pi0.py @@ -304,7 +304,9 @@ def compute_loss( observation = _model.preprocess_observation(preprocess_rng, observation, train=train) batch_shape = actions.shape[:-2] - noise = jax.random.normal(noise_rng, actions.shape) + action_mask = _broadcast_action_mask(observation.action_mask, actions.shape) + actions = jnp.where(action_mask, actions, 0) + noise = jnp.where(action_mask, jax.random.normal(noise_rng, actions.shape), 0) time = jax.random.beta(time_rng, 1.5, 1, batch_shape) * 0.999 + 0.001 time_expanded = time[..., None, None] x_t = time_expanded * noise + (1 - time_expanded) * actions @@ -335,13 +337,16 @@ def compute_loss( # ki_insulate is baked into the Gemma Module at construction (see __init__). # No extra kwarg needed here; stop_gradient activates automatically when len(qkvs)==2. (prefix_out, suffix_out), _ = self.PaliGemma.llm( - [prefix_tokens, suffix_tokens], mask=attn_mask, positions=positions, + [prefix_tokens, suffix_tokens], + mask=attn_mask, + positions=positions, adarms_cond=[None, adarms_cond], ) # Flow-matching loss (always computed). - v_t = self.action_out_proj(suffix_out[:, -self.action_horizon:]) - flow_loss = jnp.mean(jnp.square(v_t - u_t), axis=-1) + v_t = self.action_out_proj(suffix_out[:, -self.action_horizon :]) + squared_error = jnp.square(v_t - u_t) * action_mask + flow_loss = jnp.sum(squared_error, axis=-1) / jnp.clip(jnp.sum(action_mask, axis=-1), 1) losses = {"flow": flow_loss} @@ -368,9 +373,7 @@ def compute_loss( loss_mask = jnp.ones((observation.ki_fast_tokens.shape[0], fast_len), dtype=jnp.float32) logp = jax.nn.log_softmax(fast_logits, axis=-1) target_logp = jnp.take_along_axis(logp, observation.ki_fast_tokens[:, :, None], axis=-1)[..., 0] - losses["ki_fast"] = -jnp.sum(target_logp * loss_mask, axis=-1) / jnp.clip( - jnp.sum(loss_mask, axis=-1), 1 - ) + losses["ki_fast"] = -jnp.sum(target_logp * loss_mask, axis=-1) / jnp.clip(jnp.sum(loss_mask, axis=-1), 1) if set(losses) == {"flow"}: return flow_loss @@ -392,6 +395,8 @@ def sample_actions( batch_size = observation.state.shape[0] if noise is None: noise = jax.random.normal(rng, (batch_size, self.action_horizon, self.action_dim)) + action_mask = _broadcast_action_mask(observation.action_mask, noise.shape) + noise = jnp.where(action_mask, noise, 0) # first fill KV cache with a forward pass of the prefix prefix_tokens, prefix_mask, prefix_ar_mask = self.embed_prefix(observation) @@ -431,7 +436,7 @@ def step(carry): assert prefix_out is None v_t = self.action_out_proj(suffix_out[:, -self.action_horizon :]) - return x_t + dt * v_t, time + dt + return jnp.where(action_mask, x_t + dt * v_t, 0), time + dt def cond(carry): x_t, time = carry @@ -440,3 +445,14 @@ def cond(carry): x_0, _ = jax.lax.while_loop(cond, step, (noise, 1.0)) return x_0 + + +def _broadcast_action_mask(action_mask, action_shape: tuple[int, ...]): + """Broadcast a per-sample action mask across the action horizon.""" + if action_mask is None: + return jnp.ones(action_shape, dtype=jnp.bool_) + action_mask = jnp.asarray(action_mask, dtype=jnp.bool_) + expected_shape = (*action_shape[:-2], action_shape[-1]) + if action_mask.shape != expected_shape: + raise ValueError(f"action_mask shape must be {expected_shape}, got {action_mask.shape}") + return jnp.broadcast_to(jnp.expand_dims(action_mask, axis=-2), action_shape) diff --git a/src/openpi/models/pi0_action_mask_test.py b/src/openpi/models/pi0_action_mask_test.py new file mode 100644 index 0000000..839118f --- /dev/null +++ b/src/openpi/models/pi0_action_mask_test.py @@ -0,0 +1,50 @@ +import jax +import jax.numpy as jnp +import numpy as np +import pytest + +from openpi.models import pi0 +from openpi.models import pi0_config + + +def test_action_mask_broadcasts_across_horizon() -> None: + mask = jnp.asarray([[True, False, True], [False, True, False]]) + broadcast = pi0._broadcast_action_mask(mask, (2, 4, 3)) + assert broadcast.shape == (2, 4, 3) + np.testing.assert_array_equal(broadcast[:, 0], mask) + np.testing.assert_array_equal(broadcast[:, -1], mask) + + +def test_missing_action_mask_keeps_all_dimensions_valid() -> None: + broadcast = pi0._broadcast_action_mask(None, (2, 4, 3)) + np.testing.assert_array_equal(broadcast, np.ones((2, 4, 3), dtype=bool)) + + +def test_action_mask_rejects_wrong_width() -> None: + with pytest.raises(ValueError, match="action_mask shape"): + pi0._broadcast_action_mask(jnp.ones((2, 2), dtype=bool), (2, 4, 3)) + + +def test_flow_loss_ignores_masked_action_values() -> None: + config = pi0_config.Pi0Config( + paligemma_variant="dummy", action_expert_variant="dummy", action_dim=5, action_horizon=2, max_token_len=8 + ) + model = config.create(jax.random.key(0)) + observation, actions = config.fake_obs(batch_size=1), config.fake_act(batch_size=1) + observation = observation.replace(action_mask=jnp.asarray([[True, False, True, False, False]])) + changed = actions.at[..., 1].set(1000).at[..., 3:].set(-1000) + + expected = model.compute_loss(jax.random.key(1), observation, actions) + actual = model.compute_loss(jax.random.key(1), observation, changed) + np.testing.assert_allclose(actual, expected, rtol=0, atol=0) + + +def test_sampling_keeps_masked_dimensions_zero() -> None: + config = pi0_config.Pi0Config( + paligemma_variant="dummy", action_expert_variant="dummy", action_dim=5, action_horizon=2, max_token_len=8 + ) + model = config.create(jax.random.key(0)) + observation = config.fake_obs(batch_size=1).replace(action_mask=jnp.asarray([[True, False, True, False, False]])) + + actions = model.sample_actions(jax.random.key(1), observation, num_steps=2) + np.testing.assert_array_equal(actions[..., [1, 3, 4]], 0) diff --git a/src/openpi/training/checkpoints.py b/src/openpi/training/checkpoints.py index f32a831..722691e 100644 --- a/src/openpi/training/checkpoints.py +++ b/src/openpi/training/checkpoints.py @@ -67,6 +67,8 @@ def save_state( state: training_utils.TrainState, data_loader: _data_loader.DataLoader, step: int, + *, + params_only: bool = False, ): def save_assets(directory: epath.Path): # Save the normalization stats. @@ -80,9 +82,16 @@ def save_assets(directory: epath.Path): train_state, params = _split_params(state) items = { "assets": save_assets, - "train_state": train_state, "params": {"params": params}, } + if params_only: + logging.warning( + "Saving a params-only checkpoint at step %d; it can be used for inference or stage transfer " + "but cannot resume optimizer state.", + step, + ) + else: + items["train_state"] = train_state checkpoint_manager.save(step, items) diff --git a/tests/cotrain/test_action_space.py b/tests/cotrain/test_action_space.py new file mode 100644 index 0000000..11c1a3c --- /dev/null +++ b/tests/cotrain/test_action_space.py @@ -0,0 +1,366 @@ +from __future__ import annotations + +import json + +import numpy as np +import pytest + +from openpi.cotrain import action_space + +EXPECTED_DATASET_IDS = { + "agibot", + "aligned_parallel_gripper_human", + "aligned_parallel_gripper_robot", + "aligned_hangzhou_human_right", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_human_bimanual", + "aligned_shenzhen_robot_bimanual", + "droid", + "egoverse_aria", + "egoverse_eva", + "egoverse_human", + "egoverse_mecka", + "egoverse_scale", + "egoverse_rl2_eva", + "egoverse_rl2_human", + "egomimic_bowlplace_human", + "egomimic_bowlplace_robot", + "egomimic_groceries_human", + "egomimic_groceries_robot", + "egomimic_smallclothfold_human", + "egomimic_smallclothfold_robot", + "piper30", + "piper2", + "robocoin_agilex_cobot_magic_s26_a26", + "robocoin_airbot_mmk2_s36_a36", + "robocoin_galaxea_r1_lite_upper_s14_a14", + "robocoin_realman_rmc_aida_l_s28_a28", + "robocoin_unitree_g1_dex3_s28_a28", + "robocoin_agilex_decoupled_magic_s14_a14_fps30", + "robocoin_agilex_decoupled_magic_s14_a14_fps50", + "robocoin_agilex_decoupled_magic_s26_a26", + "robocoin_aloha_s26_a26", + "robocoin_alpha_bot_2_s28_a28", + "robocoin_discover_aitbot_mmk2_s36_a36", + "robocoin_galaxea_r1_lite_s14_a14", + "robocoin_galaxea_r1_lite_s16_a18", + "robocoin_leju_robot_s118_a54", + "robocoin_leju_robot_s54_a54", + "robocoin_realman_rmc_aidal_s28_a28", + "robocoin_ruantong_a2d_s17_a17", + "robocoin_ruantong_a2d_s41_a34", + "robocoin_unitree_g1_s28_a28_high", + "robocoin_unitree_g1_s28_a28", + "robocoin_unknown_s30_a30_high", + "robocoin_yinhe_s49_a16", + "robomind_agilex_cobot_magic_s14_a14", + "robomind_franka_fr3_dual_s16_a16", + "robomind_franka_panda_s8_a8", + "robomind_franka_sim_franka_s8_a8", + "robomind_franka_sim_simulation_s8_a8", + "robomind_franka_sim_simulation_no_front_s8_a8", + "robomind_franka_sim_none_s8_a8", + "robomind_tienkung_gello_s16_a16", + "robomind_tienkung_prod1_gello_s16_a16", + "robomind_tienkung_xsens_s14_a14", + "robomind_tienkung_sim_s38_a38", + "robomind_tienkung_real_s38_a38", + "robomind_ur5e_s7_a7", +} + + +def test_registry_covers_all_documented_builders() -> None: + assert set(action_space.UNIFIED_ACTION_SPECS) == EXPECTED_DATASET_IDS + assert len(EXPECTED_DATASET_IDS) == 58 + assert action_space.OPTIONAL_ALIGNED_DATASET_IDS == { + "aligned_parallel_gripper_human", + "aligned_parallel_gripper_robot", + "aligned_hangzhou_human_right", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_human_bimanual", + "aligned_shenzhen_robot_bimanual", + } + + +@pytest.mark.parametrize("dataset_id", sorted(EXPECTED_DATASET_IDS)) +def test_masks_are_80d_and_temporal_slots_are_mapped(dataset_id: str) -> None: + spec = action_space.UNIFIED_ACTION_SPECS[dataset_id] + assert len(spec.action_mask) == action_space.UNIFIED_ACTION_DIM + assert len(spec.delta_mask) == action_space.UNIFIED_ACTION_DIM + assert sum(spec.action_mask) == len(spec.action_mapping) + assert set(spec.absolute_to_delta_slots) <= set(spec.action_target_slots) + assert set(spec.absolute_to_delta_slots) <= set(spec.state_target_slots) + assert set(spec.already_delta_slots) <= set(spec.action_target_slots) + relative_aligned = dataset_id.startswith(("aligned_hangzhou_", "aligned_shenzhen_")) + assert bool(spec.already_delta_slots) is relative_aligned + + +def test_only_ego_and_aligned_play_map_eef_slots() -> None: + eef_slots = set(range(action_space.LEFT_EEF_POSITION, action_space.LEFT_EEF_EULER + 3)) + eef_slots |= set(range(action_space.RIGHT_EEF_POSITION, action_space.RIGHT_EEF_EULER + 3)) + users = { + dataset_id + for dataset_id, spec in action_space.UNIFIED_ACTION_SPECS.items() + if set(spec.action_target_slots) & eef_slots + } + assert users == { + "egoverse_aria", + "egoverse_eva", + "egoverse_human", + "egoverse_mecka", + "egoverse_scale", + "egoverse_rl2_eva", + "egoverse_rl2_human", + "aligned_parallel_gripper_human", + "aligned_parallel_gripper_robot", + "aligned_hangzhou_human_right", + "aligned_hangzhou_robot_right", + "aligned_shenzhen_human_bimanual", + "aligned_shenzhen_robot_bimanual", + "egomimic_bowlplace_human", + "egomimic_bowlplace_robot", + "egomimic_groceries_human", + "egomimic_groceries_robot", + "egomimic_smallclothfold_human", + "egomimic_smallclothfold_robot", + } + + +@pytest.mark.parametrize( + "dataset_id", + [ + "aligned_parallel_gripper_human", + "aligned_parallel_gripper_robot", + "aligned_shenzhen_human_bimanual", + "aligned_shenzhen_robot_bimanual", + ], +) +def test_aligned_parallel_gripper_layout(dataset_id: str) -> None: + spec = action_space.UNIFIED_ACTION_SPECS[dataset_id] + source = np.arange(14, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal(mapped[action_space.LEFT_EEF_POSITION : action_space.LEFT_EEF_EULER + 3], source[:6]) + assert mapped[action_space.LEFT_GRIPPER] == source[6] + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_EULER + 3], source[7:13] + ) + assert mapped[action_space.RIGHT_GRIPPER] == source[13] + assert not any(spec.delta_mask) + expected_relative = dataset_id.startswith("aligned_shenzhen_") + assert bool(spec.already_delta_slots) is expected_relative + if expected_relative: + assert len(spec.already_delta_slots) == 12 + + +@pytest.mark.parametrize( + "dataset_id", + ["aligned_hangzhou_human_right", "aligned_hangzhou_robot_right"], +) +def test_aligned_hangzhou_single_right_layout(dataset_id: str) -> None: + spec = action_space.UNIFIED_ACTION_SPECS[dataset_id] + source = np.arange(7, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_EULER + 3], source[:6] + ) + assert mapped[action_space.RIGHT_GRIPPER] == source[6] + assert sum(spec.action_mask) == 7 + assert len(spec.already_delta_slots) == 6 + assert not any(spec.delta_mask) + + +def test_egomimic_single_arm_human_maps_only_real_xyz_labels() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["egomimic_bowlplace_human"] + source = np.array([1.0, 2.0, 3.0], dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_POSITION + 3], + source, + ) + assert sum(spec.action_mask) == 3 + assert not any(spec.delta_mask) + assert not spec.action_mask[action_space.RIGHT_EEF_EULER] + assert not spec.action_mask[action_space.RIGHT_GRIPPER] + + +def test_egomimic_single_arm_robot_adds_joint_gripper_and_shared_xyz() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["egomimic_bowlplace_robot"] + source = np.arange(10, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal( + mapped[action_space.RIGHT_ARM : action_space.RIGHT_ARM + 6], + source[:6], + ) + assert mapped[action_space.RIGHT_GRIPPER] == source[6] + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_POSITION + 3], + source[7:10], + ) + assert set(np.flatnonzero(spec.delta_mask)) == set(action_space.slots(action_space.RIGHT_ARM, 6)) + assert not spec.delta_mask[action_space.RIGHT_GRIPPER] + assert not spec.delta_mask[action_space.RIGHT_EEF_POSITION] + + +def test_egomimic_groceries_human_is_bimanual_xyz() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["egomimic_groceries_human"] + source = np.arange(6, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal( + mapped[action_space.LEFT_EEF_POSITION : action_space.LEFT_EEF_POSITION + 3], + source[:3], + ) + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_POSITION + 3], + source[3:], + ) + assert sum(spec.action_mask) == 6 + + +@pytest.mark.parametrize( + "dataset_id", + ["egomimic_groceries_robot", "egomimic_smallclothfold_robot"], +) +def test_egomimic_bimanual_robot_layout(dataset_id: str) -> None: + spec = action_space.UNIFIED_ACTION_SPECS[dataset_id] + source = np.arange(20, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + np.testing.assert_array_equal(mapped[action_space.LEFT_ARM : action_space.LEFT_ARM + 6], source[:6]) + assert mapped[action_space.LEFT_GRIPPER] == source[6] + np.testing.assert_array_equal(mapped[action_space.RIGHT_ARM : action_space.RIGHT_ARM + 6], source[7:13]) + assert mapped[action_space.RIGHT_GRIPPER] == source[13] + np.testing.assert_array_equal( + mapped[action_space.LEFT_EEF_POSITION : action_space.LEFT_EEF_POSITION + 3], + source[14:17], + ) + np.testing.assert_array_equal( + mapped[action_space.RIGHT_EEF_POSITION : action_space.RIGHT_EEF_POSITION + 3], + source[17:20], + ) + + +def test_robocoin_mixed_eef_sources_are_dropped() -> None: + expected_dropped = { + "robocoin_agilex_cobot_magic_s26_a26": set(range(7, 13)) | set(range(20, 26)), + "robocoin_realman_rmc_aida_l_s28_a28": set(range(8, 14)) | set(range(22, 28)), + "robocoin_agilex_decoupled_magic_s26_a26": set(range(7, 13)) | set(range(20, 26)), + "robocoin_aloha_s26_a26": set(range(6, 12)) | set(range(19, 25)), + "robocoin_alpha_bot_2_s28_a28": set(range(7, 13)) | set(range(20, 26)), + "robocoin_realman_rmc_aidal_s28_a28": set(range(8, 14)) | set(range(22, 28)), + "robocoin_ruantong_a2d_s41_a34": set(range(14, 28)), + } + for dataset_id, dropped in expected_dropped.items(): + mapped_sources = {source for source, _ in action_space.UNIFIED_ACTION_SPECS[dataset_id].action_mapping} + assert mapped_sources.isdisjoint(dropped) + + +def test_yinhe_state_reorder_is_explicit() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["robocoin_yinhe_s49_a16"] + assert tuple(source for source, _ in spec.state_mapping) == tuple(range(5, 21)) + assert tuple(source for source, _ in spec.action_mapping) == tuple(range(16)) + + +def test_invalid_temporal_spec_is_rejected() -> None: + with pytest.raises(ValueError, match="without mapped state"): + action_space.UnifiedActionSpec( + state_mapping=action_space.dims(0, action_space.LEFT_ARM, 1), + action_mapping=action_space.dims(0, action_space.RIGHT_ARM, 1), + absolute_to_delta_slots=(action_space.RIGHT_ARM,), + ) + + +def test_map_array_scatters_and_zero_fills() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["piper30"] + source = np.arange(14, dtype=np.float32) + mapped = action_space.map_array(source, spec.action_mapping) + assert mapped.shape == (action_space.UNIFIED_ACTION_DIM,) + np.testing.assert_array_equal(mapped[:6], source[:6]) + assert mapped[action_space.LEFT_GRIPPER] == source[6] + np.testing.assert_array_equal(mapped[action_space.RIGHT_ARM : action_space.RIGHT_ARM + 6], source[7:13]) + assert mapped[action_space.RIGHT_GRIPPER] == source[13] + mask = np.asarray(spec.action_mask) + assert np.count_nonzero(mapped[mask]) == 13 # source a1 is intentionally zero + assert np.all(mapped[~mask] == 0) + + +def test_unmap_array_restores_mapped_source_indices() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["robocoin_aloha_s26_a26"] + source = np.arange(26, dtype=np.float32) + unified = action_space.map_array(source, spec.action_mapping) + restored = action_space.unmap_array(unified, spec.action_mapping, source_dim=26) + mapped_sources = np.asarray([source_index for source_index, _ in spec.action_mapping]) + dropped_sources = np.asarray(sorted(set(range(26)) - set(mapped_sources))) + np.testing.assert_array_equal(restored[mapped_sources], source[mapped_sources]) + np.testing.assert_array_equal(restored[dropped_sources], 0) + + +def test_unified_slot_names_cover_all_80_slots() -> None: + assert len(action_space.UNIFIED_SLOT_NAMES) == action_space.UNIFIED_ACTION_DIM + assert action_space.UNIFIED_SLOT_NAMES[action_space.LEFT_ARM] == "left_arm_joint_1" + assert action_space.UNIFIED_SLOT_NAMES[action_space.RIGHT_GRIPPER] == "right_gripper" + + +def test_mapping_metadata_rejects_stale_stats(tmp_path) -> None: + spec = action_space.UNIFIED_ACTION_SPECS["droid"] + action_space.write_metadata(tmp_path, spec) + action_space.validate_metadata(tmp_path, spec) + + path = tmp_path / "unified_action_space.json" + metadata = json.loads(path.read_text()) + metadata["width"] = 64 + path.write_text(json.dumps(metadata)) + with pytest.raises(ValueError, match="mapping mismatch"): + action_space.validate_metadata(tmp_path, spec) + + +def test_tensorflow_trajectory_mapping() -> None: + tf = pytest.importorskip("tensorflow") + spec = action_space.UNIFIED_ACTION_SPECS["egoverse_eva"] + source = np.arange(24, dtype=np.float32).reshape(2, 12) + mapped = action_space.map_trajectory_tensorflow( + {"state": tf.constant(source), "actions": tf.constant(source + 100)}, spec + ) + np.testing.assert_array_equal(mapped["state"].numpy(), action_space.map_array(source, spec.state_mapping)) + np.testing.assert_array_equal(mapped["actions"].numpy(), action_space.map_array(source + 100, spec.action_mapping)) + np.testing.assert_array_equal(mapped["action_mask"].numpy(), np.broadcast_to(spec.action_mask, (2, 80))) + + +def test_tensorflow_trajectory_mapping_preserves_precomputed_horizon() -> None: + tf = pytest.importorskip("tensorflow") + spec = action_space.UNIFIED_ACTION_SPECS["egoverse_eva"] + state = np.arange(24, dtype=np.float32).reshape(2, 12) + actions = np.arange(2 * 3 * 12, dtype=np.float32).reshape(2, 3, 12) + mapped = action_space.map_trajectory_tensorflow( + {"state": tf.constant(state), "actions": tf.constant(actions)}, + spec, + ) + assert mapped["actions"].shape == (2, 3, action_space.UNIFIED_ACTION_DIM) + np.testing.assert_array_equal(mapped["actions"].numpy(), action_space.map_array(actions, spec.action_mapping)) + np.testing.assert_array_equal(mapped["action_mask"].numpy(), np.broadcast_to(spec.action_mask, (2, 80))) + + +def test_delta_is_applied_once_only_to_declared_slots() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["piper30"] + state = np.arange(80, dtype=np.float32) + actions = np.broadcast_to(state + 3, (4, 80)).copy() + converted = action_space.apply_delta(state, actions, spec.delta_mask) + delta_mask = np.asarray(spec.delta_mask) + np.testing.assert_array_equal(converted[:, delta_mask], 3) + np.testing.assert_array_equal(converted[:, ~delta_mask], actions[:, ~delta_mask]) + + +def test_second_piper_drop_uses_audited_physical_layout() -> None: + spec = action_space.UNIFIED_ACTION_SPECS["piper2"] + expected_mapping = ( + action_space.dims(0, action_space.LEFT_ARM, 6) + + action_space.dims(6, action_space.LEFT_GRIPPER, 1) + + action_space.dims(7, action_space.RIGHT_ARM, 6) + + action_space.dims(13, action_space.RIGHT_GRIPPER, 1) + ) + expected_delta_slots = action_space.slots(action_space.LEFT_ARM, 6) + action_space.slots( + action_space.RIGHT_ARM, 6 + ) + + assert spec.state_mapping == expected_mapping + assert spec.action_mapping == expected_mapping + assert spec.absolute_to_delta_slots == expected_delta_slots + assert spec.already_delta_slots == () diff --git a/tests/cotrain/test_rlds_dataset.py b/tests/cotrain/test_rlds_dataset.py new file mode 100644 index 0000000..56ad064 --- /dev/null +++ b/tests/cotrain/test_rlds_dataset.py @@ -0,0 +1,76 @@ +from __future__ import annotations + +import numpy as np +import pytest + +from openpi.cotrain import rlds_dataset + + +def test_resample_precomputed_action_chunk_uses_full_source_window() -> None: + tf = pytest.importorskip("tensorflow") + actions = np.arange(100, dtype=np.float32).reshape(1, 100, 1) + output = rlds_dataset.resample_precomputed_action_chunk( + {"actions": tf.constant(actions)}, + action_chunk_size=5, + ) + np.testing.assert_array_equal( + output["actions"].numpy().reshape(-1), + np.array([0, 25, 50, 74, 99], dtype=np.float32), + ) + assert output["actions"].shape == (1, 5, 1) + + +def test_resample_precomputed_action_chunk_rejects_rank_two_actions() -> None: + tf = pytest.importorskip("tensorflow") + # TensorFlow raises ValueError when the static rank is known, InvalidArgumentError + # when the same assertion is evaluated from a traced/dynamic shape. + with pytest.raises((ValueError, tf.errors.InvalidArgumentError), match="precomputed_action_chunk"): + rlds_dataset.resample_precomputed_action_chunk( + {"actions": tf.zeros([10, 12], tf.float32)}, + action_chunk_size=5, + ) + + +def test_resample_precomputed_action_chunk_rejects_nonpositive_model_horizon() -> None: + with pytest.raises(ValueError, match="must be positive"): + rlds_dataset.resample_precomputed_action_chunk( + {"actions": np.zeros([1, 100, 12], dtype=np.float32)}, + action_chunk_size=0, + ) + + +def test_aligned_restructure_accepts_per_step_constant_eef_frame() -> None: + tf = pytest.importorskip("tensorflow") + steps = 2 + trajectory = { + "actions": tf.zeros([steps, 50, 7], tf.float32), + "state": tf.zeros([steps, 7], tf.float32), + "image_base": tf.zeros([steps, 2, 2, 3], tf.uint8), + "image_left_wrist": tf.zeros([steps, 2, 2, 3], tf.uint8), + "image_right_wrist": tf.zeros([steps, 2, 2, 3], tf.uint8), + "image_mask_base": tf.ones([steps], tf.bool), + "image_mask_left_wrist": tf.zeros([steps], tf.bool), + "image_mask_right_wrist": tf.ones([steps], tf.bool), + "prompt": tf.constant(["task", "task"]), + "eef_frame": tf.constant( + ["current_canonical_eef", "current_canonical_eef"] + ), + } + + output = rlds_dataset._aligned_parallel_gripper_restructure( # noqa: SLF001 + trajectory, "aligned_hangzhou_human_right" + ) + + assert output["prompt_prefix"].shape == (steps,) + assert output["prompt_prefix"].numpy().tolist() == [ + b"Action Mode: relative_eef_se3. EEF Frame: current_canonical_eef. ", + b"Action Mode: relative_eef_se3. EEF Frame: current_canonical_eef. ", + ] + + +def test_aligned_restructure_rejects_inconsistent_eef_frame() -> None: + tf = pytest.importorskip("tensorflow") + with pytest.raises(tf.errors.InvalidArgumentError, match="eef_frame must be constant"): + rlds_dataset._episode_scalar_string( # noqa: SLF001 + tf.constant(["camera_a", "camera_b"]), field_name="eef_frame" + ) diff --git a/tests/cotrain/test_self_collected_aligned_conversion.py b/tests/cotrain/test_self_collected_aligned_conversion.py new file mode 100644 index 0000000..2717e96 --- /dev/null +++ b/tests/cotrain/test_self_collected_aligned_conversion.py @@ -0,0 +1,92 @@ +from __future__ import annotations + +import numpy as np +from scipy.spatial.transform import Rotation + +from scripts import convert_self_collected_aligned_to_rlds as conversion + + +def _pose_trajectory(timestamps: np.ndarray) -> np.ndarray: + poses = np.repeat(np.eye(4, dtype=np.float64)[None], len(timestamps), axis=0) + poses[:, 0, 3] = timestamps + poses[:, :3, :3] = Rotation.from_euler("z", 0.2 * timestamps).as_matrix() + return poses + + +def _episode(poses: np.ndarray, timestamps: np.ndarray) -> conversion._EpisodeArrays: + closure = timestamps.astype(np.float32) / 2.0 + state = np.concatenate((conversion._pose_vectors(poses), closure[:, None]), axis=-1) + return conversion._EpisodeArrays( + timestamps=timestamps, + state=state, + poses=(poses,), + closures=(closure,), + valid=np.ones(len(timestamps), dtype=bool), + ) + + +def test_relative_action_chunk_spans_future_one_second_without_zero_target() -> None: + timestamps = np.linspace(0.0, 2.0, 101) + chunk = _episode(_pose_trajectory(timestamps), timestamps).action_chunk(0) + + assert chunk.shape == (50, 7) + np.testing.assert_allclose(chunk[0, :3], [0.02, 0.0, 0.0], atol=1e-6) + np.testing.assert_allclose(chunk[-1, :3], [1.0, 0.0, 0.0], atol=1e-6) + np.testing.assert_allclose(chunk[[0, -1], 3:6], [[0.0, 0.0, 0.004], [0.0, 0.0, 0.2]], atol=1e-6) + np.testing.assert_allclose(chunk[[0, -1], 6], [0.01, 0.5], atol=1e-6) + + +def test_relative_actions_are_invariant_to_station_extrinsic() -> None: + timestamps = np.linspace(0.0, 2.0, 101) + poses = _pose_trajectory(timestamps) + station_transform = np.eye(4) + station_transform[:3, :3] = Rotation.from_euler("xyz", [0.3, -0.2, 0.4]).as_matrix() + station_transform[:3, 3] = [1.2, -0.7, 0.5] + transformed = np.einsum("ij,tjk->tik", station_transform, poses) + + expected = _episode(poses, timestamps).action_chunk(25) + actual = _episode(transformed, timestamps).action_chunk(25) + np.testing.assert_allclose(actual, expected, atol=2e-6) + + +def test_current_observation_anchors_delayed_robot_action_timeline() -> None: + observation_times = np.linspace(0.0, 2.0, 101) + observation_poses = _pose_trajectory(observation_times) + action_times = observation_times + 0.04 + action_poses = _pose_trajectory(action_times) + observation_closure = observation_times.astype(np.float32) / 2.0 + action_closure = action_times.astype(np.float32) / 2.0 + state = np.concatenate( + (conversion._pose_vectors(observation_poses), observation_closure[:, None]), axis=-1 + ) + episode = conversion._EpisodeArrays( + timestamps=observation_times, + state=state, + poses=(observation_poses,), + closures=(observation_closure,), + valid=np.ones(len(observation_times), dtype=bool), + action_timestamps=action_times, + action_poses=(action_poses,), + action_closures=(action_closure,), + ) + + chunk = episode.action_chunk(0) + assert chunk.shape == (50, 7) + np.testing.assert_allclose(chunk[0, :3], [0.02, 0.0, 0.0], atol=1e-6) + np.testing.assert_allclose(chunk[-1, :3], [1.0, 0.0, 0.0], atol=1e-6) + + +def test_piper_native_tcp_is_moved_to_canonical_gripper_center() -> None: + raw = np.array( + [ + [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], + [1.0, 2.0, 3.0, 0.0, 0.0, np.pi / 2], + ] + ) + canonical = conversion._right_multiply_poses( + conversion._piper_pose_matrices(raw), conversion.PIPER_T_NATIVE_TO_CANONICAL + ) + + np.testing.assert_allclose(canonical[0, :3, 3], [0.07503, 0.0, 0.0], atol=1e-9) + np.testing.assert_allclose(canonical[1, :3, 3], [1.0, 2.07503, 3.0], atol=1e-9) + np.testing.assert_allclose(canonical[0, :3, :3], conversion.PIPER_T_ALIGN[:3, :3], atol=1e-9) diff --git a/tests/cotrain/test_unified_config.py b/tests/cotrain/test_unified_config.py new file mode 100644 index 0000000..6af36d3 --- /dev/null +++ b/tests/cotrain/test_unified_config.py @@ -0,0 +1,426 @@ +import dataclasses + +import pytest + +from openpi.cotrain import action_space +from openpi.cotrain import config +from openpi.cotrain import data_loader +from openpi.cotrain import transforms as cotrain_transforms +from openpi.cotrain import weight_loaders +from openpi.cotrain.rlds_dataset import CotrainRLDSDataset + + +def test_registered_cotrain_configs_include_controlled_legacy32_ablation() -> None: + assert {train_config.name for train_config in config._COTRAIN_CONFIGS} == { + "cotrain_real_only", + "cotrain_real_only_legacy32", + "cotrain_piper30_legacy32_aliyun_replay", + "cotrain_real_only_legacy32_aliyun_recipe", + "cotrain_real_only_unified80_aliyun_recipe", + "cotrain_real_robot", + "cotrain_real_robot_fix", + "cotrain_full_all_full_norm", + "egoscale_stage1_ego", + "egoscale_stage2_robot", + "egoscale_stage2_aligned", + "egoscale_stage2_egomimic", + "egoscale_stage2_egomimic_all", + "egoscale_stage3_robot", + "egoscale_stage3_real_robot_fix", + "egoscale_stage4_piper_finetune", + } + for train_config in config._COTRAIN_CONFIGS: + if train_config.name in { + "cotrain_real_only_legacy32", + "cotrain_piper30_legacy32_aliyun_replay", + "cotrain_real_only_legacy32_aliyun_recipe", + }: + continue + assert train_config.model.action_dim == action_space.UNIFIED_ACTION_DIM + datasets = config._resolve_unified_datasets(train_config.data.datasets, train_config.model) + assert datasets + assert all( + dataset.unified_action_spec is action_space.UNIFIED_ACTION_SPECS[dataset.uid] for dataset in datasets + ) + + +def test_fresh_start_configs_support_shape_safe_gemma_or_checkpoint_initialization() -> None: + strict_stage_names = { + "egoscale_stage2_robot", + "egoscale_stage2_aligned", + "egoscale_stage2_egomimic", + "egoscale_stage2_egomimic_all", + "egoscale_stage3_robot", + "egoscale_stage3_real_robot_fix", + "egoscale_stage4_piper_finetune", + } + assert all( + isinstance(train_config.weight_loader, weight_loaders.ShapeSafeCheckpointWeightLoader) + for train_config in config._COTRAIN_CONFIGS + if train_config.name not in strict_stage_names + ) + + +def test_validation_batch_size_is_independent_with_legacy_fallback() -> None: + train_config = config.get_config("cotrain_real_robot_fix") + assert train_config.batch_size == 32 + assert data_loader.resolve_val_batch_size(train_config) == 96 + + legacy = dataclasses.replace(train_config, batch_size=512, val_batch_size=None) + assert data_loader.resolve_val_batch_size(legacy) == 512 + + invalid = dataclasses.replace(train_config, val_batch_size=0) + with pytest.raises(ValueError, match="val_batch_size must be positive"): + data_loader.resolve_val_batch_size(invalid) + + +def test_cotrain_rejects_non_80d_model() -> None: + model = dataclasses.replace(config._UNIFIED_PI05_MODEL, action_dim=32) + with pytest.raises(ValueError, match="require action_dim=80"): + config._resolve_unified_datasets(config._PIPER30_DATA.datasets, model) + + +def test_cotrain_rejects_dataset_without_mapping() -> None: + dataset = CotrainRLDSDataset(name="new_builder", dataset_id="new_builder", version="1.0.0", weight=1.0) + with pytest.raises(ValueError, match="no registered unified 80D action mapping"): + config._resolve_unified_datasets((dataset,), config._UNIFIED_PI05_MODEL) + + +def test_real_only_contains_both_in_house_piper_datasets() -> None: + assert {dataset.uid for dataset in config._REAL_ONLY_DATA.datasets} == {"piper30", "piper2"} + assert sum(dataset.weight for dataset in config._REAL_ONLY_DATA.datasets) == pytest.approx(1.0) + + +def test_piper30_uses_task_disjoint_validation_builder_as_direct_replacement() -> None: + dataset = config._PIPER30_DATA.datasets[0] + assert dataset.uid == "piper30" + assert dataset.version == "1.1.0" + assert dataset.builder_dir.endswith("/realworld_piper_infidata/1.1.0") + assert "/realworld_piper_task_split/" in dataset.builder_dir + assert dataset.train_split == "train" + assert dataset.val_splits == {"seen": "seen_test", "unseen": "unseen_test"} + assert config._PIPER30_TRAIN_EPISODES == 4_927 + + +def test_legacy32_is_a_single_variable_action_space_ablation() -> None: + unified = config.get_config("cotrain_real_only") + legacy = config.get_config("cotrain_real_only_legacy32") + + assert legacy.model.action_dim == 32 + assert legacy.model.max_token_len == unified.model.max_token_len + assert legacy.data.datasets == unified.data.datasets + assert legacy.data.unified_action_space is False + assert legacy.data.norm_stats_source_config == "cotrain_real_only" + assert legacy.lr_schedule == unified.lr_schedule + assert legacy.optimizer == unified.optimizer + assert legacy.batch_size == unified.batch_size + assert legacy.num_train_steps == unified.num_train_steps + + resolved = config._resolve_legacy32_datasets(legacy.data.datasets, legacy.model) + assert {dataset.uid for dataset in resolved} == {"piper30", "piper2"} + assert all(dataset.unified_action_spec is None for dataset in resolved) + + +def test_legacy32_norm_projection_restores_native_piper_order() -> None: + legacy = config.get_config("cotrain_real_only_legacy32") + source_dir = legacy.assets_dirs.parent / legacy.data.norm_stats_source_config + datasets = config._resolve_legacy32_datasets(legacy.data.datasets, legacy.model) + projected = config.load_per_dataset_norm_stats( + source_dir, + datasets, + project_unified_to_native=True, + ) + + for dataset in datasets: + spec = action_space.UNIFIED_ACTION_SPECS[dataset.uid] + native_targets = [target for _, target in sorted(spec.action_mapping)] + unified = config.load_per_dataset_norm_stats( + source_dir, (dataclasses.replace(dataset, unified_action_spec=spec),) + ) + assert projected[dataset.uid]["state"].mean.shape == (14,) + assert projected[dataset.uid]["actions"].mean.shape == (14,) + assert projected[dataset.uid]["actions"].mean.tolist() == pytest.approx( + unified[dataset.uid]["actions"].mean[native_targets].tolist() + ) + + +def test_aliyun_replay_restores_confirmed_historical_training_contract() -> None: + replay = config.get_config("cotrain_piper30_legacy32_aliyun_replay") + + assert [dataset.uid for dataset in replay.data.datasets] == ["piper30"] + assert replay.data.unified_action_space is False + assert replay.data.include_action_prompt_prefix is False + assert replay.model.action_dim == 32 + assert replay.model.max_token_len == 200 + assert replay.num_train_steps == 20_000 + assert replay.lr_schedule.warmup_steps == 1_000 + assert replay.lr_schedule.peak_lr == pytest.approx(2.5e-5) + assert replay.lr_schedule.decay_steps == 30_000 + assert replay.lr_schedule.decay_lr == pytest.approx(2.5e-6) + assert replay.save_interval == 5_000 + + data_config = replay.data.create(replay.assets_dirs, replay.model) + assert any( + isinstance(transform, cotrain_transforms.DropPromptPrefix) for transform in data_config.data_transforms.inputs + ) + + resolved = config._resolve_legacy32_datasets(replay.data.datasets, replay.model) + assert [dataset.uid for dataset in resolved] == ["piper30"] + assert resolved[0].unified_action_spec is None + + +def test_aliyun_recipe_dataset_comparison_only_adds_piper2() -> None: + baseline = config.get_config("cotrain_piper30_legacy32_aliyun_replay") + add_piper2 = config.get_config("cotrain_real_only_legacy32_aliyun_recipe") + + assert [dataset.uid for dataset in baseline.data.datasets] == ["piper30"] + assert {dataset.uid for dataset in add_piper2.data.datasets} == {"piper30", "piper2"} + for field in dataclasses.fields(baseline): + if field.name not in {"name", "data"}: + assert getattr(add_piper2, field.name) == getattr(baseline, field.name), field.name + for field in dataclasses.fields(baseline.data): + if field.name not in {"rlds_data_dir", "datasets"}: + assert getattr(add_piper2.data, field.name) == getattr(baseline.data, field.name), field.name + assert add_piper2.data.unified_action_space is False + assert add_piper2.data.include_action_prompt_prefix is False + assert add_piper2.data.norm_stats_source_config == "cotrain_real_only" + + +def test_unified80_aliyun_recipe_only_changes_formal_training_1_recipe() -> None: + formal = config.get_config("cotrain_real_only") + comparison = config.get_config("cotrain_real_only_unified80_aliyun_recipe") + legacy_comparison = config.get_config("cotrain_real_only_legacy32_aliyun_recipe") + + for field in dataclasses.fields(formal): + if field.name not in {"name", "data", "lr_schedule", "num_train_steps", "save_interval"}: + assert getattr(comparison, field.name) == getattr(formal, field.name), field.name + for field in dataclasses.fields(formal.data): + if field.name != "norm_stats_source_config": + assert getattr(comparison.data, field.name) == getattr(formal.data, field.name), field.name + assert comparison.data.norm_stats_source_config == formal.name + + assert comparison.lr_schedule == legacy_comparison.lr_schedule + assert comparison.num_train_steps == legacy_comparison.num_train_steps == 20_000 + assert comparison.save_interval == legacy_comparison.save_interval == 5_000 + assert comparison.lr_schedule.warmup_steps == 1_000 + assert comparison.lr_schedule.peak_lr == pytest.approx(2.5e-5) + assert comparison.lr_schedule.decay_steps == 30_000 + assert comparison.lr_schedule.decay_lr == pytest.approx(2.5e-6) + + +def test_real_robot_contains_public_robot_data_but_no_egoverse() -> None: + dataset_ids = {dataset.uid for dataset in config._REAL_ROBOT_DATA.datasets} + assert {"piper30", "piper2", "agibot", "droid"} <= dataset_ids + assert any(dataset_id.startswith("robocoin_") for dataset_id in dataset_ids) + assert any(dataset_id.startswith("robomind_") for dataset_id in dataset_ids) + assert not any(dataset_id.startswith("egoverse_") for dataset_id in dataset_ids) + assert dataset_ids.isdisjoint(config._FULL_ALL_EXCLUDED_DATASET_IDS) + assert sum(dataset.weight for dataset in config._REAL_ROBOT_DATA.datasets) == pytest.approx(1.0) + + +def test_real_robot_fix_excludes_audited_risky_datasets_and_renormalizes() -> None: + original_ids = {dataset.uid for dataset in config._REAL_ROBOT_DATA.datasets} + fixed_ids = {dataset.uid for dataset in config._REAL_ROBOT_FIX_DATA.datasets} + + assert fixed_ids == original_ids - config._REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS + assert len(fixed_ids) == 34 + assert sum(dataset.weight for dataset in config._REAL_ROBOT_FIX_DATA.datasets) == pytest.approx(1.0) + assert config.get_config("cotrain_real_robot_fix").data is config._REAL_ROBOT_FIX_DATA + + +def test_full_all_full_norm_adds_egoverse_to_audited_real_robot_data() -> None: + real_robot_fix_ids = {dataset.uid for dataset in config._REAL_ROBOT_FIX_DATA.datasets} + full_ids = {dataset.uid for dataset in config._FULL_ALL_FIX_DATA.datasets} + ego_ids = {dataset.uid for dataset in config._EGOVERSE_FULL_DATA.datasets} + + assert full_ids == real_robot_fix_ids | ego_ids + assert len(full_ids) == 39 + assert full_ids.isdisjoint(config._FULL_ALL_EXCLUDED_DATASET_IDS) + assert full_ids.isdisjoint(config._REAL_ROBOT_FIX_EXCLUDED_DATASET_IDS) + assert sum(dataset.weight for dataset in config._FULL_ALL_FIX_DATA.datasets) == pytest.approx(1.0) + assert config.get_config("cotrain_full_all_full_norm").data is config._FULL_ALL_FIX_DATA + + +def test_robomind_weights_use_actual_train_split_episode_counts() -> None: + expected = { + "robomind_agilex_cobot_magic_s14_a14": 9_855, + "robomind_franka_fr3_dual_s16_a16": 1_685, + "robomind_franka_panda_s8_a8": 14_956, + "robomind_franka_sim_franka_s8_a8": 8_445, + "robomind_franka_sim_simulation_s8_a8": 8_662, + "robomind_franka_sim_simulation_no_front_s8_a8": 150, + "robomind_franka_sim_none_s8_a8": 211, + "robomind_tienkung_gello_s16_a16": 5_402, + "robomind_tienkung_prod1_gello_s16_a16": 2_811, + "robomind_tienkung_xsens_s14_a14": 5_775, + "robomind_tienkung_sim_s38_a38": 3_767, + "robomind_tienkung_real_s38_a38": 139, + "robomind_ur5e_s7_a7": 25_061, + } + actual = {dataset_id: train_episodes for dataset_id, _, train_episodes, _, _, _ in config._ROBOMIND_FULL_REPOS} + assert actual == expected + assert config._ROBOMIND_FULL_EPISODES == 86_919 + + +def test_robot_stage_excludes_all_egoverse_datasets() -> None: + robot_ids = {dataset.uid for dataset in config._ROBOT_ALL_DATA.datasets} + assert robot_ids + assert robot_ids.isdisjoint(config._EGOVERSE_DATASET_IDS) + assert abs(sum(dataset.weight for dataset in config._ROBOT_ALL_DATA.datasets) - 1.0) < 1e-6 + + +def test_staged_configs_use_expected_data_and_strict_checkpoint_loader() -> None: + stage1_datasets = config._EGOSCALE_STAGE1_EGO.data.datasets + assert {dataset.uid for dataset in stage1_datasets} == { + "egoverse_aria", + "egoverse_eva", + "egoverse_human", + "egoverse_mecka", + "egoverse_rl2_eva", + "egoverse_rl2_human", + } + assert {dataset.uid for dataset in stage1_datasets}.isdisjoint( + config._EGOSCALE_STAGE1_EXCLUDED_DATASET_IDS + ) + assert sum(dataset.weight for dataset in stage1_datasets) == pytest.approx(1.0) + assert all(dataset.restructure_name == "egoverse_cartesian_chunk" for dataset in stage1_datasets) + assert all(dataset.precomputed_action_chunk for dataset in stage1_datasets) + assert all(dataset.precomputed_action_source == "actions_cartesian" for dataset in stage1_datasets) + assert all(dataset.precomputed_action_horizon == 100 for dataset in stage1_datasets) + assert config._EGOSCALE_STAGE1_EGO.norm_stats_assets_name == "egoscale_stage1_ego_cartesian_clean_rl2" + assert config._EGOSCALE_STAGE2_ROBOT.data is config._ROBOT_ALL_DATA + assert config._EGOSCALE_STAGE2_ALIGNED.data is config._SELF_COLLECTED_ALIGNED_DATA + assert { + dataset.uid: dataset.action_dim for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets + } == { + "aligned_hangzhou_human_right": 7, + "aligned_shenzhen_human_bimanual": 14, + "aligned_hangzhou_robot_right": 7, + "aligned_shenzhen_robot_bimanual": 14, + } + assert [dataset.weight for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets] == pytest.approx( + [4 / 9, 16 / 45, 1 / 9, 4 / 45] + ) + assert all(dataset.precomputed_action_chunk for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets) + assert all(dataset.version == "2.0.0" for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets) + assert all( + dataset.precomputed_action_source + == "relative_eef_se3_translation_rotvec_plus_absolute_gripper" + for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets + ) + assert all( + dataset.precomputed_action_horizon == 50 + for dataset in config._EGOSCALE_STAGE2_ALIGNED.data.datasets + ) + assert config._EGOSCALE_STAGE2_EGOMIMIC.data is config._EGOMIMIC_GROCERIES_DATA + assert {dataset.uid for dataset in config._EGOSCALE_STAGE2_EGOMIMIC.data.datasets} == { + "egomimic_groceries_human", + "egomimic_groceries_robot", + } + assert { + dataset.uid: dataset.action_dim + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC.data.datasets + } == { + "egomimic_groceries_human": 6, + "egomimic_groceries_robot": 20, + } + assert { + dataset.uid: dataset.val_splits + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC.data.datasets + } == { + "egomimic_groceries_human": {"seen": "seen_test", "unseen": "unseen_test"}, + "egomimic_groceries_robot": {"seen": "train", "unseen": "train"}, + } + assert all(dataset.precomputed_action_chunk for dataset in config._EGOSCALE_STAGE2_EGOMIMIC.data.datasets) + assert config._EGOSCALE_STAGE2_EGOMIMIC_ALL.data is config._EGOMIMIC_ALL_DATA + assert { + dataset.uid: dataset.action_dim + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC_ALL.data.datasets + } == { + "egomimic_bowlplace_human": 3, + "egomimic_bowlplace_robot": 10, + "egomimic_groceries_human": 6, + "egomimic_groceries_robot": 20, + "egomimic_smallclothfold_human": 6, + "egomimic_smallclothfold_robot": 20, + } + assert all( + dataset.weight == pytest.approx(1 / 6) + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC_ALL.data.datasets + ) + assert { + dataset.uid: dataset.val_splits + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC_ALL.data.datasets + } == { + "egomimic_bowlplace_human": {"seen": "seen_test", "unseen": "unseen_test"}, + "egomimic_bowlplace_robot": {"seen": "train", "unseen": "train"}, + "egomimic_groceries_human": {"seen": "seen_test", "unseen": "unseen_test"}, + "egomimic_groceries_robot": {"seen": "train", "unseen": "train"}, + "egomimic_smallclothfold_human": {"seen": "seen_test", "unseen": "unseen_test"}, + "egomimic_smallclothfold_robot": {"seen": "seen_test", "unseen": "unseen_test"}, + } + assert all( + dataset.precomputed_action_chunk + for dataset in config._EGOSCALE_STAGE2_EGOMIMIC_ALL.data.datasets + ) + assert config._EGOSCALE_STAGE3_ROBOT.data is config._REAL_ONLY_UNIFIED80_ALIYUN_RECIPE.data + assert {dataset.uid for dataset in config._EGOSCALE_STAGE3_ROBOT.data.datasets} == { + "piper30", + "piper2", + } + assert config._EGOSCALE_STAGE3_ROBOT.num_train_steps == 20_000 + assert config._EGOSCALE_STAGE3_ROBOT.lr_schedule.warmup_steps == 1_000 + assert config._EGOSCALE_STAGE3_ROBOT.lr_schedule.peak_lr == pytest.approx(2.5e-5) + assert config._EGOSCALE_STAGE3_ROBOT.lr_schedule.decay_steps == 30_000 + assert config._EGOSCALE_STAGE3_ROBOT.lr_schedule.decay_lr == pytest.approx(2.5e-6) + assert config._EGOSCALE_STAGE3_ROBOT.save_interval == 5_000 + assert config._EGOSCALE_STAGE3_ROBOT.norm_stats_assets_name == "cotrain_real_only" + for staged in ( + config._EGOSCALE_STAGE2_ROBOT, + config._EGOSCALE_STAGE2_ALIGNED, + config._EGOSCALE_STAGE2_EGOMIMIC, + config._EGOSCALE_STAGE2_EGOMIMIC_ALL, + config._EGOSCALE_STAGE3_ROBOT, + config._EGOSCALE_STAGE3_REAL_ROBOT_FIX, + config._EGOSCALE_STAGE4_PIPER_FINETUNE, + ): + assert staged.weight_loader.__class__.__name__ == "CheckpointWeightLoader" + + +def test_stage3_formal_training_2_then_stage4_formal_training_1_contract() -> None: + stage3 = config.get_config("egoscale_stage3_real_robot_fix") + formal_training_2 = config.get_config("cotrain_real_robot_fix") + + assert stage3.data is formal_training_2.data + assert len(stage3.data.datasets) == 34 + assert stage3.model == formal_training_2.model + assert stage3.freeze_filter == formal_training_2.freeze_filter + assert stage3.norm_stats_assets_name == "cotrain_real_robot_fix" + assert stage3.num_train_steps == 97_728 + assert stage3.lr_schedule.warmup_steps == 5_000 + assert stage3.lr_schedule.peak_lr == pytest.approx(1.0e-6) + assert stage3.lr_schedule.decay_steps == 97_728 + assert stage3.lr_schedule.decay_lr == pytest.approx(1.0e-7) + assert stage3.save_interval == 10_000 + + stage4 = config.get_config("egoscale_stage4_piper_finetune") + formal_training_1 = config.get_config("cotrain_real_only_unified80_aliyun_recipe") + + assert stage4.data is formal_training_1.data + assert {dataset.uid for dataset in stage4.data.datasets} == {"piper30", "piper2"} + assert stage4.model == formal_training_1.model + assert stage4.freeze_filter == formal_training_1.freeze_filter + assert stage4.norm_stats_assets_name == "cotrain_real_only" + assert stage4.num_train_steps == 20_000 + assert stage4.lr_schedule.warmup_steps == 1_000 + assert stage4.lr_schedule.peak_lr == pytest.approx(2.5e-5) + assert stage4.lr_schedule.decay_steps == 30_000 + assert stage4.lr_schedule.decay_lr == pytest.approx(2.5e-6) + assert stage4.save_interval == 5_000 + + +def test_stage2_freeze_filter_keeps_action_expert_and_vision_trainable() -> None: + freeze = config._freeze_vlm_language_filter() + assert freeze(("PaliGemma", "llm", "layers", "attn"), object()) + assert not freeze(("PaliGemma", "llm", "layers", "attn_1"), object()) + assert not freeze(("PaliGemma", "img", "encoderblock", "attn"), object()) diff --git a/tests/cotrain/test_weight_loaders.py b/tests/cotrain/test_weight_loaders.py new file mode 100644 index 0000000..487d9aa --- /dev/null +++ b/tests/cotrain/test_weight_loaders.py @@ -0,0 +1,78 @@ +from pathlib import Path + +import numpy as np +import pytest + +from openpi.cotrain import weight_loaders +from openpi.models import model + + +def _target_params() -> dict: + return { + "PaliGemma": { + "img": {"kernel": np.zeros((2, 2), dtype=np.float32)}, + "llm": {"kernel": np.zeros((2, 3), dtype=np.float32)}, + }, + "action_out_proj": {"kernel": np.full((3, 4), 7.0, dtype=np.float32)}, + } + + +def _write_paligemma_npz(path: Path, *, include_llm: bool = True) -> None: + arrays = { + "params/img/kernel": np.full((2, 2), 1.0, dtype=np.float32), + } + if include_llm: + arrays["params/llm/kernel"] = np.full((2, 3), 2.0, dtype=np.float32) + np.savez(path, **arrays) + + +def test_shape_safe_loader_auto_detects_paligemma_npz(tmp_path: Path) -> None: + path = tmp_path / "pt_224.npz" + _write_paligemma_npz(path) + + loaded = weight_loaders.ShapeSafeCheckpointWeightLoader(str(path)).load(_target_params()) + + np.testing.assert_array_equal(loaded["PaliGemma"]["img"]["kernel"], np.full((2, 2), 1.0)) + np.testing.assert_array_equal(loaded["PaliGemma"]["llm"]["kernel"], np.full((2, 3), 2.0)) + # Parameters absent from the VLM checkpoint retain the target model's random initialization. + np.testing.assert_array_equal(loaded["action_out_proj"]["kernel"], np.full((3, 4), 7.0)) + + +def test_shape_safe_loader_retains_random_target_on_npz_shape_mismatch(tmp_path: Path) -> None: + path = tmp_path / "pt_224.npz" + np.savez( + path, + **{ + "params/img/kernel": np.full((2, 2), 1.0, dtype=np.float32), + "params/llm/kernel": np.full((9, 9), 2.0, dtype=np.float32), + }, + ) + + loaded = weight_loaders.ShapeSafeCheckpointWeightLoader(str(path)).load(_target_params()) + + np.testing.assert_array_equal(loaded["PaliGemma"]["img"]["kernel"], np.full((2, 2), 1.0)) + np.testing.assert_array_equal(loaded["PaliGemma"]["llm"]["kernel"], np.zeros((2, 3))) + + +def test_shape_safe_loader_rejects_non_paligemma_npz(tmp_path: Path) -> None: + path = tmp_path / "invalid.npz" + _write_paligemma_npz(path, include_llm=False) + + with pytest.raises(ValueError, match="expected params/img and params/llm"): + weight_loaders.ShapeSafeCheckpointWeightLoader(str(path)).load(_target_params()) + + +def test_shape_safe_loader_preserves_orbax_checkpoint_behavior(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: + checkpoint_dir = tmp_path / "params" + checkpoint_dir.mkdir() + checkpoint_params = _target_params() + checkpoint_params["action_out_proj"]["kernel"] = np.full((3, 4), 5.0, dtype=np.float32) + monkeypatch.setattr( + model, + "restore_params", + lambda path, restore_type: checkpoint_params, + ) + + loaded = weight_loaders.ShapeSafeCheckpointWeightLoader(str(checkpoint_dir)).load(_target_params()) + + np.testing.assert_array_equal(loaded["action_out_proj"]["kernel"], np.full((3, 4), 5.0)) diff --git a/tests/training/checkpoints_test.py b/tests/training/checkpoints_test.py new file mode 100644 index 0000000..d068583 --- /dev/null +++ b/tests/training/checkpoints_test.py @@ -0,0 +1,33 @@ +from openpi.training import checkpoints + + +class _RecordingManager: + def __init__(self): + self.step = None + self.items = None + + def save(self, step, items): + self.step = step + self.items = items + + +def test_save_state_params_only_omits_train_state(monkeypatch) -> None: + manager = _RecordingManager() + monkeypatch.setattr(checkpoints, "_split_params", lambda state: ("optimizer-state", "model-params")) + + checkpoints.save_state(manager, object(), object(), 10, params_only=True) + + assert manager.step == 10 + assert set(manager.items) == {"assets", "params"} + assert manager.items["params"] == {"params": "model-params"} + + +def test_save_state_defaults_to_full_train_state(monkeypatch) -> None: + manager = _RecordingManager() + monkeypatch.setattr(checkpoints, "_split_params", lambda state: ("optimizer-state", "model-params")) + + checkpoints.save_state(manager, object(), object(), 20) + + assert manager.step == 20 + assert set(manager.items) == {"assets", "params", "train_state"} + assert manager.items["train_state"] == "optimizer-state" diff --git a/third_party/rerun-stub/dist/.gitkeep b/third_party/rerun-stub/dist/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/third_party/rerun-stub/dist/.gitkeep @@ -0,0 +1 @@ +