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

Fixes training UR10 reach with RL_GAMES and SKRL #678

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

sudhirpratapyadav
Copy link
Contributor

@sudhirpratapyadav sudhirpratapyadav commented Jul 13, 2024

Description

  • Fixes [Bug Report] UR10 reach environment won't accept all wrappers #541
  • Bug description: UR10 reach can be trained with RSL_RL but not with RL_GAMES and SKRL.
  • Why this problem occurs: The actual problem is there is no __init__.py file in the agents folder inside ur_10. Therefore when mod_path = os.path.dirname(importlib.import_module(mod_name).__file__) line is executed it gives error as importlib.import_module(mod_name).__file__ is not able to find the module omni.isaac.lab_tasks.manager_based.manipulation.reach.config.ur_10.agents.

Fixes

  • __init__.py file is added inside the ur_10.agents folder.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@Dhoeller19 Dhoeller19 self-requested a review July 17, 2024 11:41
@Dhoeller19 Dhoeller19 changed the title Bug fix #541 (UR10 reach can be trained with RSL_RL but not with RL_GAMES and SKRL.) Fixes running UR10 reach with RL_GAMES and SKRL Jul 17, 2024
@Dhoeller19 Dhoeller19 changed the title Fixes running UR10 reach with RL_GAMES and SKRL Fixes training UR10 reach with RL_GAMES and SKRL Jul 17, 2024
@Dhoeller19 Dhoeller19 merged commit 33067e5 into isaac-sim:main Jul 17, 2024
1 of 2 checks passed
@Dhoeller19
Copy link
Collaborator

Thanks a lot @sudhirpratapyadav!

@sudhirpratapyadav sudhirpratapyadav deleted the fix-ur10-train-bug branch July 17, 2024 13:02
fatimaanes pushed a commit to fatimaanes/omniperf that referenced this pull request Aug 8, 2024
# Description

- Fixes isaac-sim#541
- **Bug description:** UR10 reach can be trained with RSL_RL but not
with RL_GAMES and SKRL.
- **Why this problem occurs:** The actual problem is there is no
`__init__.py` file in the `agents` folder inside ur_10. Therefore when
`mod_path = os.path.dirname(importlib.import_module(mod_name).__file__)`
line is executed it gives error as
`importlib.import_module(mod_name).__file__` is not able to find the
module
`omni.isaac.lab_tasks.manager_based.manipulation.reach.config.ur_10.agents`.

## Fixes
- `__init__.py` file is added inside the ur_10.agents folder.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
# Description

- Fixes isaac-sim#541
- **Bug description:** UR10 reach can be trained with RSL_RL but not
with RL_GAMES and SKRL.
- **Why this problem occurs:** The actual problem is there is no
`__init__.py` file in the `agents` folder inside ur_10. Therefore when
`mod_path = os.path.dirname(importlib.import_module(mod_name).__file__)`
line is executed it gives error as
`importlib.import_module(mod_name).__file__` is not able to find the
module
`omni.isaac.lab_tasks.manager_based.manipulation.reach.config.ur_10.agents`.

## Fixes
- `__init__.py` file is added inside the ur_10.agents folder.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
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.

[Bug Report] UR10 reach environment won't accept all wrappers
2 participants