-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in fix/flake8 (pull request #8)
Fixes all the flake8 complaints Approved-by: Nikita Rudin
- Loading branch information
Showing
16 changed files
with
412 additions
and
301 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -21,4 +21,4 @@ black --line-length 120 . | |
# for checking lints | ||
pip install flake8 | ||
flake8 . | ||
``` | ||
``` |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Copyright 2021 ETH Zurich, NVIDIA CORPORATION | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# SPDX-License-Identifier: BSD-3-Clause |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# Copyright 2021 ETH Zurich, NVIDIA CORPORATION | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
from .ppo import PPO | ||
"""Implementation of different RL agents.""" | ||
|
||
from .ppo import PPO | ||
|
||
__all__ = ["PPO"] |
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Copyright 2021 ETH Zurich, NVIDIA CORPORATION | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
"""Submodule defining the environment definitions.""" | ||
|
||
from .vec_env import VecEnv | ||
from .vec_env import VecEnv | ||
|
||
__all__ = ["VecEnv"] |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Copyright 2021 ETH Zurich, NVIDIA CORPORATION | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
"""Definitions for neural-network components for RL-agents.""" | ||
|
||
from .actor_critic import ActorCritic | ||
from .actor_critic_recurrent import ActorCriticRecurrent | ||
from .actor_critic_recurrent import ActorCriticRecurrent | ||
|
||
__all__ = ["ActorCritic", "ActorCriticRecurrent"] |
Oops, something went wrong.