GithubHelp home page GithubHelp logo

siyuanlee / ga3c-deepnavigation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tgangwani/ga3c-deepnavigation

0.0 0.0 0.0 1.87 MB

Implementation of DeepMind paper - "Learning to Navigate in Complex Environments"

Python 100.00%

ga3c-deepnavigation's Introduction

Maze Navigation using Reinforcement Learning

Description

TensorFlow implementation of ideas in the DeepMind paper "Learning to Navigate in Complex Environments". The baseline architecture is GPU-based A3C from the paper "Reinforcement Learning through Asynchronous Advantage Actor-Critic on a GPU". Full report.

Requirements

  • TensorFlow 1.0
  • DeepMind Lab
  • Python plugins - numpy, cv2, pygame

Getting Started

Dowload and install DeepMind Lab

$ git clone https://github.com/deepmind/lab.git

Build it following the build instructions

Clone repo inside the lab directory

$ cd lab
$ git clone https://github.com/tgangwani/GA3C-DeepNavigation.git

Add the bazel instructions at the end of lab/BUILD file

py_binary(
    name = "GA3C-DeepNavigation_train",
    srcs = ["GA3C-DeepNavigation/GA3C.py"],
    data = [":deepmind_lab.so"],
    main = "GA3C-DeepNavigation/GA3C.py",
)

Then run bazel command to run the agent

bazel run :GA3C-DeepNavigation_train --define headless=osmesa

Use PLAY_MODE=False in Config.py for training. Setting PLAY_MODE=True loads model parameters from a checkpoint and runs a single agent. A display is expected.

Network

The neural net architecture is the same as in the paper, but for the loop-prediction loss.

Results

1. Nav_maze_static_01

Live Agent

YouTube

Learning Curve

2. Stairway to melon

Live Agent

YouTube

Learning Curve

Acknowledgement

Unreal code by miyosuda

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.