forked from kakaoenterprise/JORLDY
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATE README
- Loading branch information
Showing
165 changed files
with
738 additions
and
446 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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
- Benchmark of the algorithms is conducted in many RL environment | ||
|
||
|
||
|
||
## :arrow_down: Installation | ||
|
||
``` | ||
|
@@ -30,7 +29,7 @@ | |
|
||
## :rocket: QuickStart | ||
|
||
<img src="./img/quickstart.png" alt="quickstart" width=60%/> | ||
<img src="./resrc/quickstart.png" alt="quickstart" width=60%/> | ||
|
||
|
||
|
||
|
@@ -42,24 +41,33 @@ | |
|
||
|
||
|
||
## :mag: How to | ||
|
||
- [How to use](./docs/How_to_use.md) | ||
- [How to customize config](./config/README.md) | ||
- [How to customize agent](./core/agent/README.md) | ||
- [How to customize environment](./core/env/README.md) | ||
- [How to customize network](./core/network/README.md) | ||
- [How to customize buffer](./core/buffer/README.md) | ||
|
||
|
||
|
||
## :page_facing_up: Documentation | ||
|
||
- [Implementation List](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/Implementation_list.md) | ||
- [Benchmark](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/Benchmark.md) | ||
- [Distributed Architecture](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/Distributed_Architecture.md) | ||
- [Reference](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/Reference.md) | ||
- [Distributed Architecture](./docs/Distributed_Architecture.md) | ||
- [Role of Managers](./manager/README.md) | ||
- [Implementation List](./docs/Implementation_list.md) | ||
- [Naming Convention](./docs/Naming_convention.md) | ||
- [Benchmark](https://www.notion.so/rlnote/Benchmark-c7642d152cad4980bc03fe804fe9e88a) | ||
- [Reference](./docs/Reference.md) | ||
|
||
|
||
- [How to use](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/How_to_use.md) | ||
- [How to add RL algorithm](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/How_to_add_rl_algorithm.md) | ||
- [How to add environment](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/How_to_add_environment.md) | ||
- [How to add network](https://github.kakaocorp.com/leonard-q/RL_Algorithms/blob/master/docs/How_to_add_network.md) | ||
|
||
## :busts_in_silhouette: Contributors | ||
|
||
:mailbox: Contact: [Leonard.Q](leonard.q@kakaoenterprise.com), [Ramanuzan.Lee]([email protected]), [Royce.Choi]([email protected]) | ||
:mailbox: Contact: atech.rl@kakaocorp.com | ||
|
||
<img src="./img/contributors.png" alt="contributors" width=80%/> | ||
<img src="./resrc/contributors.png" alt="contributors" width=80%/> | ||
|
||
|
||
## :copyright: License | ||
|
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# How to customize config | ||
|
||
## Config file management rules | ||
- The config file provided by default is mainly managed in the form of config/\[agent\]/\[env\].py. | ||
- For a specific environment group that shares parameters, manage it in the form of config/\[agent\]/\[env_group\], and specify the environment name with --env.name in the run command. | ||
|
||
reference: [dqn/cartpole.py](./dqn/cartpole.py), [dqn/atari.py](./dqn/atari.py) | ||
|
||
## Config setting | ||
- The config file is managed with a total of four dictionary variables: agent, env, optim, and train. | ||
|
||
### agent | ||
- The agent dictionary manages input parameters used by the agent class. | ||
- name: The key of the agent class you want to use. | ||
- others: You can check it in the agent class. | ||
|
||
### env | ||
- The env dictionary manages input parameters used by the env class. | ||
- name: The key of the env class you want to use. | ||
- others: You can check it in the env class. | ||
|
||
### optim | ||
- The optim dictionary manages input parameters used by the optimizer class. Since the optimizer of pytorch is used as it is, any optimizer supported by pytorch can be used. | ||
- name: The key of the optimizer class you want to use. | ||
- others: You can check it in the optimizer class supported by pytorch. | ||
|
||
### train | ||
- The optim dictionary manages parameters used in the main script. | ||
- training: It means whether to learn. Set to False in the eval.py script and True otherwise. | ||
- load_path: It means the path to load the model. If you want to load the model or in the eval.py script, you need to set it. If not, set it None. | ||
- run_step: It determines the total number of interactions to proceed. | ||
- print_period: It means the cycle(unit=step) to print the progress. | ||
- save_period: It means the cycle(unit=step) to save the model. | ||
- eval_iteration: It means how many episodes will be run in total to get the evaluation score. | ||
- record: It means whether to record the simulation as the evaluation proceeds. If you set it True, simulation is saved as a gif file in save_path. If you set it True and env is recordable, simulation is saved as a gif file in save_path. (Note that this does not work for non-recordable environments.) | ||
- record_period: It means the cycle(unit=step) to record. | ||
- distributed_batch_size: In distributed script, uses distributed_batch_size instead of agent.batch_size. | ||
- update_period: It means the cycle(unit=step) in which actors pass transition data to learner. | ||
- num_workers: Total number of distributed actors which interact with env. | ||
|
||
__distributed_batch_size, update_period and num_workers are only used in distributed scripts.__ | ||
|
||
reference: [ppo/atari.py](./ppo/atari.py) |
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.