Instructions to use Dimios45/dp_tactile_charger_50ep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Dimios45/dp_tactile_charger_50ep with LeRobot:
- Notebooks
- Google Colab
- Kaggle
final checkpoint (114.4 epochs) + model card
Browse files- README.md +107 -0
- config.json +116 -0
- model.safetensors +3 -0
- policy_postprocessor.json +33 -0
- policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- policy_preprocessor.json +72 -0
- policy_preprocessor_step_3_normalizer_processor.safetensors +3 -0
- train_config.json +252 -0
README.md
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: lerobot
|
| 4 |
+
tags: [robotics, lerobot, diffusion, tactile, manipulation]
|
| 5 |
+
datasets: [aryankakad/tactile_charger_inserting]
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# dp_tactile_charger_50ep
|
| 9 |
+
|
| 10 |
+
**Diffusion** policy — **vision + tactile** — trained on **50 episodes**.
|
| 11 |
+
|
| 12 |
+
Task: *grab and remove the charger from the socket and put it in the black box*
|
| 13 |
+
|
| 14 |
+
Trained with [LeFlexiTac](https://github.com/TNA001-AI/lerobot_tactile), a LeRobot fork adding
|
| 15 |
+
FlexiTac tactile sensing. Docs: <https://tna001-ai.github.io/LeFlexiTac/docs.html>
|
| 16 |
+
|
| 17 |
+
## Training data
|
| 18 |
+
|
| 19 |
+
| | |
|
| 20 |
+
|---|---|
|
| 21 |
+
| dataset | [`aryankakad/tactile_charger_inserting`](https://huggingface.co/datasets/aryankakad/tactile_charger_inserting) |
|
| 22 |
+
| episodes | 50 (all) |
|
| 23 |
+
| frames | 27,973 @ 30 fps |
|
| 24 |
+
| cameras | `observation.images.top`, `observation.images.gripper` (224×224) |
|
| 25 |
+
| tactile | `observation.tactile.primary` (12×32) |
|
| 26 |
+
| state / action | 6-DoF SO-100 follower |
|
| 27 |
+
|
| 28 |
+
## Configuration
|
| 29 |
+
|
| 30 |
+
| | |
|
| 31 |
+
|---|---|
|
| 32 |
+
| steps | 200,000 |
|
| 33 |
+
| batch size | 16 |
|
| 34 |
+
| **epochs** | **114.4** |
|
| 35 |
+
| `horizon` | `16` |
|
| 36 |
+
| `n_obs_steps` | `2` |
|
| 37 |
+
| `n_action_steps` | `8` |
|
| 38 |
+
| `frame_stride` | `3` |
|
| 39 |
+
| `resize_shape` | `[144, 192]` |
|
| 40 |
+
| `crop_is_random` | `True` |
|
| 41 |
+
| `optimizer_lr` | `0.0001` |
|
| 42 |
+
| `use_amp` | `True` |
|
| 43 |
+
| `n_tactile_chunks` | `1` |
|
| 44 |
+
| `tactile_feature_dim` | `64` |
|
| 45 |
+
|
| 46 |
+
Every model in this series is **epoch-matched at ~114.4 epochs**, so dataset size and
|
| 47 |
+
sensor modality are the only variables across the set.
|
| 48 |
+
|
| 49 |
+
## Training command actually used
|
| 50 |
+
|
| 51 |
+
Run on 1× AMD Instinct MI300X (ROCm 6.2.4). `HIP_VISIBLE_DEVICES` selected the GPU,
|
| 52 |
+
so `--policy.device=cuda` refers to that single card.
|
| 53 |
+
|
| 54 |
+
**Initial run:**
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
python -u -m lerobot.scripts.lerobot_train \
|
| 58 |
+
--dataset.repo_id=aryankakad/tactile_charger_inserting \
|
| 59 |
+
--policy.type=diffusion \
|
| 60 |
+
--policy.use_tactile=true \
|
| 61 |
+
--policy.tactile_features='["observation.tactile.primary"]' \
|
| 62 |
+
--policy.n_tactile_chunks=1 \
|
| 63 |
+
--policy.tactile_feature_dim=64 \
|
| 64 |
+
--policy.crop_is_random=true \
|
| 65 |
+
--policy.resize_shape='[144,192]' \
|
| 66 |
+
--policy.use_amp=true \
|
| 67 |
+
--policy.frame_stride=3 \
|
| 68 |
+
--policy.repo_id=Dimios45/dp_tactile_charger_inserting \
|
| 69 |
+
--policy.private=true \
|
| 70 |
+
--policy.device=cuda \
|
| 71 |
+
--output_dir=outputs/train/dp_tactile_charger_inserting \
|
| 72 |
+
--job_name=dp_tactile_charger_inserting \
|
| 73 |
+
--batch_size=16 \
|
| 74 |
+
--num_workers=8 \
|
| 75 |
+
--steps=200000 \
|
| 76 |
+
--save_freq=40000 \
|
| 77 |
+
--wandb.enable=true
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
**Resumed** (the first run was interrupted; resumed from its last checkpoint):
|
| 81 |
+
|
| 82 |
+
```bash
|
| 83 |
+
python -u -m lerobot.scripts.lerobot_train \
|
| 84 |
+
--config_path=outputs/train/dp_tactile_charger_inserting/checkpoints/last/pretrained_model/train_config.json \
|
| 85 |
+
--resume=true
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
## Evaluation / rollout
|
| 89 |
+
|
| 90 |
+
Not run here — this machine has no robot attached. To evaluate, run on the machine with the
|
| 91 |
+
SO-100 and sensors, loading the policy with `--policy.path=Dimios45/dp_tactile_charger_50ep`.
|
| 92 |
+
|
| 93 |
+
Reference: the `lerobot-record` eval invocations in
|
| 94 |
+
[`tactile_cmd.txt`](https://github.com/TNA001-AI/lerobot_tactile/blob/main/tactile_cmd.txt)
|
| 95 |
+
and the [project docs](https://tna001-ai.github.io/LeFlexiTac/docs.html). You will need to
|
| 96 |
+
supply your own robot port, camera serials, and a `primary` tactile sensor entry matching training.
|
| 97 |
+
|
| 98 |
+
## Notes
|
| 99 |
+
|
| 100 |
+
- Two ROCm-specific fixes were required in the fork: `persistent_workers=True` on the
|
| 101 |
+
dataloader (epoch boundaries otherwise stalled ~410 s each), and keeping
|
| 102 |
+
`cudnn.benchmark` **off** (on ROCm it triggers an exhaustive MIOpen search that can
|
| 103 |
+
precede step 1 by hours).
|
| 104 |
+
- Training loss is **not** a proxy for task success. Compare policies by rollout success
|
| 105 |
+
rate, especially on contact-rich phases.
|
| 106 |
+
- The source dataset's task string is labelled `stack cup` — a mislabel carried over from
|
| 107 |
+
an earlier session. It does not affect Diffusion, which is not language-conditioned.
|
config.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "diffusion",
|
| 3 |
+
"n_obs_steps": 2,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.state": {
|
| 6 |
+
"type": "STATE",
|
| 7 |
+
"shape": [
|
| 8 |
+
6
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
"observation.images.gripper": {
|
| 12 |
+
"type": "VISUAL",
|
| 13 |
+
"shape": [
|
| 14 |
+
3,
|
| 15 |
+
224,
|
| 16 |
+
224
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"observation.images.top": {
|
| 20 |
+
"type": "VISUAL",
|
| 21 |
+
"shape": [
|
| 22 |
+
3,
|
| 23 |
+
224,
|
| 24 |
+
224
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
"observation.tactile.primary": {
|
| 28 |
+
"type": "STATE",
|
| 29 |
+
"shape": [
|
| 30 |
+
12,
|
| 31 |
+
32
|
| 32 |
+
]
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"output_features": {
|
| 36 |
+
"action": {
|
| 37 |
+
"type": "ACTION",
|
| 38 |
+
"shape": [
|
| 39 |
+
6
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
"device": "cuda",
|
| 44 |
+
"use_amp": true,
|
| 45 |
+
"use_peft": false,
|
| 46 |
+
"push_to_hub": true,
|
| 47 |
+
"repo_id": "Dimios45/dp_tactile_charger_inserting",
|
| 48 |
+
"private": true,
|
| 49 |
+
"tags": null,
|
| 50 |
+
"license": null,
|
| 51 |
+
"pretrained_path": "outputs/train/dp_tactile_charger_inserting/checkpoints/last/pretrained_model",
|
| 52 |
+
"horizon": 16,
|
| 53 |
+
"n_action_steps": 8,
|
| 54 |
+
"frame_stride": 3,
|
| 55 |
+
"normalization_mapping": {
|
| 56 |
+
"VISUAL": "MEAN_STD",
|
| 57 |
+
"STATE": "MIN_MAX",
|
| 58 |
+
"ACTION": "MIN_MAX",
|
| 59 |
+
"TACTILE": "MEAN_STD"
|
| 60 |
+
},
|
| 61 |
+
"drop_n_last_frames": 21,
|
| 62 |
+
"vision_backbone": "resnet18",
|
| 63 |
+
"resize_shape": [
|
| 64 |
+
144,
|
| 65 |
+
192
|
| 66 |
+
],
|
| 67 |
+
"crop_ratio": 1.0,
|
| 68 |
+
"crop_shape": null,
|
| 69 |
+
"crop_is_random": true,
|
| 70 |
+
"pretrained_backbone_weights": null,
|
| 71 |
+
"use_group_norm": true,
|
| 72 |
+
"spatial_softmax_num_keypoints": 32,
|
| 73 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 74 |
+
"down_dims": [
|
| 75 |
+
512,
|
| 76 |
+
1024,
|
| 77 |
+
2048
|
| 78 |
+
],
|
| 79 |
+
"kernel_size": 5,
|
| 80 |
+
"n_groups": 8,
|
| 81 |
+
"diffusion_step_embed_dim": 128,
|
| 82 |
+
"use_film_scale_modulation": true,
|
| 83 |
+
"noise_scheduler_type": "DDPM",
|
| 84 |
+
"num_train_timesteps": 100,
|
| 85 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 86 |
+
"beta_start": 0.0001,
|
| 87 |
+
"beta_end": 0.02,
|
| 88 |
+
"prediction_type": "epsilon",
|
| 89 |
+
"clip_sample": true,
|
| 90 |
+
"clip_sample_range": 1.0,
|
| 91 |
+
"num_inference_steps": null,
|
| 92 |
+
"compile_model": false,
|
| 93 |
+
"compile_mode": "reduce-overhead",
|
| 94 |
+
"do_mask_loss_for_padding": false,
|
| 95 |
+
"use_tactile": true,
|
| 96 |
+
"tactile_encoder_type": "cnn",
|
| 97 |
+
"tactile_input_shape": [
|
| 98 |
+
12,
|
| 99 |
+
32
|
| 100 |
+
],
|
| 101 |
+
"tactile_dropout": 0.3,
|
| 102 |
+
"tactile_feature_dim": 64,
|
| 103 |
+
"tactile_features": [
|
| 104 |
+
"observation.tactile.primary"
|
| 105 |
+
],
|
| 106 |
+
"n_tactile_chunks": 1,
|
| 107 |
+
"optimizer_lr": 0.0001,
|
| 108 |
+
"optimizer_betas": [
|
| 109 |
+
0.95,
|
| 110 |
+
0.999
|
| 111 |
+
],
|
| 112 |
+
"optimizer_eps": 1e-08,
|
| 113 |
+
"optimizer_weight_decay": 1e-06,
|
| 114 |
+
"scheduler_name": "cosine",
|
| 115 |
+
"scheduler_warmup_steps": 500
|
| 116 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65f3e3a903e52bf6bb78aad20f44b2a15fc8943122e337a8c37304d9b45dfd42
|
| 3 |
+
size 1082755728
|
policy_postprocessor.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_postprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "unnormalizer_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"eps": 1e-08,
|
| 8 |
+
"features": {
|
| 9 |
+
"action": {
|
| 10 |
+
"type": "ACTION",
|
| 11 |
+
"shape": [
|
| 12 |
+
6
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"norm_map": {
|
| 17 |
+
"VISUAL": "MEAN_STD",
|
| 18 |
+
"STATE": "MIN_MAX",
|
| 19 |
+
"ACTION": "MIN_MAX",
|
| 20 |
+
"TACTILE": "MEAN_STD"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"registry_name": "device_processor",
|
| 27 |
+
"config": {
|
| 28 |
+
"device": "cpu",
|
| 29 |
+
"float_dtype": null
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
]
|
| 33 |
+
}
|
policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44d4d7be9139b14b3b0810abf88febcbcc7f3862b89e7f2783278919aab3e232
|
| 3 |
+
size 9644
|
policy_preprocessor.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "device_processor",
|
| 16 |
+
"config": {
|
| 17 |
+
"device": "cuda",
|
| 18 |
+
"float_dtype": null
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"registry_name": "normalizer_processor",
|
| 23 |
+
"config": {
|
| 24 |
+
"eps": 1e-08,
|
| 25 |
+
"features": {
|
| 26 |
+
"observation.state": {
|
| 27 |
+
"type": "STATE",
|
| 28 |
+
"shape": [
|
| 29 |
+
6
|
| 30 |
+
]
|
| 31 |
+
},
|
| 32 |
+
"observation.images.gripper": {
|
| 33 |
+
"type": "VISUAL",
|
| 34 |
+
"shape": [
|
| 35 |
+
3,
|
| 36 |
+
224,
|
| 37 |
+
224
|
| 38 |
+
]
|
| 39 |
+
},
|
| 40 |
+
"observation.images.top": {
|
| 41 |
+
"type": "VISUAL",
|
| 42 |
+
"shape": [
|
| 43 |
+
3,
|
| 44 |
+
224,
|
| 45 |
+
224
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"observation.tactile.primary": {
|
| 49 |
+
"type": "STATE",
|
| 50 |
+
"shape": [
|
| 51 |
+
12,
|
| 52 |
+
32
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
"action": {
|
| 56 |
+
"type": "ACTION",
|
| 57 |
+
"shape": [
|
| 58 |
+
6
|
| 59 |
+
]
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"norm_map": {
|
| 63 |
+
"VISUAL": "MEAN_STD",
|
| 64 |
+
"STATE": "MIN_MAX",
|
| 65 |
+
"ACTION": "MIN_MAX",
|
| 66 |
+
"TACTILE": "MEAN_STD"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
|
| 70 |
+
}
|
| 71 |
+
]
|
| 72 |
+
}
|
policy_preprocessor_step_3_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44d4d7be9139b14b3b0810abf88febcbcc7f3862b89e7f2783278919aab3e232
|
| 3 |
+
size 9644
|
train_config.json
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "aryankakad/tactile_charger_inserting",
|
| 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": null,
|
| 78 |
+
"use_imagenet_stats": true,
|
| 79 |
+
"video_backend": "torchcodec",
|
| 80 |
+
"streaming": false
|
| 81 |
+
},
|
| 82 |
+
"env": null,
|
| 83 |
+
"policy": {
|
| 84 |
+
"type": "diffusion",
|
| 85 |
+
"n_obs_steps": 2,
|
| 86 |
+
"input_features": {
|
| 87 |
+
"observation.state": {
|
| 88 |
+
"type": "STATE",
|
| 89 |
+
"shape": [
|
| 90 |
+
6
|
| 91 |
+
]
|
| 92 |
+
},
|
| 93 |
+
"observation.images.gripper": {
|
| 94 |
+
"type": "VISUAL",
|
| 95 |
+
"shape": [
|
| 96 |
+
3,
|
| 97 |
+
224,
|
| 98 |
+
224
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
"observation.images.top": {
|
| 102 |
+
"type": "VISUAL",
|
| 103 |
+
"shape": [
|
| 104 |
+
3,
|
| 105 |
+
224,
|
| 106 |
+
224
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
"observation.tactile.primary": {
|
| 110 |
+
"type": "STATE",
|
| 111 |
+
"shape": [
|
| 112 |
+
12,
|
| 113 |
+
32
|
| 114 |
+
]
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
"output_features": {
|
| 118 |
+
"action": {
|
| 119 |
+
"type": "ACTION",
|
| 120 |
+
"shape": [
|
| 121 |
+
6
|
| 122 |
+
]
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"device": "cuda",
|
| 126 |
+
"use_amp": true,
|
| 127 |
+
"use_peft": false,
|
| 128 |
+
"push_to_hub": true,
|
| 129 |
+
"repo_id": "Dimios45/dp_tactile_charger_inserting",
|
| 130 |
+
"private": true,
|
| 131 |
+
"tags": null,
|
| 132 |
+
"license": null,
|
| 133 |
+
"pretrained_path": "outputs/train/dp_tactile_charger_inserting/checkpoints/last/pretrained_model",
|
| 134 |
+
"horizon": 16,
|
| 135 |
+
"n_action_steps": 8,
|
| 136 |
+
"frame_stride": 3,
|
| 137 |
+
"normalization_mapping": {
|
| 138 |
+
"VISUAL": "MEAN_STD",
|
| 139 |
+
"STATE": "MIN_MAX",
|
| 140 |
+
"ACTION": "MIN_MAX",
|
| 141 |
+
"TACTILE": "MEAN_STD"
|
| 142 |
+
},
|
| 143 |
+
"drop_n_last_frames": 21,
|
| 144 |
+
"vision_backbone": "resnet18",
|
| 145 |
+
"resize_shape": [
|
| 146 |
+
144,
|
| 147 |
+
192
|
| 148 |
+
],
|
| 149 |
+
"crop_ratio": 1.0,
|
| 150 |
+
"crop_shape": null,
|
| 151 |
+
"crop_is_random": true,
|
| 152 |
+
"pretrained_backbone_weights": null,
|
| 153 |
+
"use_group_norm": true,
|
| 154 |
+
"spatial_softmax_num_keypoints": 32,
|
| 155 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 156 |
+
"down_dims": [
|
| 157 |
+
512,
|
| 158 |
+
1024,
|
| 159 |
+
2048
|
| 160 |
+
],
|
| 161 |
+
"kernel_size": 5,
|
| 162 |
+
"n_groups": 8,
|
| 163 |
+
"diffusion_step_embed_dim": 128,
|
| 164 |
+
"use_film_scale_modulation": true,
|
| 165 |
+
"noise_scheduler_type": "DDPM",
|
| 166 |
+
"num_train_timesteps": 100,
|
| 167 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 168 |
+
"beta_start": 0.0001,
|
| 169 |
+
"beta_end": 0.02,
|
| 170 |
+
"prediction_type": "epsilon",
|
| 171 |
+
"clip_sample": true,
|
| 172 |
+
"clip_sample_range": 1.0,
|
| 173 |
+
"num_inference_steps": null,
|
| 174 |
+
"compile_model": false,
|
| 175 |
+
"compile_mode": "reduce-overhead",
|
| 176 |
+
"do_mask_loss_for_padding": false,
|
| 177 |
+
"use_tactile": true,
|
| 178 |
+
"tactile_encoder_type": "cnn",
|
| 179 |
+
"tactile_input_shape": [
|
| 180 |
+
12,
|
| 181 |
+
32
|
| 182 |
+
],
|
| 183 |
+
"tactile_dropout": 0.3,
|
| 184 |
+
"tactile_feature_dim": 64,
|
| 185 |
+
"tactile_features": [
|
| 186 |
+
"observation.tactile.primary"
|
| 187 |
+
],
|
| 188 |
+
"n_tactile_chunks": 1,
|
| 189 |
+
"optimizer_lr": 0.0001,
|
| 190 |
+
"optimizer_betas": [
|
| 191 |
+
0.95,
|
| 192 |
+
0.999
|
| 193 |
+
],
|
| 194 |
+
"optimizer_eps": 1e-08,
|
| 195 |
+
"optimizer_weight_decay": 1e-06,
|
| 196 |
+
"scheduler_name": "cosine",
|
| 197 |
+
"scheduler_warmup_steps": 500
|
| 198 |
+
},
|
| 199 |
+
"output_dir": "outputs/train/dp_tactile_charger_inserting",
|
| 200 |
+
"job_name": "dp_tactile_charger_inserting",
|
| 201 |
+
"resume": true,
|
| 202 |
+
"seed": 1000,
|
| 203 |
+
"cudnn_deterministic": false,
|
| 204 |
+
"num_workers": 8,
|
| 205 |
+
"batch_size": 16,
|
| 206 |
+
"steps": 200000,
|
| 207 |
+
"eval_freq": 20000,
|
| 208 |
+
"log_freq": 200,
|
| 209 |
+
"tolerance_s": 0.0001,
|
| 210 |
+
"save_checkpoint": true,
|
| 211 |
+
"save_freq": 40000,
|
| 212 |
+
"use_policy_training_preset": true,
|
| 213 |
+
"optimizer": {
|
| 214 |
+
"type": "adam",
|
| 215 |
+
"lr": 0.0001,
|
| 216 |
+
"weight_decay": 1e-06,
|
| 217 |
+
"grad_clip_norm": 10.0,
|
| 218 |
+
"betas": [
|
| 219 |
+
0.95,
|
| 220 |
+
0.999
|
| 221 |
+
],
|
| 222 |
+
"eps": 1e-08
|
| 223 |
+
},
|
| 224 |
+
"scheduler": {
|
| 225 |
+
"type": "diffuser",
|
| 226 |
+
"num_warmup_steps": 500,
|
| 227 |
+
"name": "cosine"
|
| 228 |
+
},
|
| 229 |
+
"eval": {
|
| 230 |
+
"n_episodes": 50,
|
| 231 |
+
"batch_size": 50,
|
| 232 |
+
"use_async_envs": false
|
| 233 |
+
},
|
| 234 |
+
"wandb": {
|
| 235 |
+
"enable": true,
|
| 236 |
+
"disable_artifact": false,
|
| 237 |
+
"project": "lerobot",
|
| 238 |
+
"entity": null,
|
| 239 |
+
"notes": null,
|
| 240 |
+
"run_id": "mc1hb0so",
|
| 241 |
+
"mode": null,
|
| 242 |
+
"add_tags": true
|
| 243 |
+
},
|
| 244 |
+
"peft": null,
|
| 245 |
+
"use_rabc": false,
|
| 246 |
+
"rabc_progress_path": null,
|
| 247 |
+
"rabc_kappa": 0.01,
|
| 248 |
+
"rabc_epsilon": 1e-06,
|
| 249 |
+
"rabc_head_mode": "sparse",
|
| 250 |
+
"rename_map": {},
|
| 251 |
+
"checkpoint_path": "outputs/train/dp_tactile_charger_inserting/checkpoints/last"
|
| 252 |
+
}
|