Upload folder using huggingface_hub
Browse files- README.md +9 -0
- config.json +49 -0
- config.yaml +134 -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,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"action_chunk_size": 2,
|
3 |
+
"bet_softmax_temperature": 0.1,
|
4 |
+
"crop_is_random": true,
|
5 |
+
"crop_shape": [
|
6 |
+
84,
|
7 |
+
84
|
8 |
+
],
|
9 |
+
"dropout": 0.1,
|
10 |
+
"gpt_block_size": 500,
|
11 |
+
"gpt_hidden_dim": 256,
|
12 |
+
"gpt_input_dim": 128,
|
13 |
+
"gpt_n_head": 4,
|
14 |
+
"gpt_n_layer": 4,
|
15 |
+
"gpt_output_dim": 128,
|
16 |
+
"input_normalization_modes": {
|
17 |
+
"observation.state": "min_max"
|
18 |
+
},
|
19 |
+
"input_shapes": {
|
20 |
+
"observation.state": [
|
21 |
+
4
|
22 |
+
]
|
23 |
+
},
|
24 |
+
"mlp_hidden_dim": 128,
|
25 |
+
"n_action_pred_token": 3,
|
26 |
+
"n_obs_steps": 2,
|
27 |
+
"n_vqvae_training_steps": 20000,
|
28 |
+
"offset_loss_weight": 100.0,
|
29 |
+
"output_normalization_modes": {
|
30 |
+
"action": "min_max"
|
31 |
+
},
|
32 |
+
"output_shapes": {
|
33 |
+
"action": [
|
34 |
+
2
|
35 |
+
]
|
36 |
+
},
|
37 |
+
"pretrained_backbone_weights": null,
|
38 |
+
"primary_code_loss_weight": 5.0,
|
39 |
+
"resize_shape": null,
|
40 |
+
"secondary_code_loss_weight": 0.5,
|
41 |
+
"sequentially_select": true,
|
42 |
+
"spatial_softmax_num_keypoints": 32,
|
43 |
+
"use_group_norm": true,
|
44 |
+
"use_spatial_softmax": false,
|
45 |
+
"vision_backbone": "resnet18",
|
46 |
+
"vqvae_embedding_dim": 32,
|
47 |
+
"vqvae_enc_hidden_dim": 64,
|
48 |
+
"vqvae_n_embed": 16
|
49 |
+
}
|
config.yaml
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
resume: false
|
2 |
+
device: cuda
|
3 |
+
use_amp: false
|
4 |
+
seed: 100000
|
5 |
+
dataset_repo_id: notmahi/tutorial-ball
|
6 |
+
video_backend: pyav
|
7 |
+
training:
|
8 |
+
offline_steps: 100000
|
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: 250
|
15 |
+
save_checkpoint: true
|
16 |
+
save_freq: 5000
|
17 |
+
num_workers: 4
|
18 |
+
batch_size: 128
|
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 |
+
vqvae_lr: 0.001
|
58 |
+
n_vqvae_training_steps: 20000
|
59 |
+
bet_weight_decay: 0.0002
|
60 |
+
bet_learning_rate: 5.5e-05
|
61 |
+
bet_betas:
|
62 |
+
- 0.9
|
63 |
+
- 0.999
|
64 |
+
delta_timestamps:
|
65 |
+
observation.state:
|
66 |
+
- -0.016666666666666666
|
67 |
+
- 0.0
|
68 |
+
action:
|
69 |
+
- -0.016666666666666666
|
70 |
+
- 0.0
|
71 |
+
- 0.016666666666666666
|
72 |
+
- 0.03333333333333333
|
73 |
+
- 0.05
|
74 |
+
eval:
|
75 |
+
n_episodes: 10
|
76 |
+
batch_size: 10
|
77 |
+
use_async_envs: false
|
78 |
+
wandb:
|
79 |
+
enable: true
|
80 |
+
disable_artifact: false
|
81 |
+
project: lerobot
|
82 |
+
notes: ''
|
83 |
+
fps: 60
|
84 |
+
env:
|
85 |
+
name: ballgame
|
86 |
+
task: Ballgame-v0
|
87 |
+
state_dim: 4
|
88 |
+
action_dim: 2
|
89 |
+
fps: ${fps}
|
90 |
+
episode_length: 1000
|
91 |
+
gym:
|
92 |
+
fps: ${fps}
|
93 |
+
obs_type: pixels_agent_pos
|
94 |
+
timeout: 1000
|
95 |
+
policy:
|
96 |
+
name: vqbet
|
97 |
+
n_obs_steps: 2
|
98 |
+
n_action_pred_token: 3
|
99 |
+
action_chunk_size: 2
|
100 |
+
input_shapes:
|
101 |
+
observation.state:
|
102 |
+
- ${env.state_dim}
|
103 |
+
output_shapes:
|
104 |
+
action:
|
105 |
+
- ${env.action_dim}
|
106 |
+
input_normalization_modes:
|
107 |
+
observation.state: min_max
|
108 |
+
output_normalization_modes:
|
109 |
+
action: min_max
|
110 |
+
vision_backbone: resnet18
|
111 |
+
crop_shape:
|
112 |
+
- 84
|
113 |
+
- 84
|
114 |
+
crop_is_random: true
|
115 |
+
pretrained_backbone_weights: null
|
116 |
+
use_group_norm: true
|
117 |
+
spatial_softmax_num_keypoints: 32
|
118 |
+
n_vqvae_training_steps: ${training.n_vqvae_training_steps}
|
119 |
+
vqvae_n_embed: 16
|
120 |
+
vqvae_embedding_dim: 32
|
121 |
+
vqvae_enc_hidden_dim: 64
|
122 |
+
gpt_block_size: 500
|
123 |
+
gpt_input_dim: 128
|
124 |
+
gpt_output_dim: 128
|
125 |
+
gpt_n_layer: 4
|
126 |
+
gpt_n_head: 4
|
127 |
+
gpt_hidden_dim: 256
|
128 |
+
dropout: 0.1
|
129 |
+
mlp_hidden_dim: 128
|
130 |
+
offset_loss_weight: 100.0
|
131 |
+
primary_code_loss_weight: 5.0
|
132 |
+
secondary_code_loss_weight: 0.5
|
133 |
+
bet_softmax_temperature: 1.0
|
134 |
+
sequentially_select: true
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a36938231e0f1c2993f1e2c513073b59396e20dd03bef3b1bce73b44c03206c
|
3 |
+
size 17571450
|