All Projects → vkurenkov → haxball-chameleon

vkurenkov / haxball-chameleon

Licence: MIT license
Solving Haxball (www.haxball.com) using Imitation Learning methods.

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to haxball-chameleon

end2end-self-driving-car
End-to-end Self-driving Car (Behavioral Cloning)
Stars: ✭ 19 (-5%)
Mutual labels:  behavioral-cloning, imitation-learning
SAComputerVisionMachineLearning
Computer Vision and Machine Learning related projects of Udacity's Self-driving Car Nanodegree Program
Stars: ✭ 36 (+80%)
Mutual labels:  behavioral-cloning
Pantheon
Pantheon of Congestion Control
Stars: ✭ 170 (+750%)
Mutual labels:  imitation-learning
Mil
Code for "One-Shot Visual Imitation Learning via Meta-Learning"
Stars: ✭ 254 (+1170%)
Mutual labels:  imitation-learning
Face Nn
游戏捏脸,基于神经风格迁移框架生成逼真人脸
Stars: ✭ 192 (+860%)
Mutual labels:  imitation-learning
behavioral cloning
Deep learning to train an autonomous vehicle to mimic human driving
Stars: ✭ 26 (+30%)
Mutual labels:  behavioral-cloning
Gym Carla
An OpenAI gym wrapper for CARLA simulator
Stars: ✭ 164 (+720%)
Mutual labels:  imitation-learning
Tianshou
An elegant PyTorch deep reinforcement learning library.
Stars: ✭ 4,109 (+20445%)
Mutual labels:  imitation-learning
Awesome Carla
👉 CARLA resources such as tutorial, blog, code and etc https://github.com/carla-simulator/carla
Stars: ✭ 246 (+1130%)
Mutual labels:  imitation-learning
Elastic-Boundary-Projection
Elastic Boundary Projection for 3D Medical Image Segmentation - CVPR 2019
Stars: ✭ 57 (+185%)
Mutual labels:  behavioral-cloning
My bibliography for research on autonomous driving
Personal notes about scientific and research works on "Decision-Making for Autonomous Driving"
Stars: ✭ 197 (+885%)
Mutual labels:  imitation-learning
Awesome Real World Rl
Great resources for making Reinforcement Learning work in Real Life situations. Papers,projects and more.
Stars: ✭ 234 (+1070%)
Mutual labels:  imitation-learning
end-to-end-deep-learning
Autonomous driving simulation in the Unity engine.
Stars: ✭ 27 (+35%)
Mutual labels:  behavioral-cloning
Gail Tf
Tensorflow implementation of generative adversarial imitation learning
Stars: ✭ 179 (+795%)
Mutual labels:  imitation-learning
Pontryagin-Differentiable-Programming
A unified end-to-end learning and control framework that is able to learn a (neural) control objective function, dynamics equation, control policy, or/and optimal trajectory in a control system.
Stars: ✭ 111 (+455%)
Mutual labels:  imitation-learning
Coach
Reinforcement Learning Coach by Intel AI Lab enables easy experimentation with state of the art Reinforcement Learning algorithms
Stars: ✭ 2,085 (+10325%)
Mutual labels:  imitation-learning
self-driving-car
Implementation of the paper "End to End Learning for Self-Driving Cars"
Stars: ✭ 54 (+170%)
Mutual labels:  behavioral-cloning
haxball bot headless
Ready-to-go scripts and functions for the HaxBall Headless API !
Stars: ✭ 34 (+70%)
Mutual labels:  haxball
rpg
Ranking Policy Gradient
Stars: ✭ 22 (+10%)
Mutual labels:  imitation-learning
Behavior-Cloning
end to end learning for self-driving
Stars: ✭ 25 (+25%)
Mutual labels:  behavioral-cloning

Haxball Chameleon

This repository contains an interface for interacting with the game and an implementation of behavioral clonning agent.

What is HaxBall anyway?


HaxBall is a realtime multiplayer game that plays like a mix between football and air-hockey, and it's a real blast (official about).

How to run my agents?


LINUX ONLY.

Make the server running.

  1. Add the following line to your hosts file (c:\windows\system32\drivers\etc\hosts on windows, /etc/hosts on linux)
127.0.0.1 inter.haxball.com
  1. Start the server
python run_server.py

Call up your agent.

  1. Edit run_bot.py script to instantiate your agent (an example is provided).

  2. Start interaction between the agent and the server. The server allows multiple connections, thus you should provide your connection channel (any integer you like, defaults to 0).

python run_bot.py --channel-id=0
  1. Open inter.haxball.com:8080/#channel_id in your browser. This is the original game with slight modifications to allow sending states and accepting the inputs from the bot.

How to parse replays?


  1. Run raw replays converter. It will preprocess raw replays, put them into a separate folder, and create a file with nickname mapping (nickname -> all replays).
python run_converter.py --path=replays/
  1. Use utilities provided in replay.py to parse converted replays.
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].