All Projects → ajit2704 → Reinforcement-Learning-on-google-colab

ajit2704 / Reinforcement-Learning-on-google-colab

Licence: other
Reinforcement Learning algorithm's using google-colab

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Reinforcement-Learning-on-google-colab

Fruit-API
A Universal Deep Reinforcement Learning Framework
Stars: ✭ 61 (+84.85%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
yarll
Combining deep learning and reinforcement learning.
Stars: ✭ 84 (+154.55%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
Master-Thesis
Deep Reinforcement Learning in Autonomous Driving: the A3C algorithm used to make a car learn to drive in TORCS; Python 3.5, Tensorflow, tensorboard, numpy, gym-torcs, ubuntu, latex
Stars: ✭ 33 (+0%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
king-pong
Deep Reinforcement Learning Pong Agent, King Pong, he's the best
Stars: ✭ 23 (-30.3%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
deeprl-continuous-control
Learning Continuous Control in Deep Reinforcement Learning
Stars: ✭ 14 (-57.58%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
Deep-rl-mxnet
Mxnet implementation of Deep Reinforcement Learning papers, such as DQN, PG, DDPG, PPO
Stars: ✭ 26 (-21.21%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
Deep Reinforcement Learning
Repo for the Deep Reinforcement Learning Nanodegree program
Stars: ✭ 4,012 (+12057.58%)
Mutual labels:  deep-reinforcement-learning, reinforcement-learning-algorithms
Watermark Remover
Remove watermark automatically(Just can use for fixed position watermark till now). 自动水印消除算法的实现(目前只支持固定水印位置)。
Stars: ✭ 236 (+615.15%)
Mutual labels:  deep-reinforcement-learning
TFLite-ModelMaker-EfficientDet-Colab-Hands-On
TensorFlow Lite Model Makerで物体検出を行うハンズオン用資料です(Hands-on for object detection with TensorFlow Lite Model Maker)
Stars: ✭ 15 (-54.55%)
Mutual labels:  colab-notebook
Pytorch Drl
PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Stars: ✭ 233 (+606.06%)
Mutual labels:  deep-reinforcement-learning
SharkStock
Automate swing trading using deep reinforcement learning. The deep deterministic policy gradient-based neural network model trains to choose an action to sell, buy, or hold the stocks to maximize the gain in asset value. The paper also acknowledges the need for a system that predicts the trend in stock value to work along with the reinforcement …
Stars: ✭ 63 (+90.91%)
Mutual labels:  deep-reinforcement-learning
Deep Rl Trading
playing idealized trading games with deep reinforcement learning
Stars: ✭ 228 (+590.91%)
Mutual labels:  deep-reinforcement-learning
marltoolbox
A toolbox with the goal of speeding up research on bargaining in MARL (cooperation problems in MARL).
Stars: ✭ 25 (-24.24%)
Mutual labels:  reinforcement-learning-algorithms
Roboleague
A car soccer environment inspired by Rocket League for deep reinforcement learning experiments in an adversarial self-play setting.
Stars: ✭ 236 (+615.15%)
Mutual labels:  deep-reinforcement-learning
agentmodels.org
Modeling agents with probabilistic programs
Stars: ✭ 66 (+100%)
Mutual labels:  reinforcement-learning-algorithms
Learning To Communicate Pytorch
Learning to Communicate with Deep Multi-Agent Reinforcement Learning in PyTorch
Stars: ✭ 236 (+615.15%)
Mutual labels:  deep-reinforcement-learning
Machine Learning Uiuc
🖥️ CS446: Machine Learning in Spring 2018, University of Illinois at Urbana-Champaign
Stars: ✭ 233 (+606.06%)
Mutual labels:  deep-reinforcement-learning
action-branching-agents
(AAAI 2018) Action Branching Architectures for Deep Reinforcement Learning
Stars: ✭ 91 (+175.76%)
Mutual labels:  deep-reinforcement-learning
AI-Projects
AI项目(强化学习、深度学习、计算机视觉、推荐系统、自然语言处理、机器导航、医学影像处理)
Stars: ✭ 39 (+18.18%)
Mutual labels:  deep-reinforcement-learning
Drl based selfdrivingcarcontrol
Deep Reinforcement Learning (DQN) based Self Driving Car Control with Vehicle Simulator
Stars: ✭ 249 (+654.55%)
Mutual labels:  deep-reinforcement-learning

Reinforcement Learning on google colab

Colab notebook links

  1. gym_intro
  2. crossentropy_method
  3. qlearning
  4. Actor-Critic

Guide to follow

Google Colaboratory provides that 12GB GPU support with continuous 12 hr runtime. For RL it requires to render the environment visuals. Here is sort of a tutorial to get over that issue & continue free coding.

Motive of this blog will be to use gym & gym[atari] on colab. For Deep Learning & other setup you may want to refer this article, it will also give you the basic understanding.

Most of the requirements of python packages are already fulfilled on colab. To run gym, 1st you have to install prerequisites like xvbf,opengl & other python-dev packages:

!apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg- dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig

Now for rendering environment I prefer to use pyvirtualdisplay, so to fulfill that:

   !pip install pyvirtualdisplay
   !pip install piglet

To activate virtual display we need to run a script once for training an agent, as follows:

from pyvirtualdisplay import Display
display = Display(visible=0, size=(1400, 900))
display.start()

Moving on to gym requirements, gym is already installed but not with atari game environments, to get that:

!pip install gym
!pip install “gym[atari]"

References

  1. For gym, check the https://gym.openai.com/docs/
  2. For colab, checkout https://medium.com/deep-learning-turkey/google-colab-free-gpu-tutorial-e113627b9f5d
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].