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

[Bug Report] Error in "Training an agent with SKRL on Isaac-Reach-Franka-v0" #117

Closed
ninebestwon opened this issue Sep 14, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ninebestwon
Copy link

Describe the bug

Error in "Training an agent with SKRL on Isaac-Reach-Franka-v0"

In Orbit Documentation, I did 'Getting Started >> Running existing scripts >> Reinforcement Learning >> Training an agent with SKRL on Isaac-Reach-Franka-v0'

Steps to reproduce

Traceback (most recent call last):
  File "source/standalone/workflows/skrl/train.py", line 52, in <module>
    from skrl.utils.model_instantiators import deterministic_model, gaussian_model, shared_model
ImportError: cannot import name 'deterministic_model' from 'skrl.utils.model_instantiators' (/home/vision/anaconda3/envs/orbit/lib/python3.7/site-packages/skrl/utils/model_instantiators/__init__.py)
2023-09-14 06:40:39 [5,416ms] [Warning] [carb.audio.context] 1 contexts were leaked
./orbit.sh: line 209: 21167 Segmentation fault      (core dumped) ${python_exe} $@

System Info

Describe the characteristic of your environment:

  • Commit: [e.g. 8f3b9ca]
  • Isaac Sim Version: 2022.2.1
  • OS: Ubuntu 20.04
  • GPU: RTX 3070 Ti
  • CUDA: 11.7
  • GPU Driver: 525.125.06
@Toni-SM
Copy link
Contributor

Toni-SM commented Sep 15, 2023

Hi @kyuwon416

skrl-v1.0.0 introduced some breaking changes regarding to model instantiators.
Current Isaac Orbit version only works for skrl<=0.10.2.
When the PR #109 is approved, the latest version of skrl can be used in addition to its JAX support :)

Meanwhile, use the following command to install the old supported version:

orbit -p -m pip install skrl==0.10.2

@berttggg
Copy link

@Toni-SM
Hi, I actually tried PR #109, and successfully ran the RL task. However, with exactly the same parameters and environments (same tasks), 1.0.0 and 0.10.2 their performance is quite different, in which in 0.10.2, my robot can successfully grasp the object, whereas 1.0.0 absolutely does not.

May I know if you have any clue? Is there anything I missed?

@Mayankm96 Mayankm96 added the question Further information is requested label Feb 10, 2024
@Mayankm96 Mayankm96 added bug Something isn't working and removed question Further information is requested labels Jul 2, 2024
@Mayankm96
Copy link
Contributor

This should be fixed now with recent upgrades to skrl and Isaac Lab. Please re-open the issue if problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants