Skip to main content

HoST - Pytorch (wip)

Implementation of Humanoid Standing Up, from the paper Learning Humanoid Standing-up Control across Diverse Postures out of Shanghai, in Pytorch

Besides for the set of reward functions, the other contribution is validating an approach using multiple critics out of Boston University

Install

$ pip install HoST-pytorch

Usage

import torch
from host_pytorch import Agent
from host_pytorch.mock_env import Env, mock_hparams

env = Env()

agent = Agent(
    num_actions = (10, 10, 20),
    actor = dict(
        dims = (env.dim_state, 256, 128),
    ),
    critics = dict(
        dims = (env.dim_state, 256),
    ),
    reward_hparams = mock_hparams()
)

memories = agent(env)

agent.learn(memories)

agent.save('./standing-up-policy.pt', overwrite = True)

Citations

@article{huang2025host,
  title     = {Learning Humanoid Standing-up Control across Diverse Postures},
  author    = {Huang, Tao and Ren, Junli and Wang, Huayi and Wang, Zirui and Ben, Qingwei and Wen, Muning and Chen, Xiao and Li, Jianan and Pang, Jiangmiao},
  journal   = {arXiv preprint arXiv:2502.08378},
  year      = {2025},
}
@article{Farebrother2024StopRT,
    title   = {Stop Regressing: Training Value Functions via Classification for Scalable Deep RL},
    author  = {Jesse Farebrother and Jordi Orbay and Quan Ho Vuong and Adrien Ali Taiga and Yevgen Chebotar and Ted Xiao and Alex Irpan and Sergey Levine and Pablo Samuel Castro and Aleksandra Faust and Aviral Kumar and Rishabh Agarwal},
    journal = {ArXiv},
    year   = {2024},
    volume = {abs/2403.03950},
    url    = {https://api.semanticscholar.org/CorpusID:268253088}
}
@article{Tao2022LearningTG,
    title  = {Learning to Get Up},
    author = {Tianxin Tao and Matthew Wilson and Ruiyu Gou and Michiel van de Panne},
    journal = {ACM SIGGRAPH 2022 Conference Proceedings},
    year   = {2022},
    url    = {https://api.semanticscholar.org/CorpusID:248496244}
}

Metadata

Release files for HoST-pytorch 0.0.42

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HoST-pytorch 0.0.42
File Size Uploaded Provenance Actions
host_pytorch-0.0.42.tar.gz 614.4 kB Without provenance Details for host_pytorch-0.0.42.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for HoST-pytorch 0.0.42
File Interpreter ABI Platform Actions
host_pytorch-0.0.42-py3-none-any.whl Python 3 none any Details for host_pytorch-0.0.42-py3-none-any.whl

Total release size: 618.2 kB

Release files / host_pytorch-0.0.42.tar.gz

Download URL host_pytorch-0.0.42.tar.gz
Size 614.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48a36adec9019495733f7940a9774b74cc6601856aaf346913837cc91ade396a
BLAKE2b-256 checksum
How to use checksums
3a20af02c368a45b24645cbaac4ce23cada900b1a1917f2b9d6a1bdd96cbfa8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / host_pytorch-0.0.42-py3-none-any.whl

Download URL host_pytorch-0.0.42-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f6ef00502c4a0d9088e91a1520e5134909d26cbf87caf024e46ae48b3491d4f
BLAKE2b-256 checksum
How to use checksums
751677f227a0bab1d7be1f2ae686bcc239dfd90e4156499ba5624c9a5af16ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Security for HoST-pytorch 0.0.42

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.42 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page