Skip to content

Fixes net_arch in sb3_ppo_cfg.yaml for Isaac-Lift-Cube-Franka-v0 task #1249

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

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Fixes net_arch in sb3_ppo_cfg.yaml for Isaac-Lift-Cube-Franka-v0 task #1249

merged 2 commits into from
Oct 28, 2024

Conversation

LinghengMeng
Copy link
Contributor

Description

Two changes are made to fix [Bug Report] sb3_ppo_cfg.yaml not work for Isaac-Lift-Cube-Franka-v0 #1248:

  1. Add sb3_cfg_entry_point to source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/manipulation/lift/config/franka/init.py
  2. Change net_arch=[32, 32, dict(pi=[256, 128, 64], vf=[256, 128, 64])] to net_arch=dict(pi=[256, 128, 64], vf=[256, 128, 64]) in line 19 of sb3_ppo_cfg.yaml.

Fixes #1248

Type of change

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

Screenshots

Before After
image image

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • My changes generate no new warnings

@Mayankm96
Copy link
Contributor

With this fix, does the environment training work?

While you're at it, could you please also check if this bug happens for other sb3 configs? Thank you!

@Mayankm96 Mayankm96 changed the title fix net_arch in sb3_ppo_cfg.yaml for Isaac-Lift-Cube-Franka-v0 Fixes net_arch in sb3_ppo_cfg.yaml for Isaac-Lift-Cube-Franka-v0 task Oct 22, 2024
Copy link
Contributor

@Dhoeller19 Dhoeller19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @LinghengMeng!

@Dhoeller19 Dhoeller19 merged commit 1e3b6ec into isaac-sim:main Oct 28, 2024
4 of 5 checks passed
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
…task (isaac-sim#1249)

# Description
Two changes are made to fix _[Bug Report] sb3_ppo_cfg.yaml not work for
Isaac-Lift-Cube-Franka-v0 #1248_:

1. Add `sb3_cfg_entry_point` to
`source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/manipulation/lift/config/franka/init.py`
2. Change `net_arch=[32, 32, dict(pi=[256, 128, 64], vf=[256, 128,
64])]` to `net_arch=dict(pi=[256, 128, 64], vf=[256, 128, 64])` in line
19 of `sb3_ppo_cfg.yaml`.


Fixes isaac-sim#1248

## Type of change

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

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] My changes generate no new warnings
adrian-sch pushed a commit to adrian-sch/IsaacLab that referenced this pull request Dec 6, 2024
…task (isaac-sim#1249)

# Description
Two changes are made to fix _[Bug Report] sb3_ppo_cfg.yaml not work for
Isaac-Lift-Cube-Franka-v0 #1248_:

1. Add `sb3_cfg_entry_point` to
`source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/manipulation/lift/config/franka/init.py`
2. Change `net_arch=[32, 32, dict(pi=[256, 128, 64], vf=[256, 128,
64])]` to `net_arch=dict(pi=[256, 128, 64], vf=[256, 128, 64])` in line
19 of `sb3_ppo_cfg.yaml`.


Fixes isaac-sim#1248

## Type of change

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

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] My changes generate no new warnings
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] sb3_ppo_cfg.yaml not work for Isaac-Lift-Cube-Franka-v0
3 participants