motus-robotics commited on
Commit
effc6e1
·
verified ·
1 Parent(s): 6549e8f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ ---
5
+
6
+ ## 🛠 Training Details (RoboTwin 2.0 Simulation)
7
+
8
+ This model is a pi0.5 checkpoint fine-tuned on the **RoboTwin 2.0** simulation environment.
9
+
10
+ ### Model Pedigree
11
+
12
+ * **Base Model:** Official released pi0.5 base model.
13
+ * **Framework Conversion:** The weights were converted from the original **JAX** implementation to **PyTorch** for this training pipeline.
14
+
15
+ ### Training Data & Setting
16
+
17
+ The model was trained under a **multi-task** setting involving **50 distinct tasks**, blending both "Clean" and "Randomized" simulation environments:
18
+
19
+ | Data Setting | Episodes per Task | Total Episodes |
20
+ | --- | --- | --- |
21
+ | **Clean Setting** | 50 | 2,500 |
22
+ | **Randomized Setting** | 500 | 25,000 |
23
+ | **Total** | **550** | **27,500** |
24
+
25
+ ### Training Configuration
26
+
27
+ ```
28
+ TrainConfig(
29
+ name="pi05_base_finetune_on_robotwin_clean_randomized_joint_training",
30
+ project_name="pi05_finetune",
31
+ exp_name="robotwin_clean_randomized_joint_training",
32
+ model=pi0_config.Pi0Config(
33
+ pi05=True,
34
+ action_horizon=32,
35
+ ),
36
+ weight_loader=weight_loaders.CheckpointWeightLoader("./pi05_base/params"),
37
+ pytorch_weight_path="./pi05_base_torch",
38
+ lr_schedule=_optimizer.ConstantScheduleWithWarmup, # we defined this scheduler ourselves
39
+ #optimizer=_optimizer.AdamW,
40
+ data=LeRobotAlohaDataConfig(
41
+ repo_id= "clean_randomized_joint_training",
42
+ data_dir= HF_LEROBOT_HOME / "robotwin" ,
43
+ multi_task=True, # we use the MultiLeRobotDataset and therefore modified the official repo slightly to better start the train
44
+ base_config=DataConfig(
45
+ prompt_from_task=True,
46
+ random_prompt_from_task=True, # we add this option for the training setting of RoboTwin(every episode of the same task randomly selects instruction for training from the same bunch of instructions)
47
+ ),
48
+ assets=AssetsConfig(
49
+ assets_dir="./assets/pi05_base_finetune_on_robotwin_clean_randomized_joint_training",
50
+ asset_id="robotwin_clean_randomized_joint_training",
51
+ ),
52
+ adapt_to_pi=True,
53
+ default_prompt=DEFAULT_PROMPT,
54
+ use_delta_joint_actions=True,
55
+ repack_transforms=_transforms.Group(
56
+ inputs=[
57
+ _transforms.RepackTransform(
58
+ {
59
+ "images": {
60
+ "cam_high": "high_image",
61
+ "cam_left_wrist": "left_wrist_image",
62
+ "cam_right_wrist": "right_wrist_image",
63
+ },
64
+ "state": "state",
65
+ "actions": "actions",
66
+ "prompt": "prompt",
67
+ }
68
+ ),
69
+ ]
70
+ ),
71
+ action_sequence_keys=("actions",)
72
+ ),
73
+ seed=42,
74
+ batch_size=128,
75
+ num_workers=16,
76
+ num_train_steps=1000000,
77
+ log_interval=100,
78
+ val_interval=1000,
79
+ save_interval=5000,
80
+ keep_period=5000,
81
+ resume=True,
82
+ wandb_enabled=True,
83
+ ),
84
+ ```