Giter VIP home page Giter VIP logo

xionghuichen / codas Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 60.78 MB

The Official Code for Cross-Modal Domain Adaptation for Cost-Efficient Visual Reinforcement Learning (NeurIPS'21))

Home Page: https://proceedings.neurips.cc/paper/2021/hash/68264bdb65b97eeae6788aa3348e553c-Abstract.html

License: MIT License

Python 86.76% Jupyter Notebook 13.24%
domain-adaptation reinforcement-learning sim2real

codas's People

Contributors

jiangsy avatar typoverflow avatar ucaschief avatar x35f avatar xionghuichen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

codas's Issues

[Bug]: no reference to InvertedDoublePendulmEnvv4

It seems to be an error that InvertedDoublePendulmEnv-v4 is used instead of -v5, for I cannot find its definition anywhere in this code base.

Related snippets include:

elif isinstance(self.env.env.env, InvertedDoublePendulumEnvv4):
qpos1 = ob[0:1]
qpos2 = np.arcsin(ob[1:raw_env.model.nq])
qpos = np.concatenate([qpos1, qpos2])
qvel = ob[raw_env.model.nq + raw_env.model.nq - 1:raw_env.model.nq + raw_env.model.nq - 1 + raw_env.model.nv]
elif isinstance(self.env.env.env, InvertedDoublePendulumEnvv5):
qpos1 = ob[0:1]
qpos2 = np.arcsin(ob[1:raw_env.model.nq])
qpos = np.concatenate([qpos1, qpos2])
qvel = ob[raw_env.model.nq + raw_env.model.nq - 1:raw_env.model.nq + raw_env.model.nq - 1 + raw_env.model.nv]

  • maybe comment L144-L148?

CODAS/codas/__init__.py

Lines 22 to 26 in 4e8c375

register(
id='InvertedDouble-v4',
max_episode_steps=1000,
entry_point='codas.reset_able_mj_env.inverted_double_pendulum_v4:InvertedDoublePendulumEnv',
)

  • id and the entry point should be -v5?

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.