pairlab / leibnizgym

IsaacGym environment for Trifinger robot
BSD 3-Clause "New" or "Revised" License
40 stars 11 forks source link

Train error for rlg_hydra.py script #2

Open zrfnz opened 2 years ago

zrfnz commented 2 years ago

I get the following error when trying to train the model as in the instructions in the training section: $ python rlg_train.py --task ShadowHand --headless Importing module 'gym_37' (/workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_37.so) [Error] [carb] [Plugin: libcarb.gym.plugin.so] Could not load the dynamic library from /workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/libcarb.gym.plugin.so. Error: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/libcarb.gym.plugin.so) [Warning] [carb] Potential plugin preload failed: /workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/libcarb.gym.plugin.so Setting GYM_USD_PLUG_INFO_PATH to /workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json Importing module 'rlgpu_37' (/workspace7/isaacgym/python/isaacgym/_bindings/linux-x86_64/rlgpu_37.so) Traceback (most recent call last): File "rlg_train.py", line 10, in from rlgpu.utils.config import set_np_formatting, set_seed ModuleNotFoundError: No module named 'rlgpu'

I installed the IsaacGym package as per the instructions in the NVIDIA website, however the rlgpu module is nowhere to be found in the installation packages

TrinhNC commented 2 years ago

Are you using 'IsaacGym_Preview_3_Package'? If yes, try IsaacGym_Preview_2_Package instead.

zrfnz commented 2 years ago

Where can I find this version??

On Sat, Dec 18, 2021, 23:38 TrinhNC @.***> wrote:

Are you using 'IsaacGym_Preview_3_Package'? If yes, try IsaacGym_Preview_2_Package instead.

— Reply to this email directly, view it on GitHub https://github.com/pairlab/leibnizgym/issues/2#issuecomment-997294442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWUCTT2DRWCB6LFHC5WPP6LURUEN7ANCNFSM5KF4NXZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

TrinhNC commented 2 years ago

I couldn't find it online anymore. Don't know how I can send it to you. In the Preview 3 they said they included the Trifinger but I haven't tried.

Mayankm96 commented 2 years ago

From what I know, IsaacGym Preview 2 is currently depracated.

Since Preview 3 is the only version currently available online, the environment available at NVIDIA/IsaacGymEnvs can be used instead. It is the same environment but less wrapping and complexity.

From what I know, there aren't that many API changes between Preview 2 and Preview 3. However, some internal changes (the way collision is collected and convex decomposition) have been made in Preview 3.

If you can send a PR with the necessary changes, we would be happy to review and merge it. Thanks a lot! :)

BY571 commented 2 years ago

I couldn't find it online anymore. Don't know how I can send it to you. In the Preview 3 they said they included the Trifinger but I haven't tried.

Hey @TrinhNC do you still have the Preview 2? Is there a chance you could share / send it?

TrinhNC commented 2 years ago

Yes, I can share it. Could you create a private repo and invite me? Then we can exchange Email or so.