Upload folder using huggingface_hub
Browse files- README.md +9 -0
- config.json +29 -0
- config.yaml +98 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- model_hub_mixin
|
| 4 |
+
- pytorch_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,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_size": 1,
|
| 3 |
+
"dim_model": 256,
|
| 4 |
+
"dropout": 0.1,
|
| 5 |
+
"input_normalization_modes": {
|
| 6 |
+
"observation.state": "min_max"
|
| 7 |
+
},
|
| 8 |
+
"input_shapes": {
|
| 9 |
+
"observation.state": [
|
| 10 |
+
4
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"n_action_steps": 1,
|
| 14 |
+
"n_obs_steps": 1,
|
| 15 |
+
"num_hidden_layers": 3,
|
| 16 |
+
"output_normalization_modes": {
|
| 17 |
+
"action": "min_max"
|
| 18 |
+
},
|
| 19 |
+
"output_shapes": {
|
| 20 |
+
"action": [
|
| 21 |
+
2
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
|
| 25 |
+
"replace_final_stride_with_dilation": false,
|
| 26 |
+
"temporal_ensemble_momentum": null,
|
| 27 |
+
"use_l1_loss": false,
|
| 28 |
+
"vision_backbone": "resnet18"
|
| 29 |
+
}
|
config.yaml
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: 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 |
+
eval:
|
| 56 |
+
n_episodes: 50
|
| 57 |
+
batch_size: 50
|
| 58 |
+
use_async_envs: false
|
| 59 |
+
wandb:
|
| 60 |
+
enable: true
|
| 61 |
+
disable_artifact: false
|
| 62 |
+
project: lerobot
|
| 63 |
+
notes: ''
|
| 64 |
+
fps: 60
|
| 65 |
+
env:
|
| 66 |
+
name: ballgame
|
| 67 |
+
task: Ballgame-v0
|
| 68 |
+
state_dim: 4
|
| 69 |
+
action_dim: 2
|
| 70 |
+
fps: ${fps}
|
| 71 |
+
episode_length: 1000
|
| 72 |
+
gym:
|
| 73 |
+
fps: ${fps}
|
| 74 |
+
obs_type: pixels_agent_pos
|
| 75 |
+
timeout: 1000
|
| 76 |
+
policy:
|
| 77 |
+
name: mlpbc
|
| 78 |
+
n_obs_steps: 1
|
| 79 |
+
chunk_size: 1
|
| 80 |
+
n_action_steps: 1
|
| 81 |
+
input_shapes:
|
| 82 |
+
observation.state:
|
| 83 |
+
- ${env.state_dim}
|
| 84 |
+
output_shapes:
|
| 85 |
+
action:
|
| 86 |
+
- ${env.action_dim}
|
| 87 |
+
input_normalization_modes:
|
| 88 |
+
observation.state: min_max
|
| 89 |
+
output_normalization_modes:
|
| 90 |
+
action: min_max
|
| 91 |
+
use_l1_loss: false
|
| 92 |
+
num_hidden_layers: 3
|
| 93 |
+
vision_backbone: resnet18
|
| 94 |
+
pretrained_backbone_weights: ResNet18_Weights.IMAGENET1K_V1
|
| 95 |
+
replace_final_stride_with_dilation: false
|
| 96 |
+
dim_model: 256
|
| 97 |
+
temporal_ensemble_momentum: null
|
| 98 |
+
dropout: 0.1
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d82a3f55759c1d4a90b58fc9a7ca8d8b3432d79d49d399778b97b80dc8aa19
|
| 3 |
+
size 798232
|