Vertax commited on
Commit
356875f
·
verified ·
1 Parent(s): 66b9b12

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. train_config.json +4 -4
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: Vertax/bi_arx5_pick_and_place_cube
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: diffusion
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - diffusion
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for diffusion
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ [Diffusion Policy](https://huggingface.co/papers/2303.04137) treats visuomotor control as a generative diffusion process, producing smooth, multi-step action trajectories that excel at contact-rich manipulation.
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json CHANGED
@@ -48,7 +48,7 @@
48
  },
49
  "device": "cuda",
50
  "use_amp": false,
51
- "push_to_hub": false,
52
  "repo_id": "Vertax/diffusion_bi_arx5_pick_and_place_cube",
53
  "private": null,
54
  "tags": null,
 
48
  },
49
  "device": "cuda",
50
  "use_amp": false,
51
+ "push_to_hub": true,
52
  "repo_id": "Vertax/diffusion_bi_arx5_pick_and_place_cube",
53
  "private": null,
54
  "tags": null,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5e3f50b0ffcda0ef183839fcf8504a7ae876f81f06e5f106b6a4d156c1233bf
3
  size 1083148024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eac48f9283c1747b1a7071401dfb9e01488a28cc8a148b45635c75800a0dc5b
3
  size 1083148024
train_config.json CHANGED
@@ -115,7 +115,7 @@
115
  },
116
  "device": "cuda",
117
  "use_amp": false,
118
- "push_to_hub": false,
119
  "repo_id": "Vertax/diffusion_bi_arx5_pick_and_place_cube",
120
  "private": null,
121
  "tags": null,
@@ -167,7 +167,7 @@
167
  "resume": false,
168
  "seed": 1000,
169
  "num_workers": 4,
170
- "batch_size": 8,
171
  "steps": 100000,
172
  "eval_freq": 20000,
173
  "log_freq": 200,
@@ -197,11 +197,11 @@
197
  },
198
  "wandb": {
199
  "enable": true,
200
- "disable_artifact": false,
201
  "project": "lerobot",
202
  "entity": null,
203
  "notes": null,
204
- "run_id": "venub1z7",
205
  "mode": null
206
  }
207
  }
 
115
  },
116
  "device": "cuda",
117
  "use_amp": false,
118
+ "push_to_hub": true,
119
  "repo_id": "Vertax/diffusion_bi_arx5_pick_and_place_cube",
120
  "private": null,
121
  "tags": null,
 
167
  "resume": false,
168
  "seed": 1000,
169
  "num_workers": 4,
170
+ "batch_size": 16,
171
  "steps": 100000,
172
  "eval_freq": 20000,
173
  "log_freq": 200,
 
197
  },
198
  "wandb": {
199
  "enable": true,
200
+ "disable_artifact": true,
201
  "project": "lerobot",
202
  "entity": null,
203
  "notes": null,
204
+ "run_id": "vstek0qa",
205
  "mode": null
206
  }
207
  }