Robotics
LeRobot
Safetensors
molmoact2
mattpidden justintiensmith commited on
Commit
e465d0b
·
0 Parent(s):

Duplicate from justintiensmith/molmoact2_500eps_endeffector_trace

Browse files

Co-authored-by: Justin Tien-Smith <justintiensmith@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: mattpidden/500eps-endeffector-trace-dataset
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: molmoact2
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - molmoact2
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for molmoact2
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ [MolmoAct2](https://allenai.org/blog/molmoact2) is an open robotics foundation model from the Allen Institute for AI (Ai2) that maps camera images and language instructions to robot action chunks. The LeRobot implementation supports training and evaluation of the regular MolmoAct2 model.
19
+
20
+
21
+
22
+
23
+ <!-- A short demo is worth more than any description! Record a GIF/video of the policy
24
+ running on your robot, upload it to this repo, and embed it here:
25
+ <p align="center">
26
+ <img src="https://huggingface.co/<hf_user>/<policy_repo_id>/resolve/main/demo.gif" width="60%"/>
27
+ </p>
28
+ -->
29
+
30
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
31
+
32
+ Learn how to train and run it in the [LeRobot molmoact2 guide](https://huggingface.co/docs/lerobot/main/en/molmoact2), or browse the [full documentation](https://huggingface.co/docs/lerobot/index).
33
+
34
+
35
+ ---
36
+
37
+ ## Model Details
38
+
39
+ - **License:** apache-2.0
40
+ - **Robot type:** `so_follower`
41
+ - **Cameras:** `wrist`, `right`, `left`, `middle`
42
+
43
+
44
+ ## Inputs & Outputs
45
+
46
+ The policy consumes these observation features and produces these action features.
47
+
48
+ **Inputs**
49
+
50
+ | Feature | Type | Shape |
51
+ | --- | --- | --- |
52
+ | `observation.images.middle` | VISUAL | `(3, 480, 640)` |
53
+ | `observation.images.wrist` | VISUAL | `(3, 480, 640)` |
54
+ | `observation.state` | STATE | `(6,)` |
55
+
56
+ **Outputs**
57
+
58
+ | Feature | Type | Shape |
59
+ | --- | --- | --- |
60
+ | `action` | ACTION | `(6,)` |
61
+
62
+
63
+ ## Training Dataset
64
+
65
+ - **Repository:** [mattpidden/500eps-endeffector-trace-dataset](https://huggingface.co/datasets/mattpidden/500eps-endeffector-trace-dataset)
66
+ - **Episodes:** 498
67
+ - **Frames:** 137695
68
+ - **Frame rate:** 30 FPS
69
+ - **Task(s):** "Drag the cloth across the table.", "Drag the cup across the table.", "Knock over the box onto its side.", "Knock over the cup onto its side..", "Knock over the soda can onto its side.", "Open the cup by lifting the lid.", "Open the spice jar by lifting the lid.", "Pick up the apple and place it in the bowl.", "Pick up the block and place it next to the pencil basket.", "Pick up the box and place it in the bowl.", "Pick up the juggling ball and place it in the bowl.", "Pick up the marker and insert it into the pencil basket.", "Pick up the straw from the basket and insert it into the cup.", "Pick up the straw from the basket and insert it into the jar.", "Push the apple next to the block.", "Push the cardboard box next to the block.", "Push the cup next to the other cup.", "Push the juggling ball next to the bowl.", "Reorient the block upright.", "Reorient the box to stand vertically on its end.", "Reorient the cup upright.", "Reorient the spice jar upright.", "Stack the block on top of the apple.", "Stack the blocks on top of another block.", "Stack the white cup into the brown cup."
70
+
71
+ <a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=mattpidden/500eps-endeffector-trace-dataset">
72
+ <img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
73
+ <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
74
+ </a>
75
+
76
+
77
+ ## Training Configuration
78
+
79
+ | Setting | Value |
80
+ | --- | --- |
81
+ | Training steps | 40180 |
82
+ | Batch size | 24 |
83
+ | Optimizer | adamw |
84
+ | Learning rate | 1e-05 |
85
+ | Seed | 1000 |
86
+ | LeRobot version | 0.6.0 |
87
+
88
+ ---
89
+
90
+ ## How to Get Started with the Model
91
+
92
+ New to LeRobot? These guides cover the full workflow:
93
+
94
+ - **[Install LeRobot](https://huggingface.co/docs/lerobot/main/en/installation)** — set up the `lerobot` package.
95
+ - **[Hardware setup](https://huggingface.co/docs/lerobot/main/en/hardware_guide)** — assemble, wire, and calibrate your robot and cameras.
96
+ - **[Record data & train a policy](https://huggingface.co/docs/lerobot/en/il_robots)** — the end-to-end imitation-learning walkthrough.
97
+ - **[CLI cheat-sheet](https://huggingface.co/docs/lerobot/main/en/cheat-sheet)** — quick reference for the `lerobot-*` commands.
98
+
99
+ The short version to run and train this policy:
100
+
101
+ ### Run the policy on your robot
102
+
103
+ ```bash
104
+ lerobot-rollout \
105
+ --strategy.type=base \
106
+ --robot.type=so_follower \
107
+ --robot.port=<your_robot_port> \
108
+ --robot.cameras="{ <camera_1>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}, <camera_2>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}}" \
109
+ --policy.path=justintiensmith/molmoact2_500eps_endeffector_trace \
110
+ --task="Drag the cloth across the table." \
111
+ --duration=60
112
+ ```
113
+
114
+ Replace the remaining `<...>` placeholders with your own values: `--robot.port` and the camera names/indices are specific to your machine, and the camera names must match the observation keys this policy was trained on.
115
+
116
+ When `--strategy.type=base` is used the script doesn't record the episodes. Skipping duration will make the policy run indefinitely. For more information look at [rollout documentation](https://huggingface.co/docs/lerobot/main/en/inference).
117
+
118
+ ### Train your own policy
119
+
120
+ ```bash
121
+ lerobot-train \
122
+ --dataset.repo_id=${HF_USER}/<dataset> \
123
+ --policy.type=molmoact2 \
124
+ --output_dir=outputs/train/<policy_repo_id> \
125
+ --job_name=lerobot_training \
126
+ --policy.device=cuda \
127
+ --policy.repo_id=${HF_USER}/<policy_repo_id> \
128
+ --wandb.enable=true
129
+ ```
130
+
131
+ _Writes checkpoints to `outputs/train/<policy_repo_id>/checkpoints/`._
132
+
133
+ ---
134
+
135
+ ## Evaluation
136
+
137
+ <!-- Report real-robot results here: run the policy several times per task and count the
138
+ successes. Delete the "No evaluation results" line and fill in this table instead:
139
+
140
+ | Task | Trials | Successes | Success rate |
141
+ | ---- | ------ | --------- | ------------ |
142
+ | pick the lego brick | 10 | 8 | 80% |
143
+
144
+ Also worth noting: anything that affects difficulty (new object positions, lighting,
145
+ distractors, a different robot of the same type, ...).
146
+ -->
147
+
148
+ _No evaluation results have been provided for this policy yet._
149
+
150
+ ---
151
+
152
+ ## Citation
153
+
154
+ If you use this policy, please cite the method linked in the description above, along with LeRobot:
155
+
156
+ ```bibtex
157
+ @misc{cadene2024lerobot,
158
+ author = {Cadene, Remi and Alibert, Simon and Soare, Alexander and Gallouedec, Quentin and Zouitine, Adil and Palma, Steven and Kooijmans, Pepijn and Aractingi, Michel and Shukor, Mustafa and Aubakirova, Dana and Russi, Martino and Capuano, Francesco and Pascal, Caroline and Choghari, Jade and Moss, Jess and Wolf, Thomas},
159
+ title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
160
+ howpublished = "\url{https://github.com/huggingface/lerobot}",
161
+ year = {2024}
162
+ }
163
+ ```
config.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "molmoact2",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.middle": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 480,
10
+ 640
11
+ ]
12
+ },
13
+ "observation.images.wrist": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 480,
18
+ 640
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 6
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 6
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "justintiensmith/molmoact2_500eps_endeffector_trace",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "/projects/u6ph/jtiensmith.u6ph/outputs/molmoact2_500eps_endeffector_trace_6158640/checkpoints/last/pretrained_model",
45
+ "pretrained_revision": null,
46
+ "checkpoint_path": "allenai/MolmoAct2",
47
+ "checkpoint_revision": "e432d85f6e039edca44afb93c262f3084ab72a9c",
48
+ "checkpoint_force_download": false,
49
+ "chunk_size": 30,
50
+ "n_action_steps": 30,
51
+ "action_mode": "continuous",
52
+ "inference_action_mode": "continuous",
53
+ "discrete_action_tokenizer": "allenai/MolmoAct2-FAST-Tokenizer",
54
+ "discrete_generation_max_steps": null,
55
+ "norm_tag": null,
56
+ "setup_type": "single so100/so101 robotic arm in molmoact2",
57
+ "control_mode": "absolute joint pose",
58
+ "image_keys": [
59
+ "observation.images.middle",
60
+ "observation.images.wrist"
61
+ ],
62
+ "normalize_language": true,
63
+ "add_setup_tokens": true,
64
+ "add_control_tokens": true,
65
+ "normalize_gripper": true,
66
+ "num_state_tokens": 256,
67
+ "max_sequence_length": null,
68
+ "expected_max_action_dim": 32,
69
+ "num_flow_timesteps": 8,
70
+ "flow_matching_cutoff": 1.0,
71
+ "flow_matching_time_offset": 0.001,
72
+ "flow_matching_time_scale": 0.999,
73
+ "flow_matching_beta_alpha": 1.0,
74
+ "flow_matching_beta_beta": 1.5,
75
+ "num_inference_steps": null,
76
+ "mask_action_dim_padding": true,
77
+ "enable_inference_cuda_graph": true,
78
+ "per_episode_seed": false,
79
+ "eval_seed": null,
80
+ "rtc_config": null,
81
+ "joint_signs": null,
82
+ "joint_offsets": null,
83
+ "enable_lora_vlm": false,
84
+ "lora_rank": 64,
85
+ "lora_alpha": 16,
86
+ "lora_dropout": 0.05,
87
+ "lora_bias": "none",
88
+ "enable_lora_action_expert": false,
89
+ "enable_knowledge_insulation": false,
90
+ "freeze_embedding": true,
91
+ "train_action_expert_only": false,
92
+ "gradient_checkpointing": true,
93
+ "model_dtype": "bfloat16",
94
+ "softmax_auxiliary_loss": true,
95
+ "softmax_auxiliary_loss_scale": 0.0001,
96
+ "discrete_loss_token_weighting": "root_subsegments_root_tokens",
97
+ "optimizer_lr": 1e-05,
98
+ "optimizer_vit_lr": 5e-06,
99
+ "optimizer_connector_lr": 5e-06,
100
+ "optimizer_action_expert_lr": 5e-05,
101
+ "optimizer_betas": [
102
+ 0.9,
103
+ 0.95
104
+ ],
105
+ "optimizer_eps": 1e-06,
106
+ "optimizer_weight_decay": 0.0,
107
+ "optimizer_grad_clip_norm": 1.0,
108
+ "scheduler_warmup_steps": 200,
109
+ "scheduler_decay_steps": 40180,
110
+ "scheduler_decay_lr": 1e-06,
111
+ "normalization_mapping": {
112
+ "ACTION": "MIN_MAX",
113
+ "STATE": "MIN_MAX",
114
+ "VISUAL": "IDENTITY"
115
+ },
116
+ "dataset_feature_names": {
117
+ "action": [
118
+ "shoulder_pan.pos",
119
+ "shoulder_lift.pos",
120
+ "elbow_flex.pos",
121
+ "wrist_flex.pos",
122
+ "wrist_roll.pos",
123
+ "gripper.pos"
124
+ ],
125
+ "observation.state": [
126
+ "shoulder_pan.pos",
127
+ "shoulder_lift.pos",
128
+ "elbow_flex.pos",
129
+ "wrist_flex.pos",
130
+ "wrist_roll.pos",
131
+ "gripper.pos"
132
+ ]
133
+ }
134
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:455bf879b37b297c3450bfb87ad6bd964cde1d219eb59fe3db841b2d3123d5bc
3
+ size 10884573720
policy_postprocessor.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "molmoact2_clamp_action",
6
+ "config": {}
7
+ },
8
+ {
9
+ "registry_name": "molmoact2_masked_unnormalizer",
10
+ "config": {
11
+ "eps": 1e-08,
12
+ "features": {
13
+ "action": {
14
+ "type": "ACTION",
15
+ "shape": [
16
+ 6
17
+ ]
18
+ }
19
+ },
20
+ "norm_map": {
21
+ "ACTION": "MIN_MAX",
22
+ "STATE": "MIN_MAX",
23
+ "VISUAL": "IDENTITY"
24
+ }
25
+ },
26
+ "state_file": "policy_postprocessor_step_1_molmoact2_masked_unnormalizer.safetensors"
27
+ },
28
+ {
29
+ "registry_name": "molmoact2_action_frame_transform",
30
+ "config": {
31
+ "joint_signs": null,
32
+ "joint_offsets": null
33
+ }
34
+ },
35
+ {
36
+ "registry_name": "device_processor",
37
+ "config": {
38
+ "device": "cpu",
39
+ "float_dtype": null
40
+ }
41
+ }
42
+ ]
43
+ }
policy_postprocessor_step_1_molmoact2_masked_unnormalizer.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5319037e3cc98511949702305403b5530d4fa3a3b89da3b2eedd9c08c9c3a01
3
+ size 9576
policy_preprocessor.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "molmoact2_state_frame_transform",
16
+ "config": {
17
+ "joint_signs": null,
18
+ "joint_offsets": null
19
+ }
20
+ },
21
+ {
22
+ "registry_name": "molmoact2_masked_normalizer",
23
+ "config": {
24
+ "eps": 1e-08,
25
+ "features": {
26
+ "observation.images.middle": {
27
+ "type": "VISUAL",
28
+ "shape": [
29
+ 3,
30
+ 480,
31
+ 640
32
+ ]
33
+ },
34
+ "observation.images.wrist": {
35
+ "type": "VISUAL",
36
+ "shape": [
37
+ 3,
38
+ 480,
39
+ 640
40
+ ]
41
+ },
42
+ "observation.state": {
43
+ "type": "STATE",
44
+ "shape": [
45
+ 6
46
+ ]
47
+ },
48
+ "action": {
49
+ "type": "ACTION",
50
+ "shape": [
51
+ 6
52
+ ]
53
+ }
54
+ },
55
+ "norm_map": {
56
+ "ACTION": "MIN_MAX",
57
+ "STATE": "MIN_MAX",
58
+ "VISUAL": "IDENTITY"
59
+ }
60
+ },
61
+ "state_file": "policy_preprocessor_step_3_molmoact2_masked_normalizer.safetensors"
62
+ },
63
+ {
64
+ "registry_name": "molmoact2_clamp_normalized",
65
+ "config": {}
66
+ },
67
+ {
68
+ "registry_name": "molmoact2_pack_inputs",
69
+ "config": {
70
+ "checkpoint_path": "allenai/MolmoAct2",
71
+ "checkpoint_revision": "e432d85f6e039edca44afb93c262f3084ab72a9c",
72
+ "checkpoint_force_download": false,
73
+ "action_mode": "continuous",
74
+ "discrete_action_tokenizer": "allenai/MolmoAct2-FAST-Tokenizer",
75
+ "image_keys": [
76
+ "observation.images.middle",
77
+ "observation.images.wrist"
78
+ ],
79
+ "allow_image_key_fallback": false,
80
+ "setup_type": "single so100/so101 robotic arm in molmoact2",
81
+ "control_mode": "absolute joint pose",
82
+ "normalize_language": true,
83
+ "add_setup_tokens": true,
84
+ "add_control_tokens": true,
85
+ "num_state_tokens": 256,
86
+ "max_sequence_length": null,
87
+ "chunk_size": 30,
88
+ "max_action_dim": 32,
89
+ "env_action_dim": 6
90
+ }
91
+ },
92
+ {
93
+ "registry_name": "device_processor",
94
+ "config": {
95
+ "device": "cuda",
96
+ "float_dtype": null
97
+ }
98
+ }
99
+ ]
100
+ }
policy_preprocessor_step_3_molmoact2_masked_normalizer.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28f6f65f9f5fbe2b14bcc6ccda1ddbf3260869482edcb4d72effb76fcbb6f264
3
+ size 9584
train_config.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "mattpidden/500eps-endeffector-trace-dataset",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": "1b03652351fcc49bca0d12a0da66b8843e05fe06",
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "pyav",
80
+ "return_uint8": false,
81
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "molmoact2",
88
+ "n_obs_steps": 1,
89
+ "input_features": {
90
+ "observation.images.middle": {
91
+ "type": "VISUAL",
92
+ "shape": [
93
+ 3,
94
+ 480,
95
+ 640
96
+ ]
97
+ },
98
+ "observation.images.wrist": {
99
+ "type": "VISUAL",
100
+ "shape": [
101
+ 3,
102
+ 480,
103
+ 640
104
+ ]
105
+ },
106
+ "observation.state": {
107
+ "type": "STATE",
108
+ "shape": [
109
+ 6
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 6
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": true,
125
+ "repo_id": "justintiensmith/molmoact2_500eps_endeffector_trace",
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": "/projects/u6ph/jtiensmith.u6ph/outputs/molmoact2_500eps_endeffector_trace_6158640/checkpoints/last/pretrained_model",
130
+ "pretrained_revision": null,
131
+ "checkpoint_path": "allenai/MolmoAct2",
132
+ "checkpoint_revision": "e432d85f6e039edca44afb93c262f3084ab72a9c",
133
+ "checkpoint_force_download": false,
134
+ "chunk_size": 30,
135
+ "n_action_steps": 30,
136
+ "action_mode": "continuous",
137
+ "inference_action_mode": "continuous",
138
+ "discrete_action_tokenizer": "allenai/MolmoAct2-FAST-Tokenizer",
139
+ "discrete_generation_max_steps": null,
140
+ "norm_tag": null,
141
+ "setup_type": "single so100/so101 robotic arm in molmoact2",
142
+ "control_mode": "absolute joint pose",
143
+ "image_keys": [
144
+ "observation.images.middle",
145
+ "observation.images.wrist"
146
+ ],
147
+ "normalize_language": true,
148
+ "add_setup_tokens": true,
149
+ "add_control_tokens": true,
150
+ "normalize_gripper": true,
151
+ "num_state_tokens": 256,
152
+ "max_sequence_length": null,
153
+ "expected_max_action_dim": 32,
154
+ "num_flow_timesteps": 8,
155
+ "flow_matching_cutoff": 1.0,
156
+ "flow_matching_time_offset": 0.001,
157
+ "flow_matching_time_scale": 0.999,
158
+ "flow_matching_beta_alpha": 1.0,
159
+ "flow_matching_beta_beta": 1.5,
160
+ "num_inference_steps": null,
161
+ "mask_action_dim_padding": true,
162
+ "enable_inference_cuda_graph": true,
163
+ "per_episode_seed": false,
164
+ "eval_seed": null,
165
+ "rtc_config": null,
166
+ "joint_signs": null,
167
+ "joint_offsets": null,
168
+ "enable_lora_vlm": false,
169
+ "lora_rank": 64,
170
+ "lora_alpha": 16,
171
+ "lora_dropout": 0.05,
172
+ "lora_bias": "none",
173
+ "enable_lora_action_expert": false,
174
+ "enable_knowledge_insulation": false,
175
+ "freeze_embedding": true,
176
+ "train_action_expert_only": false,
177
+ "gradient_checkpointing": true,
178
+ "model_dtype": "bfloat16",
179
+ "softmax_auxiliary_loss": true,
180
+ "softmax_auxiliary_loss_scale": 0.0001,
181
+ "discrete_loss_token_weighting": "root_subsegments_root_tokens",
182
+ "optimizer_lr": 1e-05,
183
+ "optimizer_vit_lr": 5e-06,
184
+ "optimizer_connector_lr": 5e-06,
185
+ "optimizer_action_expert_lr": 5e-05,
186
+ "optimizer_betas": [
187
+ 0.9,
188
+ 0.95
189
+ ],
190
+ "optimizer_eps": 1e-06,
191
+ "optimizer_weight_decay": 0.0,
192
+ "optimizer_grad_clip_norm": 1.0,
193
+ "scheduler_warmup_steps": 200,
194
+ "scheduler_decay_steps": 40180,
195
+ "scheduler_decay_lr": 1e-06,
196
+ "normalization_mapping": {
197
+ "ACTION": "MIN_MAX",
198
+ "STATE": "MIN_MAX",
199
+ "VISUAL": "IDENTITY"
200
+ },
201
+ "dataset_feature_names": {
202
+ "action": [
203
+ "shoulder_pan.pos",
204
+ "shoulder_lift.pos",
205
+ "elbow_flex.pos",
206
+ "wrist_flex.pos",
207
+ "wrist_roll.pos",
208
+ "gripper.pos"
209
+ ],
210
+ "observation.state": [
211
+ "shoulder_pan.pos",
212
+ "shoulder_lift.pos",
213
+ "elbow_flex.pos",
214
+ "wrist_flex.pos",
215
+ "wrist_roll.pos",
216
+ "gripper.pos"
217
+ ]
218
+ }
219
+ },
220
+ "reward_model": null,
221
+ "output_dir": "/projects/u6ph/jtiensmith.u6ph/outputs/molmoact2_500eps_endeffector_trace_6158640",
222
+ "job_name": "molmoact2_500eps_endeffector_trace_6158640",
223
+ "resume": true,
224
+ "seed": 1000,
225
+ "cudnn_deterministic": false,
226
+ "num_workers": 8,
227
+ "batch_size": 24,
228
+ "prefetch_factor": 4,
229
+ "persistent_workers": true,
230
+ "steps": 40180,
231
+ "env_eval_freq": 0,
232
+ "log_freq": 100,
233
+ "eval_steps": 0,
234
+ "max_eval_samples": 0,
235
+ "tolerance_s": 0.0001,
236
+ "save_checkpoint": true,
237
+ "save_freq": 1435,
238
+ "use_policy_training_preset": true,
239
+ "optimizer": {
240
+ "type": "adamw",
241
+ "lr": 1e-05,
242
+ "weight_decay": 0.0,
243
+ "grad_clip_norm": 1.0,
244
+ "betas": [
245
+ 0.9,
246
+ 0.95
247
+ ],
248
+ "eps": 1e-06
249
+ },
250
+ "scheduler": {
251
+ "type": "cosine_decay_with_warmup",
252
+ "num_warmup_steps": 200,
253
+ "num_decay_steps": 40180,
254
+ "peak_lr": 1e-05,
255
+ "decay_lr": 1e-06
256
+ },
257
+ "eval": {
258
+ "n_episodes": 50,
259
+ "batch_size": 50,
260
+ "use_async_envs": true,
261
+ "recording": false,
262
+ "recording_repo_id": null,
263
+ "recording_private": false
264
+ },
265
+ "wandb": {
266
+ "enable": true,
267
+ "disable_artifact": true,
268
+ "project": "lerobot",
269
+ "entity": null,
270
+ "notes": null,
271
+ "run_id": "molmoact2_500eps_endeffector_trace_6158640",
272
+ "mode": null,
273
+ "add_tags": true
274
+ },
275
+ "peft": null,
276
+ "job": {
277
+ "target": null,
278
+ "image": "huggingface/lerobot-gpu:latest",
279
+ "timeout": "2d",
280
+ "detach": false,
281
+ "tags": []
282
+ },
283
+ "save_checkpoint_to_hub": false,
284
+ "sample_weighting": null,
285
+ "rename_map": {},
286
+ "checkpoint_path": "/projects/u6ph/jtiensmith.u6ph/outputs/molmoact2_500eps_endeffector_trace_6158640/checkpoints/last"
287
+ }