-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(statistics tools): support statistics tools for experiments launched by omnisafe (#157) * docs: update API documentation * chore: clean the code * fix: fix duplicate files * fix: delete duplicate conf.py * docs: update tools docs * chore: clean the docs * docs: update app docs * fix: fix conf.py * fix: fix cli docs * docs: update omnisafe usage * fix: [pre-commit.ci] auto fixes [...] * refactor: refactor docs structure * docs(foundations): rename docs file * docs: update introduction * fix: [pre-commit.ci] auto fixes [...] * fix: fix spelling * fix: [pre-commit.ci] auto fixes [...] * fix: fix code block * docs: update comment * docs: fix ggrammer * docs(models, envs): update api docs * docs: update title * docs: update model docs * docs(adapters): update API docs * style: clean the docs * fix: revert ruff * docs: fix spelling * docs: update start example * docs: fix typo * docs: update notation table * docs: fix notation table * docs(CUP): update cup docs * docs(TRPO): update trpo docs * fix: fix exp grid * fix: fix exp grid * chore: update version --------- Co-authored-by: muchvo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
324d257
commit 3df1725
Showing
58 changed files
with
2,039 additions
and
1,102 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,3 @@ Experiment Grid | |
.. autoclass:: ExperimentGrid | ||
:members: | ||
:private-members: | ||
|
||
.. automethod:: __init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,3 @@ Logger | |
.. autoclass:: Logger | ||
:members: | ||
:private-members: | ||
|
||
.. automethod:: __init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,3 @@ Normalizer | |
.. autoclass:: Normalizer | ||
:members: | ||
:private-members: | ||
|
||
.. automethod:: __init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Adapter | ||
======= | ||
|
||
.. currentmodule:: omnisafe.adapter | ||
|
||
|
||
Online Adapter | ||
-------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: OnlineAdapter | ||
:members: | ||
:private-members: | ||
|
||
On Policy Adapter | ||
----------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: OnPolicyAdapter | ||
:members: | ||
:private-members: | ||
|
||
Off Policy Adapter | ||
------------------ | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: OffPolicyAdapter | ||
:members: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
Core | ||
==== | ||
|
||
.. currentmodule:: omnisafe.envs.core | ||
|
||
.. autosummary:: | ||
|
||
CMDP | ||
Wrapper | ||
EnvRegister | ||
|
||
CMDP | ||
---- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: CMDP | ||
:members: | ||
:private-members: | ||
|
||
Wrapper | ||
------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: Wrapper | ||
:members: | ||
:private-members: | ||
|
||
Make an environment | ||
------------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: EnvRegister | ||
:members: | ||
:private-members: | ||
|
||
|
||
|
||
.. autofunction:: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Safety Gymnasium Environment | ||
============================ | ||
|
||
.. currentmodule:: omnisafe.envs.safety_gymnasium_env | ||
|
||
Safety Gymnasium Interface | ||
-------------------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: SafetyGymnasiumEnv | ||
:members: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
Wrapper | ||
======= | ||
|
||
.. currentmodule:: omnisafe.envs.wrapper | ||
|
||
.. autosummary:: | ||
|
||
TimeLimit | ||
AutoReset | ||
ObsNormalize | ||
RewardNormalize | ||
CostNormalize | ||
ActionScale | ||
Unsqueeze | ||
|
||
Time Limit Wrapper | ||
------------------ | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: TimeLimit | ||
:members: | ||
:private-members: | ||
|
||
Auto Reset Wrapper | ||
------------------ | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: AutoReset | ||
:members: | ||
:private-members: | ||
|
||
|
||
Observation Normalization Wrapper | ||
--------------------------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: ObsNormalize | ||
:members: | ||
:private-members: | ||
|
||
Reward Normalization Wrapper | ||
---------------------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: RewardNormalize | ||
:members: | ||
:private-members: | ||
|
||
Cost Normalization Wrapper | ||
-------------------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: CostNormalize | ||
:members: | ||
:private-members: | ||
|
||
Action Scale | ||
------------ | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: ActionScale | ||
:members: | ||
:private-members: | ||
|
||
|
||
Unsqueeze Wrapper | ||
----------------- | ||
|
||
.. card:: | ||
:class-header: sd-bg-success sd-text-white | ||
:class-card: sd-outline-success sd-rounded-1 | ||
|
||
Documentation | ||
^^^ | ||
|
||
.. autoclass:: Unsqueeze | ||
:members: | ||
:private-members: |
Oops, something went wrong.