Upload folder using huggingface_hub
Browse files- README.md +9 -0
- config.json +46 -0
- config.yaml +110 -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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_size": 5,
|
3 |
+
"crop_is_random": true,
|
4 |
+
"crop_shape": [
|
5 |
+
224,
|
6 |
+
224
|
7 |
+
],
|
8 |
+
"dim_feedforward": 3200,
|
9 |
+
"dim_model": 512,
|
10 |
+
"dropout": 0.1,
|
11 |
+
"feedforward_activation": "relu",
|
12 |
+
"input_normalization_modes": {
|
13 |
+
"observation.state": "mean_std"
|
14 |
+
},
|
15 |
+
"input_shapes": {
|
16 |
+
"observation.state": [
|
17 |
+
4
|
18 |
+
]
|
19 |
+
},
|
20 |
+
"kl_weight": 10.0,
|
21 |
+
"latent_dim": 32,
|
22 |
+
"n_action_steps": 5,
|
23 |
+
"n_decoder_layers": 2,
|
24 |
+
"n_encoder_layers": 4,
|
25 |
+
"n_heads": 8,
|
26 |
+
"n_obs_steps": 1,
|
27 |
+
"n_vae_encoder_layers": 4,
|
28 |
+
"output_normalization_modes": {
|
29 |
+
"action": "mean_std"
|
30 |
+
},
|
31 |
+
"output_shapes": {
|
32 |
+
"action": [
|
33 |
+
2
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"pre_norm": false,
|
37 |
+
"pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
|
38 |
+
"replace_final_stride_with_dilation": false,
|
39 |
+
"resize_shape": [
|
40 |
+
256,
|
41 |
+
342
|
42 |
+
],
|
43 |
+
"temporal_ensemble_momentum": null,
|
44 |
+
"use_vae": true,
|
45 |
+
"vision_backbone": "resnet18"
|
46 |
+
}
|
config.yaml
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
resume: false
|
2 |
+
device: cuda
|
3 |
+
use_amp: false
|
4 |
+
seed: 1000
|
5 |
+
dataset_repo_id: notmahi/tutorial-ball
|
6 |
+
video_backend: pyav
|
7 |
+
training:
|
8 |
+
offline_steps: 80000
|
9 |
+
online_steps: 0
|
10 |
+
online_steps_between_rollouts: 1
|
11 |
+
online_sampling_ratio: 0.5
|
12 |
+
online_env_seed: ???
|
13 |
+
eval_freq: 5000
|
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 |
+
lr: 1.0e-05
|
49 |
+
lr_backbone: 1.0e-05
|
50 |
+
weight_decay: 0.0001
|
51 |
+
grad_clip_norm: 10
|
52 |
+
delta_timestamps:
|
53 |
+
action:
|
54 |
+
- 0.0
|
55 |
+
- 0.016666666666666666
|
56 |
+
- 0.03333333333333333
|
57 |
+
- 0.05
|
58 |
+
- 0.06666666666666667
|
59 |
+
eval:
|
60 |
+
n_episodes: 10
|
61 |
+
batch_size: 10
|
62 |
+
use_async_envs: false
|
63 |
+
wandb:
|
64 |
+
enable: true
|
65 |
+
disable_artifact: false
|
66 |
+
project: lerobot
|
67 |
+
notes: ''
|
68 |
+
fps: 60
|
69 |
+
env:
|
70 |
+
name: ballgame
|
71 |
+
task: Ballgame-v0
|
72 |
+
state_dim: 4
|
73 |
+
action_dim: 2
|
74 |
+
fps: ${fps}
|
75 |
+
episode_length: 1000
|
76 |
+
gym:
|
77 |
+
fps: ${fps}
|
78 |
+
obs_type: pixels_agent_pos
|
79 |
+
timeout: 1000
|
80 |
+
policy:
|
81 |
+
name: act
|
82 |
+
n_obs_steps: 1
|
83 |
+
chunk_size: 5
|
84 |
+
n_action_steps: 5
|
85 |
+
input_shapes:
|
86 |
+
observation.state:
|
87 |
+
- ${env.state_dim}
|
88 |
+
output_shapes:
|
89 |
+
action:
|
90 |
+
- ${env.action_dim}
|
91 |
+
input_normalization_modes:
|
92 |
+
observation.state: mean_std
|
93 |
+
output_normalization_modes:
|
94 |
+
action: mean_std
|
95 |
+
vision_backbone: resnet18
|
96 |
+
pretrained_backbone_weights: ResNet18_Weights.IMAGENET1K_V1
|
97 |
+
replace_final_stride_with_dilation: false
|
98 |
+
pre_norm: false
|
99 |
+
dim_model: 512
|
100 |
+
n_heads: 8
|
101 |
+
dim_feedforward: 3200
|
102 |
+
feedforward_activation: relu
|
103 |
+
n_encoder_layers: 4
|
104 |
+
n_decoder_layers: 2
|
105 |
+
use_vae: true
|
106 |
+
latent_dim: 32
|
107 |
+
n_vae_encoder_layers: 4
|
108 |
+
temporal_ensemble_momentum: null
|
109 |
+
dropout: 0.1
|
110 |
+
kl_weight: 10.0
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98b14be92dfd09a5821b6a5a32a88df339b6208a9394a2ec70d2b1000779637a
|
3 |
+
size 227828080
|