Coder Social home page Coder Social logo

adaptnet's Introduction

AdaptNet: Policy Adaptation for Physics-Based Character Control

This is the official implementation for AdaptNet: Policy Adaptation for Physics-Based Character Control. [arXiv] [Youtube] (SIGGRAPH Asia'23, TOG)

This implementation is based on [webpage] [code]

Code Usage

Dependencies

  • Pytorch 1.12
  • IsaacGym Pr4

We recommend to install all the requirements through Conda by

$ conda create --name <env> --file requirements.txt -c pytorch -c conda-forge

Download IsaacGym Pr4 from the official site and install it via pip.

Policy Evaluation

$ python main.py <configure_file> --meta <pretrained_meta_policy> --ckpt <checkpoint_dir> --test

We provide pretrained policy models in pretrained folder. To evaluate a pretrained policy, e.g. please run

$ python main.py config/config_run_lowfriction.py \
  --meta pretrained/locomotion_run --ckpt pretrained/run_lowfriction \
  --test

$ python main.py config/config_walk_lowfriction.py \
  --meta pretrained/locomotion_walk --ckpt pretrained/walk_lowfriction \
  --test

$ python main.py config/config_terrain.py \
  --meta pretrained/locomotion_walk --ckpt pretrained/walk_terrain \
  --test

$ python main.py config/config_walk_jaunty.py \
  --meta pretrained/locomotion_walk --ckpt pretrained/walk_jaunty \
  --test

$ python main.py config/config_walk_stoop.py \
  --meta pretrained/locomotion_walk --ckpt pretrained/walk_stoop \
  --test

Citation

If you use the code or provided motions for your work, please consider citing our papers:

@article{adaptnet,
    author = {Xu, Pei and Xie, Kaixiang and Andrews, Sheldon and Kry, Paul G and Neff, Michael and McGuire, Morgan and Karamouzas, Ioannis and Zordan, Victor},
    title = {{AdaptNet}: Policy Adaptation for Physics-Based Character Control},
    journal = {ACM Transactions on Graphics},
    publisher = {ACM New York, NY, USA},
    year = {2023},
    volume = {42},
    number = {6},
    doi = {10.1145/3618375}
}

@article{composite,
    author = {Xu, Pei and Shang, Xiumin and Zordan, Victor and Karamouzas, Ioannis},
    title = {Composite Motion Learning with Task Control},
    journal = {ACM Transactions on Graphics},
    publisher = {ACM New York, NY, USA},
    year = {2023},
    volume = {42},
    number = {4},
    doi = {10.1145/3592447}
}

@article{iccgan,
    author = {Xu, Pei and Karamouzas, Ioannis},
    title = {A {GAN}-Like Approach for Physics-Based Imitation Learning and Interactive Character Control},
    journal = {Proceedings of the ACM on Computer Graphics and Interactive Techniques},
    publisher = {ACM New York, NY, USA},
    year = {2021},
    volume = {4},
    number = {3},
    pages = {1--22},
    doi = {10.1145/3480148}
}

adaptnet's People

Contributors

xupei0610 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.