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

feat: support MetaDrive interface #263

Closed
wants to merge 2 commits into from
Closed

Conversation

Gaiejj
Copy link
Member

@Gaiejj Gaiejj commented Aug 4, 2023

Description

Provide MetaDrive Environment Interface.

This pull request is still wip. We will merge it after we confirm the performance of algorithms on MetaDrive. Related performance, like curves and table will be released at that time.

Also, this pull request serve as a good example to customize a new environment in OmniSafe, as we have discussed in #256.

You can run

cd examples
python train_policy --algo PPOLag --env SafeMetaDrive

to run SafeMetaDrive in OmniSafe.

Motivation and Context

Why is this change required? What problem does it solve?

#262 mentioned that MetaDrive Environment is a well known safe reinforcement learning task suite. we thought it is meaningful to officially support it in OmniSafe.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds core functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (update in the documentation)

Checklist

Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

  • I have read the CONTRIBUTION guide. (required)
  • My change requires a change to the documentation.
  • I have updated the tests accordingly. (required for a bug fix or a new feature)
  • I have updated the documentation accordingly.
  • I have reformatted the code using make format. (required)
  • I have checked the code using make lint. (required)
  • I have ensured make test pass. (required)

@Gaiejj Gaiejj added enhancement New feature or request feature Something related to new features environment Something related to the RL environment labels Aug 4, 2023
@Gaiejj Gaiejj mentioned this pull request Sep 4, 2023
3 tasks
@Gaiejj Gaiejj closed this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request environment Something related to the RL environment feature Something related to new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant