Upload folder using huggingface_hub
Browse files- README.md +9 -0
- config.json +53 -0
- config.yaml +148 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- pytorch_model_hub_mixin
|
| 4 |
+
- model_hub_mixin
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
+
- Library: [More Information Needed]
|
| 9 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"diffusion_step_embed_dim": 128,
|
| 13 |
+
"do_mask_loss_for_padding": false,
|
| 14 |
+
"down_dims": [
|
| 15 |
+
512,
|
| 16 |
+
1024,
|
| 17 |
+
2048
|
| 18 |
+
],
|
| 19 |
+
"horizon": 16,
|
| 20 |
+
"input_normalization_modes": {
|
| 21 |
+
"observation.environment_state": "min_max",
|
| 22 |
+
"observation.state": "min_max"
|
| 23 |
+
},
|
| 24 |
+
"input_shapes": {
|
| 25 |
+
"observation.environment_state": [
|
| 26 |
+
16
|
| 27 |
+
],
|
| 28 |
+
"observation.state": [
|
| 29 |
+
2
|
| 30 |
+
]
|
| 31 |
+
},
|
| 32 |
+
"kernel_size": 5,
|
| 33 |
+
"n_action_steps": 8,
|
| 34 |
+
"n_groups": 8,
|
| 35 |
+
"n_obs_steps": 2,
|
| 36 |
+
"noise_scheduler_type": "DDIM",
|
| 37 |
+
"num_inference_steps": 10,
|
| 38 |
+
"num_train_timesteps": 100,
|
| 39 |
+
"output_normalization_modes": {
|
| 40 |
+
"action": "min_max"
|
| 41 |
+
},
|
| 42 |
+
"output_shapes": {
|
| 43 |
+
"action": [
|
| 44 |
+
2
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"prediction_type": "epsilon",
|
| 48 |
+
"pretrained_backbone_weights": null,
|
| 49 |
+
"spatial_softmax_num_keypoints": 32,
|
| 50 |
+
"use_film_scale_modulation": true,
|
| 51 |
+
"use_group_norm": true,
|
| 52 |
+
"vision_backbone": "resnet18"
|
| 53 |
+
}
|
config.yaml
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
resume: false
|
| 2 |
+
device: cuda
|
| 3 |
+
use_amp: true
|
| 4 |
+
seed: 100000
|
| 5 |
+
dataset_repo_id: alexandersoare/pusht_keypoints_only
|
| 6 |
+
video_backend: pyav
|
| 7 |
+
training:
|
| 8 |
+
offline_steps: 200000
|
| 9 |
+
online_steps: 0
|
| 10 |
+
online_steps_between_rollouts: 1
|
| 11 |
+
online_sampling_ratio: 0.5
|
| 12 |
+
online_env_seed: ???
|
| 13 |
+
eval_freq: 10000
|
| 14 |
+
log_freq: 50
|
| 15 |
+
save_checkpoint: true
|
| 16 |
+
save_freq: 20000
|
| 17 |
+
num_workers: 4
|
| 18 |
+
batch_size: 64
|
| 19 |
+
image_transforms:
|
| 20 |
+
enable: false
|
| 21 |
+
max_num_transforms: 3
|
| 22 |
+
random_order: false
|
| 23 |
+
brightness:
|
| 24 |
+
weight: 1
|
| 25 |
+
min_max:
|
| 26 |
+
- 0.8
|
| 27 |
+
- 1.2
|
| 28 |
+
contrast:
|
| 29 |
+
weight: 1
|
| 30 |
+
min_max:
|
| 31 |
+
- 0.8
|
| 32 |
+
- 1.2
|
| 33 |
+
saturation:
|
| 34 |
+
weight: 1
|
| 35 |
+
min_max:
|
| 36 |
+
- 0.5
|
| 37 |
+
- 1.5
|
| 38 |
+
hue:
|
| 39 |
+
weight: 1
|
| 40 |
+
min_max:
|
| 41 |
+
- -0.05
|
| 42 |
+
- 0.05
|
| 43 |
+
sharpness:
|
| 44 |
+
weight: 1
|
| 45 |
+
min_max:
|
| 46 |
+
- 0.8
|
| 47 |
+
- 1.2
|
| 48 |
+
grad_clip_norm: 10
|
| 49 |
+
lr: 0.0001
|
| 50 |
+
lr_scheduler: cosine
|
| 51 |
+
lr_warmup_steps: 500
|
| 52 |
+
adam_betas:
|
| 53 |
+
- 0.95
|
| 54 |
+
- 0.999
|
| 55 |
+
adam_eps: 1.0e-08
|
| 56 |
+
adam_weight_decay: 1.0e-06
|
| 57 |
+
delta_timestamps:
|
| 58 |
+
observation.environment_state:
|
| 59 |
+
- -0.1
|
| 60 |
+
- 0.0
|
| 61 |
+
observation.state:
|
| 62 |
+
- -0.1
|
| 63 |
+
- 0.0
|
| 64 |
+
action:
|
| 65 |
+
- -0.1
|
| 66 |
+
- 0.0
|
| 67 |
+
- 0.1
|
| 68 |
+
- 0.2
|
| 69 |
+
- 0.3
|
| 70 |
+
- 0.4
|
| 71 |
+
- 0.5
|
| 72 |
+
- 0.6
|
| 73 |
+
- 0.7
|
| 74 |
+
- 0.8
|
| 75 |
+
- 0.9
|
| 76 |
+
- 1.0
|
| 77 |
+
- 1.1
|
| 78 |
+
- 1.2
|
| 79 |
+
- 1.3
|
| 80 |
+
- 1.4
|
| 81 |
+
drop_n_last_frames: 7
|
| 82 |
+
eval:
|
| 83 |
+
n_episodes: 50
|
| 84 |
+
batch_size: 50
|
| 85 |
+
use_async_envs: false
|
| 86 |
+
wandb:
|
| 87 |
+
enable: true
|
| 88 |
+
disable_artifact: true
|
| 89 |
+
project: lerobot
|
| 90 |
+
notes: ''
|
| 91 |
+
fps: 10
|
| 92 |
+
env:
|
| 93 |
+
name: pusht
|
| 94 |
+
task: PushT-v0
|
| 95 |
+
image_size: 96
|
| 96 |
+
state_dim: 2
|
| 97 |
+
action_dim: 2
|
| 98 |
+
fps: ${fps}
|
| 99 |
+
episode_length: 300
|
| 100 |
+
gym:
|
| 101 |
+
obs_type: environment_state_agent_pos
|
| 102 |
+
render_mode: rgb_array
|
| 103 |
+
visualization_width: 384
|
| 104 |
+
visualization_height: 384
|
| 105 |
+
policy:
|
| 106 |
+
name: diffusion
|
| 107 |
+
n_obs_steps: 2
|
| 108 |
+
horizon: 16
|
| 109 |
+
n_action_steps: 8
|
| 110 |
+
input_shapes:
|
| 111 |
+
observation.environment_state:
|
| 112 |
+
- 16
|
| 113 |
+
observation.state:
|
| 114 |
+
- ${env.state_dim}
|
| 115 |
+
output_shapes:
|
| 116 |
+
action:
|
| 117 |
+
- ${env.action_dim}
|
| 118 |
+
input_normalization_modes:
|
| 119 |
+
observation.environment_state: min_max
|
| 120 |
+
observation.state: min_max
|
| 121 |
+
output_normalization_modes:
|
| 122 |
+
action: min_max
|
| 123 |
+
vision_backbone: resnet18
|
| 124 |
+
crop_shape:
|
| 125 |
+
- 84
|
| 126 |
+
- 84
|
| 127 |
+
crop_is_random: true
|
| 128 |
+
pretrained_backbone_weights: null
|
| 129 |
+
use_group_norm: true
|
| 130 |
+
spatial_softmax_num_keypoints: 32
|
| 131 |
+
down_dims:
|
| 132 |
+
- 512
|
| 133 |
+
- 1024
|
| 134 |
+
- 2048
|
| 135 |
+
kernel_size: 5
|
| 136 |
+
n_groups: 8
|
| 137 |
+
diffusion_step_embed_dim: 128
|
| 138 |
+
use_film_scale_modulation: true
|
| 139 |
+
noise_scheduler_type: DDIM
|
| 140 |
+
num_train_timesteps: 100
|
| 141 |
+
beta_schedule: squaredcos_cap_v2
|
| 142 |
+
beta_start: 0.0001
|
| 143 |
+
beta_end: 0.02
|
| 144 |
+
prediction_type: epsilon
|
| 145 |
+
clip_sample: true
|
| 146 |
+
clip_sample_range: 1.0
|
| 147 |
+
num_inference_steps: 10
|
| 148 |
+
do_mask_loss_for_padding: false
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae40aa87dd124ee1e4914258049f4eac676345a28e6cb8dfcfa67830cc3246b0
|
| 3 |
+
size 995056568
|