All Projects → JuliaML → AtariAlgos.jl

JuliaML / AtariAlgos.jl

Licence: other
Arcade Learning Environment (ALE) wrapped as a Reinforce.jl environment

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to AtariAlgos.jl

benchopt
Making your benchmark of optimization algorithms simple and open
Stars: ✭ 89 (+134.21%)
Mutual labels:  julialang
free-lunch-saliency
Code for "Free-Lunch Saliency via Attention in Atari Agents"
Stars: ✭ 15 (-60.53%)
Mutual labels:  atari
BlueRetro
Multiplayer Bluetooth controllers adapter for retro video game consoles
Stars: ✭ 520 (+1268.42%)
Mutual labels:  atari
SpinMonteCarlo.jl
Markov chain Monte Carlo solver for lattice spin systems implemented by Julialang
Stars: ✭ 35 (-7.89%)
Mutual labels:  julialang
DQN-pytorch
A PyTorch implementation of Human-Level Control through Deep Reinforcement Learning
Stars: ✭ 23 (-39.47%)
Mutual labels:  atari
Pytorch-RL-CPP
A Repository with C++ implementations of Reinforcement Learning Algorithms (Pytorch)
Stars: ✭ 73 (+92.11%)
Mutual labels:  atari
IterTools.jl
Common functional iterator patterns
Stars: ✭ 124 (+226.32%)
Mutual labels:  julialang
DynamicHMCExamples.jl
Examples for Bayesian inference using DynamicHMC.jl and related packages.
Stars: ✭ 33 (-13.16%)
Mutual labels:  julialang
salvador
A free, open-source compressor for the ZX0 format
Stars: ✭ 35 (-7.89%)
Mutual labels:  atari
julia koans
Small exercises to get you used to reading and writing Julia code!
Stars: ✭ 28 (-26.32%)
Mutual labels:  julialang
Scientific-Programming-in-Julia
Repository for B0M36SPJ
Stars: ✭ 32 (-15.79%)
Mutual labels:  julialang
6502.Net
A .Net-based Cross-Assembler for Several 8-Bit Microprocessors
Stars: ✭ 44 (+15.79%)
Mutual labels:  atari
LatticeQCD.jl
A native Julia code for lattice QCD with dynamical fermions in 4 dimension.
Stars: ✭ 85 (+123.68%)
Mutual labels:  julialang
Learn.jl
JuliaML bundled in a convenient all-in-one toolkit.
Stars: ✭ 57 (+50%)
Mutual labels:  julialang
GameZero.jl
Zero overhead game development library for the Julia programming language
Stars: ✭ 143 (+276.32%)
Mutual labels:  julialang
mmn
Moore Machine Networks (MMN): Learning Finite-State Representations of Recurrent Policy Networks
Stars: ✭ 39 (+2.63%)
Mutual labels:  atari
FastClosures.jl
Faster closure variable capture
Stars: ✭ 39 (+2.63%)
Mutual labels:  julialang
Julia-sublime
Julia syntax highlighting for Sublime Text
Stars: ✭ 106 (+178.95%)
Mutual labels:  julialang
XUnit.jl
XUnit.jl is a unit-testing framework for Julia.
Stars: ✭ 32 (-15.79%)
Mutual labels:  julialang
DQN-Atari
Deep Q-Learning (DQN) implementation for Atari pong.
Stars: ✭ 53 (+39.47%)
Mutual labels:  atari

AtariAlgos

Author: Thomas Breloff

Build Status

AtariAlgos wraps the ArcadeLearningEnvironment as an implementation of an AbstractEnvironment from the Reinforce interface. This allows it to be used as a plug-and-play module with general reinforcement learning agents.

Setup:

Pkg.clone("https://github.com/JuliaML/AtariAlgos.jl")

(Optional) Download roms:

using AtariAlgos
AtariAlgos.download_roms()

Games can also be "plotted" using Plots.jl through a simple definition of a recipe for AtariEnv objects, allowing it to be a component of more complex visualizations for tracking learning progress and more, as well as making it easy to create animations.

Example

using AtariAlgos

# construct a game of Breakout
game = AtariEnv("breakout")

# set up for plotting
using Plots
gr(size=(200,300), leg=false)
rewards = Float64[]

# run the episode using the Episode iterator, creating an animated gif in the process
@gif for sars in Episode(game, RandomPolicy())
	push!(rewards, sars[3])
	plot(
		plot(game),
		sticks(rewards, yticks=nothing),
		layout=@layout [a;b{0.2h}]
	)
end every 10

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