All Projects → neka-nat → distributed_rl

neka-nat / distributed_rl

Licence: MIT license
Pytorch implementation of distributed deep reinforcement learning

Programming Languages

python
139335 projects - #7 most used programming language
HCL
1544 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to distributed rl

Reinforcement Learning With Tensorflow
Simple Reinforcement learning tutorials, 莫烦Python 中文AI教学
Stars: ✭ 6,948 (+10427.27%)
Mutual labels:  deep-q-network, double-dqn, dueling-dqn
playing-mario-with-deep-reinforcement-learning
An implementation of (Double/Dueling) Deep-Q Learning to play Super Mario Bros.
Stars: ✭ 55 (-16.67%)
Mutual labels:  double-dqn, dueling-dqn
Paddle-RLBooks
Paddle-RLBooks is a reinforcement learning code study guide based on pure PaddlePaddle.
Stars: ✭ 113 (+71.21%)
Mutual labels:  double-dqn, dueling-dqn
connect4
Solving board games like Connect4 using Deep Reinforcement Learning
Stars: ✭ 33 (-50%)
Mutual labels:  double-dqn, dueling-dqn
Gym trading
Stars: ✭ 87 (+31.82%)
Mutual labels:  openai-gym, deep-q-network
Deep-Reinforcement-Learning-With-Python
Master classic RL, deep RL, distributional RL, inverse RL, and more using OpenAI Gym and TensorFlow with extensive Math
Stars: ✭ 222 (+236.36%)
Mutual labels:  openai-gym, double-dqn
Deeprl
Modularized Implementation of Deep RL Algorithms in PyTorch
Stars: ✭ 2,640 (+3900%)
Mutual labels:  double-dqn, prioritized-experience-replay
dqn-lambda
NeurIPS 2019: DQN(λ) = Deep Q-Network + λ-returns.
Stars: ✭ 20 (-69.7%)
Mutual labels:  openai-gym, deep-q-network
Hands On Reinforcement Learning With Python
Master Reinforcement and Deep Reinforcement Learning using OpenAI Gym and TensorFlow
Stars: ✭ 640 (+869.7%)
Mutual labels:  openai-gym, deep-q-network
Gym Fx
Forex trading simulator environment for OpenAI Gym, observations contain the order status, performance and timeseries loaded from a CSV file containing rates and indicators. Work In Progress
Stars: ✭ 151 (+128.79%)
Mutual labels:  openai-gym, deep-q-network
social-network
Microservices project
Stars: ✭ 39 (-40.91%)
Mutual labels:  distributed-systems, amazon-web-services
little-raft
The lightest distributed consensus library. Run your own replicated state machine! ❤️
Stars: ✭ 316 (+378.79%)
Mutual labels:  distributed-systems
Deep-Learning-Mahjong---
Reinforcement learning (RL) implementation of imperfect information game Mahjong using markov decision processes to predict future game states
Stars: ✭ 45 (-31.82%)
Mutual labels:  deep-q-network
mdp
Make it easy to specify simple MDPs that are compatible with the OpenAI Gym.
Stars: ✭ 30 (-54.55%)
Mutual labels:  openai-gym
aws-cfn-custom-resource-lambda-edge
🏗 AWS CloudFormation custom resource that allows deploying Lambda@Edge from any region
Stars: ✭ 19 (-71.21%)
Mutual labels:  amazon-web-services
aws-signature-version-4
The buttoned-up and boring, but deeply analyzed, implementation of SigV4 in .NET
Stars: ✭ 57 (-13.64%)
Mutual labels:  amazon-web-services
drl grasping
Deep Reinforcement Learning for Robotic Grasping from Octrees
Stars: ✭ 160 (+142.42%)
Mutual labels:  openai-gym
neat-openai-gym
NEAT for Reinforcement Learning on the OpenAI Gym
Stars: ✭ 19 (-71.21%)
Mutual labels:  openai-gym
democracy
Tools for peer-to-peer privacy with Ethereum and AZTEC
Stars: ✭ 36 (-45.45%)
Mutual labels:  distributed-systems
aws-lambda-decorators
A set of Python decorators to simplify AWS lambda development
Stars: ✭ 19 (-71.21%)
Mutual labels:  amazon-web-services

distributed_rl

This is pytorch implementation of distributed deep reinforcement learning.

image

actors

System

In our system, there are two processes, Actor and Learner. In Learner process, thread of the replay memory runs at the same time, and these processes communicate using Redis.

system

Install

git clone https://github.com/neka-nat/distributed_rl.git
cd distributed_rl
poetry install

Install redis-server.

sudo apt-get install redis-server

Setting Atari. https://github.com/openai/atari-py#roms

Run

The following command is running all actors and learner in localhost. The number of actor's processes is given as an argument.

poetry shell
./run.sh 4

Run r2d2 mode.

./run.sh 4 config/all_r2d2.conf

Docker build

cd distributed_rl
docker-compose up -d

Use EKS

Create EKS resource.

cd terraform
terraform init
terraform plan
terraform apply
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].