Skip to content

Fixes training UR10 reach with RL_GAMES and SKRL - #678

Merged
Dhoeller19 merged 1 commit into
isaac-sim:mainfrom
sudhirpratapyadav:fix-ur10-train-bug
Jul 17, 2024
Merged

Dhoeller19 merged 1 commit into
isaac-sim:mainfrom
sudhirpratapyadav:fix-ur10-train-bug

Conversation

@sudhirpratapyadav

@sudhirpratapyadav sudhirpratapyadav commented Jul 13, 2024 •

Copy link
Copy Markdown
Contributor

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
@Dhoeller19

Copy link
Copy Markdown

Thanks a lot @sudhirpratapyadav!

@sudhirpratapyadav
sudhirpratapyadav deleted the fix-ur10-train-bug branch July 17, 2024 13:02
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
Milad-Rakhsha-NV pushed a commit to Milad-Rakhsha-NV/IsaacLab that referenced this pull request Sep 4, 2025
# Description

Improved benchmarking
It's just a small push with our latest stuff for benchmarking.

## Checklist

- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
# 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