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

feature(rjy): add HAPPO algorithm #717

Merged
merged 28 commits into from
Jan 11, 2024
Merged

Conversation

nighood
Copy link
Collaborator

@nighood nighood commented Aug 30, 2023

Description

Related Issue

TODO

Check List

  • merge the latest version source branch/repo, and resolve all the conflicts
  • pass style check
  • pass all the tests

@PaParaZz1 PaParaZz1 changed the title model(rjy): add vac model for HAPPO feature(rjy): add vac model for HAPPO Aug 30, 2023
@PaParaZz1 PaParaZz1 added the algo Add new algorithm or improve old one label Aug 30, 2023
ding/model/template/havac.py Outdated Show resolved Hide resolved
ding/model/template/havac.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Attention: 311 lines in your changes are missing coverage. Please review.

Comparison is base (4d53074) 77.11% compared to head (e7e9662) 76.78%.
Report is 5 commits behind head on main.

Files Patch % Lines
ding/policy/happo.py 10.86% 246 Missing ⚠️
ding/model/template/havac.py 76.25% 33 Missing ⚠️
ding/rl_utils/happo.py 77.47% 25 Missing ⚠️
ding/model/common/head.py 12.50% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #717      +/-   ##
==========================================
- Coverage   77.11%   76.78%   -0.34%     
==========================================
  Files         671      676       +5     
  Lines       53676    54424     +748     
==========================================
+ Hits        41394    41789     +395     
- Misses      12282    12635     +353     
Flag Coverage Δ
unittests 76.78% <52.15%> (-0.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PaParaZz1 PaParaZz1 changed the title feature(rjy): add vac model for HAPPO feature(rjy): add HAPPO algorithm Oct 18, 2023
ding/entry/serial_entry_happo.py Outdated Show resolved Hide resolved
ding/entry/serial_entry_happo.py Outdated Show resolved Hide resolved
ding/model/template/havac.py Show resolved Hide resolved
ding/rl_utils/ppo.py Outdated Show resolved Hide resolved
ding/rl_utils/tests/test_happo.py Outdated Show resolved Hide resolved
ding/policy/happo.py Show resolved Hide resolved
ding/policy/happo.py Show resolved Hide resolved
ding/policy/happo.py Outdated Show resolved Hide resolved
ding/rl_utils/ppo.py Outdated Show resolved Hide resolved
ding/rl_utils/ppo.py Outdated Show resolved Hide resolved
ding/rl_utils/ppo.py Outdated Show resolved Hide resolved
dizoo/multiagent_mujoco/config/walker2d_happo_config.py Outdated Show resolved Hide resolved
dizoo/multiagent_mujoco/config/walker2d_happo_config.py Outdated Show resolved Hide resolved
ding/rl_utils/happo.py Outdated Show resolved Hide resolved
ding/rl_utils/happo.py Outdated Show resolved Hide resolved
@PaParaZz1 PaParaZz1 merged commit 4738444 into opendilab:main Jan 11, 2024
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algo Add new algorithm or improve old one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants