Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[P] Implementations of basic RL algorithms with minimal codes!

[PyTorch Based]

Hi,

for those of you who are interested in RL,

I recently implemented basic RL algorithms such as

REINFORCE, vanilla actor-critic, DDPG, A3C, DQN and PPO with PyTorch.

Characteristics are as follows :

  • Each algorithm is complete within a single file.
  • Length of each algorithm is up to 100~150 lines of codes.
  • Every algorithm can be trained within 30 seconds, even without GPU.
  • Envs are fixed to “CartPole-v1”. You can just focus on the implementations.

As you can see in the name of the repository,

I tried to make the code as brief and intuitive as possible.

Hope you enjoy 🙂

Thank you.

https://github.com/seungeunrho/minimalRL

submitted by /u/seungeun07
[link] [comments]