Skip to main content

Humanoid Standing Up

Project description

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}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

host_pytorch-0.0.36.tar.gz (614.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

host_pytorch-0.0.36-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file host_pytorch-0.0.36.tar.gz.

File metadata

  • Download URL: host_pytorch-0.0.36.tar.gz
  • Upload date:
  • Size: 614.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for host_pytorch-0.0.36.tar.gz
Algorithm Hash digest
SHA256 61d7e35fa59cf027807d7122716e9ca91cb1b4c2b35f84a9d6a3cb85ae7d5f61
MD5 1f9dd475749899a8f66fc004ad2e8aac
BLAKE2b-256 5c5c8090ef75b6899dc630af21f94fa893227bedec8fa759a5fde79d13df40f8

See more details on using hashes here.

File details

Details for the file host_pytorch-0.0.36-py3-none-any.whl.

File metadata

  • Download URL: host_pytorch-0.0.36-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for host_pytorch-0.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9367510a4d6a5cb9bb48ce78e5e3ebc54fda9a6e2de48c3d83b5a69dbd4050
MD5 3c3d9f998f0b75d54f47d12f46a9d446
BLAKE2b-256 3c3d543ba37ece0b41be843ea58fda9f2432dc2e8c31ce8a76260c988b76ae2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page