All Projects → danaugrs → Huskarl

danaugrs / Huskarl

Licence: mit
Deep Reinforcement Learning Framework + Algorithms

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Huskarl

Awesome Ai Books
Some awesome AI related books and pdfs for learning and downloading, also apply some playground models for learning
Stars: ✭ 855 (+106.52%)
Mutual labels:  artificial-intelligence, algorithms, reinforcement-learning
Awesome Decision Making Reinforcement Learning
A selection of state-of-the-art research materials on decision making and motion planning.
Stars: ✭ 68 (-83.57%)
Mutual labels:  artificial-intelligence, algorithms, reinforcement-learning
Gdrl
Grokking Deep Reinforcement Learning
Stars: ✭ 304 (-26.57%)
Mutual labels:  artificial-intelligence, algorithms, reinforcement-learning
Ai Job Notes
AI算法岗求职攻略(涵盖准备攻略、刷题指南、内推和AI公司清单等资料)
Stars: ✭ 3,191 (+670.77%)
Mutual labels:  artificial-intelligence, algorithms
My Awesome Ai Bookmarks
Curated list of my reads, implementations and core concepts of Artificial Intelligence, Deep Learning, Machine Learning by best folk in the world.
Stars: ✭ 223 (-46.14%)
Mutual labels:  artificial-intelligence, algorithms
Evostra
A fast Evolution Strategy implementation in Python
Stars: ✭ 227 (-45.17%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Adeptrl
Reinforcement learning framework to accelerate research
Stars: ✭ 173 (-58.21%)
Mutual labels:  artificial-intelligence, reinforcement-learning
He4o
和(he for objective-c) —— “信息熵减机系统”
Stars: ✭ 284 (-31.4%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Polyaxon
Machine Learning Platform for Kubernetes (MLOps tools for experimentation and automation)
Stars: ✭ 2,966 (+616.43%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Dreamerv2
Mastering Atari with Discrete World Models
Stars: ✭ 287 (-30.68%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Rl4j
Deep Reinforcement Learning for the JVM (Deep-Q, A3C)
Stars: ✭ 330 (-20.29%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Amazing Machine Learning Opensource 2019
Amazing Machine Learning Open Source Tools and Projects for the Past Year (v.2019)
Stars: ✭ 198 (-52.17%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Dm control
DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo.
Stars: ✭ 2,592 (+526.09%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Applied Reinforcement Learning
Reinforcement Learning and Decision Making tutorials explained at an intuitive level and with Jupyter Notebooks
Stars: ✭ 229 (-44.69%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Free Ai Resources
🚀 FREE AI Resources - 🎓 Courses, 👷 Jobs, 📝 Blogs, 🔬 AI Research, and many more - for everyone!
Stars: ✭ 192 (-53.62%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Dreamer
Dream to Control: Learning Behaviors by Latent Imagination
Stars: ✭ 269 (-35.02%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Reinforcement Learning
Learn Deep Reinforcement Learning in 60 days! Lectures & Code in Python. Reinforcement Learning + Deep Learning
Stars: ✭ 3,329 (+704.11%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Pomdps.jl
MDPs and POMDPs in Julia - An interface for defining, solving, and simulating fully and partially observable Markov decision processes on discrete and continuous spaces.
Stars: ✭ 338 (-18.36%)
Mutual labels:  artificial-intelligence, reinforcement-learning
Machine Learning Notes
周志华《机器学习》手推笔记
Stars: ✭ 2,710 (+554.59%)
Mutual labels:  artificial-intelligence, algorithms
Atari
AI research environment for the Atari 2600 games 🤖.
Stars: ✭ 174 (-57.97%)
Mutual labels:  artificial-intelligence, reinforcement-learning

Huskarl PyPI version

Huskarl is a framework for deep reinforcement learning focused on modularity and fast prototyping. It's built on TensorFlow 2.0 and uses the tf.keras API when possible for conciseness and readability.

Huskarl makes it easy to parallelize computation of environment dynamics across multiple CPU cores. This is useful for speeding up on-policy learning algorithms that benefit from multiple concurrent sources of experience such as A2C or PPO. It is especially useful for computationally intensive environments such as physics-based ones.

Huskarl works seamlessly with OpenAI Gym environments.

There are plans to support multi-agent environments and Unity3D environments.

Algorithms

Several algorithms are implemented and more are planned.

  • [x] Deep Q-Learning Network (DQN)
  • [x] Multi-step DQN
  • [x] Double DQN
  • [x] Dueling Architecture DQN
  • [x] Advantage Actor-Critic (A2C)
  • [x] Deep Deterministic Policy Gradient (DDPG)
  • [x] Prioritized Experience Replay
  • [ ] Proximal Policy Optimization (PPO)
  • [ ] Curiosity-Driven Exploration

Installation

You can install the latest version from source with:

git clone https://github.com/danaugrs/huskarl.git
cd huskarl
pip install -e .

If you prefer, you can get the packaged version from PyPI:

pip install huskarl

Examples

There are three examples included - one for each implemented agent type. To run the examples you will need matplotlib and gym installed.

dqn-cartpole.py

dqn-cartpole.gif

ddpg-pendulum.py

ddpg-pendulum.gif

a2c-cartpole.py

a2c-cartpole.gif

Citing

If you use Huskarl in your research, you can cite it as follows:

@misc{salvadori2019huskarl,
    author = {Daniel Salvadori},
    title = {huskarl},
    year = {2019},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/danaugrs/huskarl}},
}

About

hùskarl in Old Norse means a warrior who works in his/her lord's service.

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].