Download src/psi/config/model_dp.py from Tinghong-Ye22/code-Psi0-yth-v21: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/src/psi/config/model_dp.py
- Command line
-
hf download hf://Tinghong-Ye22/code-Psi0-yth-v21/src/psi/config/model_dp.py
-
curl -L -o model_dp.py https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/src/psi/config/model_dp.py
464 Bytes
| from tyro.conf import subcommand as cmd | |
| from typing import Union, Annotated, Optional, List | |
| from psi.config.config import ModelConfig | |
| from pydantic import Field | |
| class DiffusionPolicyModelConfig(ModelConfig): | |
| num_diffusion_iters: int = 100 | |
| action_chunk_size: int = 16 # Tp, pred_horizon | |
| num_cameras: int = 1 | |
| share_vision_encoder: bool = False | |
| obs_horizon: int = 1 | |
| action_exec_horizon: int = 6 | |
| action_dim: int = 2 | |
| obs_dim: int = 15 |