Upload folder using huggingface_hub
Browse files- README.md +13 -0
- config.json +77 -0
- model.safetensors +3 -0
- train_config.json +188 -0
README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: lerobot
|
| 3 |
+
tags:
|
| 4 |
+
- diffusion-policy
|
| 5 |
+
- model_hub_mixin
|
| 6 |
+
- pytorch_model_hub_mixin
|
| 7 |
+
- robotics
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 11 |
+
- Code: https://github.com/huggingface/lerobot
|
| 12 |
+
- Paper: [More Information Needed]
|
| 13 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"beta_end": 0.02,
|
| 3 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 4 |
+
"beta_start": 0.0001,
|
| 5 |
+
"clip_sample": true,
|
| 6 |
+
"clip_sample_range": 1.0,
|
| 7 |
+
"crop_is_random": true,
|
| 8 |
+
"crop_shape": [
|
| 9 |
+
84,
|
| 10 |
+
84
|
| 11 |
+
],
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"diffusion_step_embed_dim": 128,
|
| 14 |
+
"do_mask_loss_for_padding": false,
|
| 15 |
+
"down_dims": [
|
| 16 |
+
512,
|
| 17 |
+
1024,
|
| 18 |
+
2048
|
| 19 |
+
],
|
| 20 |
+
"drop_n_last_frames": 7,
|
| 21 |
+
"horizon": 16,
|
| 22 |
+
"input_features": {
|
| 23 |
+
"observation.images.webcam": {
|
| 24 |
+
"shape": [
|
| 25 |
+
3,
|
| 26 |
+
480,
|
| 27 |
+
640
|
| 28 |
+
],
|
| 29 |
+
"type": "VISUAL"
|
| 30 |
+
},
|
| 31 |
+
"observation.state": {
|
| 32 |
+
"shape": [
|
| 33 |
+
6
|
| 34 |
+
],
|
| 35 |
+
"type": "STATE"
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"kernel_size": 5,
|
| 39 |
+
"n_action_steps": 8,
|
| 40 |
+
"n_groups": 8,
|
| 41 |
+
"n_obs_steps": 2,
|
| 42 |
+
"noise_scheduler_type": "DDPM",
|
| 43 |
+
"normalization_mapping": {
|
| 44 |
+
"ACTION": "MIN_MAX",
|
| 45 |
+
"STATE": "MIN_MAX",
|
| 46 |
+
"VISUAL": "MEAN_STD"
|
| 47 |
+
},
|
| 48 |
+
"num_inference_steps": null,
|
| 49 |
+
"num_train_timesteps": 100,
|
| 50 |
+
"optimizer_betas": [
|
| 51 |
+
0.95,
|
| 52 |
+
0.999
|
| 53 |
+
],
|
| 54 |
+
"optimizer_eps": 1e-08,
|
| 55 |
+
"optimizer_lr": 0.0001,
|
| 56 |
+
"optimizer_weight_decay": 1e-06,
|
| 57 |
+
"output_features": {
|
| 58 |
+
"action": {
|
| 59 |
+
"shape": [
|
| 60 |
+
6
|
| 61 |
+
],
|
| 62 |
+
"type": "ACTION"
|
| 63 |
+
}
|
| 64 |
+
},
|
| 65 |
+
"prediction_type": "epsilon",
|
| 66 |
+
"pretrained_backbone_weights": null,
|
| 67 |
+
"scheduler_name": "cosine",
|
| 68 |
+
"scheduler_warmup_steps": 500,
|
| 69 |
+
"spatial_softmax_num_keypoints": 32,
|
| 70 |
+
"training_noise_sampling": "uniform",
|
| 71 |
+
"use_amp": false,
|
| 72 |
+
"use_film_scale_modulation": true,
|
| 73 |
+
"use_flow_matching": true,
|
| 74 |
+
"use_group_norm": true,
|
| 75 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 76 |
+
"vision_backbone": "resnet18"
|
| 77 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d9992fe419cf033e819ce896083ec90836b4d2da44955dbd108bc061eac9b74
|
| 3 |
+
size 1051837392
|
train_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "jclinton1/wedgit_stack_single",
|
| 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 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"revision": null,
|
| 64 |
+
"use_imagenet_stats": true,
|
| 65 |
+
"video_backend": "torchcodec"
|
| 66 |
+
},
|
| 67 |
+
"env": null,
|
| 68 |
+
"policy": {
|
| 69 |
+
"type": "diffusion",
|
| 70 |
+
"n_obs_steps": 2,
|
| 71 |
+
"normalization_mapping": {
|
| 72 |
+
"VISUAL": "MEAN_STD",
|
| 73 |
+
"STATE": "MIN_MAX",
|
| 74 |
+
"ACTION": "MIN_MAX"
|
| 75 |
+
},
|
| 76 |
+
"input_features": {
|
| 77 |
+
"observation.state": {
|
| 78 |
+
"type": "STATE",
|
| 79 |
+
"shape": [
|
| 80 |
+
6
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
"observation.images.webcam": {
|
| 84 |
+
"type": "VISUAL",
|
| 85 |
+
"shape": [
|
| 86 |
+
3,
|
| 87 |
+
480,
|
| 88 |
+
640
|
| 89 |
+
]
|
| 90 |
+
}
|
| 91 |
+
},
|
| 92 |
+
"output_features": {
|
| 93 |
+
"action": {
|
| 94 |
+
"type": "ACTION",
|
| 95 |
+
"shape": [
|
| 96 |
+
6
|
| 97 |
+
]
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"device": "cuda",
|
| 101 |
+
"use_amp": false,
|
| 102 |
+
"horizon": 16,
|
| 103 |
+
"n_action_steps": 8,
|
| 104 |
+
"drop_n_last_frames": 7,
|
| 105 |
+
"vision_backbone": "resnet18",
|
| 106 |
+
"crop_shape": [
|
| 107 |
+
84,
|
| 108 |
+
84
|
| 109 |
+
],
|
| 110 |
+
"crop_is_random": true,
|
| 111 |
+
"pretrained_backbone_weights": null,
|
| 112 |
+
"use_group_norm": true,
|
| 113 |
+
"spatial_softmax_num_keypoints": 32,
|
| 114 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 115 |
+
"down_dims": [
|
| 116 |
+
512,
|
| 117 |
+
1024,
|
| 118 |
+
2048
|
| 119 |
+
],
|
| 120 |
+
"kernel_size": 5,
|
| 121 |
+
"n_groups": 8,
|
| 122 |
+
"diffusion_step_embed_dim": 128,
|
| 123 |
+
"use_film_scale_modulation": true,
|
| 124 |
+
"noise_scheduler_type": "DDPM",
|
| 125 |
+
"num_train_timesteps": 100,
|
| 126 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 127 |
+
"beta_start": 0.0001,
|
| 128 |
+
"beta_end": 0.02,
|
| 129 |
+
"prediction_type": "epsilon",
|
| 130 |
+
"clip_sample": true,
|
| 131 |
+
"clip_sample_range": 1.0,
|
| 132 |
+
"training_noise_sampling": "uniform",
|
| 133 |
+
"use_flow_matching": true,
|
| 134 |
+
"num_inference_steps": null,
|
| 135 |
+
"do_mask_loss_for_padding": false,
|
| 136 |
+
"optimizer_lr": 0.0001,
|
| 137 |
+
"optimizer_betas": [
|
| 138 |
+
0.95,
|
| 139 |
+
0.999
|
| 140 |
+
],
|
| 141 |
+
"optimizer_eps": 1e-08,
|
| 142 |
+
"optimizer_weight_decay": 1e-06,
|
| 143 |
+
"scheduler_name": "cosine",
|
| 144 |
+
"scheduler_warmup_steps": 500
|
| 145 |
+
},
|
| 146 |
+
"output_dir": "outputs/train/wedgit_stack_single",
|
| 147 |
+
"job_name": "wedgit_stack_single",
|
| 148 |
+
"resume": false,
|
| 149 |
+
"seed": 1000,
|
| 150 |
+
"num_workers": 8,
|
| 151 |
+
"batch_size": 16,
|
| 152 |
+
"steps": 100000,
|
| 153 |
+
"eval_freq": 20000,
|
| 154 |
+
"log_freq": 200,
|
| 155 |
+
"save_checkpoint": true,
|
| 156 |
+
"save_freq": 20000,
|
| 157 |
+
"use_policy_training_preset": true,
|
| 158 |
+
"optimizer": {
|
| 159 |
+
"type": "adam",
|
| 160 |
+
"lr": 0.0001,
|
| 161 |
+
"weight_decay": 1e-06,
|
| 162 |
+
"grad_clip_norm": 10.0,
|
| 163 |
+
"betas": [
|
| 164 |
+
0.95,
|
| 165 |
+
0.999
|
| 166 |
+
],
|
| 167 |
+
"eps": 1e-08
|
| 168 |
+
},
|
| 169 |
+
"scheduler": {
|
| 170 |
+
"type": "diffuser",
|
| 171 |
+
"num_warmup_steps": 500,
|
| 172 |
+
"name": "cosine"
|
| 173 |
+
},
|
| 174 |
+
"eval": {
|
| 175 |
+
"n_episodes": 50,
|
| 176 |
+
"batch_size": 50,
|
| 177 |
+
"use_async_envs": false
|
| 178 |
+
},
|
| 179 |
+
"wandb": {
|
| 180 |
+
"enable": true,
|
| 181 |
+
"disable_artifact": false,
|
| 182 |
+
"project": "wedgit_stack_single",
|
| 183 |
+
"entity": null,
|
| 184 |
+
"notes": null,
|
| 185 |
+
"run_id": null,
|
| 186 |
+
"mode": null
|
| 187 |
+
}
|
| 188 |
+
}
|