leibnizgym icon indicating copy to clipboard operation
leibnizgym copied to clipboard

Train error for rlg_hydra.py script

Open zrfnz opened this issue 4 years ago • 6 comments

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

zrfnz avatar Dec 16 '21 10:12 zrfnz

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

TrinhNC avatar Dec 18 '21 22:12 TrinhNC

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: @.***>

zrfnz avatar Dec 19 '21 18:12 zrfnz

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.

TrinhNC avatar Dec 21 '21 10:12 TrinhNC

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! :)

Mayankm96 avatar Jan 06 '22 10:01 Mayankm96

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?

BY571 avatar Feb 17 '22 11:02 BY571

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

TrinhNC avatar Feb 28 '22 21:02 TrinhNC