Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gymnasium Upgrade #142

Merged
merged 68 commits into from
May 1, 2024
Merged

Gymnasium Upgrade #142

merged 68 commits into from
May 1, 2024

Conversation

vikashplus
Copy link
Collaborator

No description provided.

vikashplus and others added 9 commits December 29, 2023 00:57
Merge pull request #129 from MyoHub/add_gymz_vk
- Gym/Gymnasium import.
- Examine_sim upgraded to mujoco bindings
- Hardcoded enums removed from the robot.
- Model as a string accepted to create a scene.
- All tests passed on the different gym versions.
- All tests passing on all tutorials
- env_base reset passed seed properly
- env_base respects horizon computtation based on gym/gynmansium
- myodm reset passes kwargs properly
- examine_reference, test_envs, examine_env uses env.unwrapped
- renderer handles ARB_clip_control warning
- robot class closes properly and provides warning when user leaves connection open before exit
- prompt_utils options upgraded for better clarity
@Vittorio-Caggiano
Copy link
Collaborator

@vikashplus can you please check if the changelog is correct?

Copy link
Collaborator

@Vittorio-Caggiano Vittorio-Caggiano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review changelog

@@ -77,6 +81,59 @@ def vc_isavailable():
if importlib.util.find_spec("vc_models") is None:
raise ModuleNotFoundError(help)

def simhive_isavailable(robohive_version):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't seem to belong here, yet

import os
from os.path import expanduser
import git


def mujoco_py_isavailable():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we no longer support mujoco_py ... should we remove this?

@@ -13,7 +13,8 @@ pip3 install scikit-learn
# Install potential missing packages needed for the tutorials
pip3 install jupyter ipykernel tabulate matplotlib torch h5py
pip3 install git+https://github.com/aravindr93/mjrl.git@pvr_beta_1vk # install from branch `pvr_beta_1vk` compatible with `mujoco` native binding
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have this fix from Arvind in mjrl main? this here forces to pull from the branch but users installing from main might not find easily this fix

@@ -12,7 +12,7 @@ def __init__(self, name, **kwargs):
# parse path from robohive format into robopen dataset format
def path2dataset(self, path:dict, config_path=None)->dict:
"""
Convert Robohive format into roboset format
Convert RoboHive format into roboset format
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a link to documentation for the 'Robohive format'

vikashplus and others added 9 commits March 9, 2024 10:27
… By default path_utils uses unwrapped envs now
Naming consistency for myohand_object and myohand_tabletop
…cameras

- default was point to the free camera, this is not desirable and can lead to silent bugs
- offscreen rendering images were flipped. Adjusted to be compatible with latest version of MuJoCo
myosuite/tests/test_envs.py Show resolved Hide resolved
@@ -9,3 +9,5 @@ mujoco==2.3.7
dm-control==1.0.14
Pillow
pink-noise-rl
packaging
gitpython
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be needed here

Copy link
Collaborator

@Vittorio-Caggiano Vittorio-Caggiano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Vittorio-Caggiano Vittorio-Caggiano merged commit 4e05093 into main May 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants