rl_algorithms
Structural implementation of RL key algorithms
File Explorer
Download Latest Version (.zip)- python-publish.yaml
- CODEOWNERS
- __init__.py
- a2c.yaml
- bc_ddpg.yaml
- bc_sac.yaml
- ddpg.yaml
- ddpgfd.yaml
- gail_ppo.yaml
- ppo.yaml
- sac.yaml
- sacfd.yaml
- td3.yaml
- __init__.py
- acer.yaml
- distillation_dqn.yaml
- dqfd.yaml
- dqn.yaml
- ppo.yaml
- r2d1.yaml
- __init__.py
- apex_dqn.yaml
- distillation_dqn.yaml
- dqn.yaml
- dqn_resnet.yaml
- ppo.yaml
- r2d1.yaml
- __init__.py
- bc_ddpg.yaml
- bc_sac.yaml
- ddpg.yaml
- sac.yaml
- td3.yaml
- lunarlander_continuous_demo.pkl
- lunarlander_discrete_demo.pkl
- reacher_demo.pkl
- __init__.py
- agent.py
- learner.py
- __init__.py
- agent.py
- buffer.py
- learner.py
- __init__.py
- ddpg_agent.py
- ddpg_learner.py
- her.py
- sac_agent.py
- sac_learner.py
- __init__.py
- agent.py
- architecture.py
- buffer.py
- distributed_logger.py
- distributed_worker.py
- her.py
- learner.py
- reward_fn.py
- __init__.py
- architecture.py
- learner.py
- worker.py
- __init__.py
- distillation_buffer.py
- gail_buffer.py
- replay_buffer.py
- segment_tree.py
- wrapper.py
- __init__.py
- atari_wrappers.py
- multiprocessing_env.py
- normalizers.py
- utils.py
- __init__.py
- cnn.py
- resnet.py
- __init__.py
- brain.py
- heads.py
- __init__.py
- grad_cam.py
- helper_functions.py
- noise.py
- saliency_map.py
- __init__.py
- agent.py
- learner.py
- __init__.py
- dqn_agent.py
- README.md
- __init__.py
- agent.py
- distributed_logger.py
- distributed_worker.py
- learner.py
- linear.py
- losses.py
- networks.py
- __init__.py
- ddpg_agent.py
- ddpg_learner.py
- dqn_agent.py
- dqn_learner.py
- sac_agent.py
- sac_learner.py
- __init__.py
- agent.py
- learner.py
- networks.py
- utils.py
- __init__.py
- agent.py
- learner.py
- utils.py
- __init__.py
- dqn_agent.py
- learner.py
- losses.py
- utils.py
- __init__.py
- agent.py
- learner.py
- __init__.py
- agent.py
- learner.py
- __init__.py
- config.py
- registry.py
- __init__.py
- registry.py
- version
- test_distillation_buffer.py
- test_prioritized_buffer.py
- test_uniform_buffer.py
- test_run_agent.py
- test_run_apex.py
- test_run_distillation_agent.py
- test_cnn_cfg.py
- test_config_registry.py
- test_helper_funcion.py
- check_version.sh
- run_descrete_env.sh
- run_lunarlander_continuous_v2.sh
- run_reacher_v2.sh
- run_test.sh
- .all-contributorsrc
- .flake8
- .gitignore
- .isort.cfg
- .pre-commit-config.yaml
- .pylintrc
- Dockerfile
- Jenkinsfile
- LICENSE.md
- Makefile
- MANIFEST.in
- mypy.ini
- README.md
- requirements-dev.txt
- requirements.txt
- run_lunarlander_continuous_v2.py
- run_lunarlander_v2.py
- run_pong_no_frameskip_v4.py
- run_reacher_v2.py
- setup.py
π Installation Guide
git clone https://github.com/medipixel/rl_algorithms
Downloads the entire project code from GitHub to your computer.
cd rl_algorithms
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t rl-algorithms .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 rl-algorithms
Runs the built image as an actual container.
3. Python
Easypip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
4. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make dep
Compiles the code based on the generated build configuration to produce an executable.
make dev
Compiles the code based on the generated build configuration to produce an executable.
make format # for formatting
Compiles the code based on the generated build configuration to produce an executable.
make test # for linting
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
