Code Monkey home page Code Monkey logo

nec_tensorflow's Introduction

Neural Episodic Control Agent

This is an implementation of (a slightly modified version of) Deepmind's Neural Episodic Control.

The modifications:
  • The order of the LRU is modified only when the agent interacts its environment.
  • The convolutional layers are from the A3C's implementation of OpenAI.
  • The size of the input image is 42x42 pixels (Learning Atari: An Exploration of the A3C Reinforcement)

Dependencies

Results of our experiments on ATARI 2600's Ms. PacMan

Our base experiments had the following parameters:
  • Input image size: 42x42
  • Size of the DNDs: 100k

result_pictures/alap_tg.png

In the next experiments, we modified the size of the DNDs:
  • Input image size: 42x42
  • Size of the DNDs: 250k

result_pictures/250kdnd_tg.png

In the last experiments, we modified the size of the input image:
  • Input image size: 84x84
  • Size of the DNDs: 100k

result_pictures/84x84_tg.png

Notes

  • In case of FLANN, a fork is used instead of the original repo, because add_points() and remove_point() methods of FLANN has no python bindings in the original repo.
  • In the branch named "tab_update_for_neighbours" we modified the "_tabular_like_update" definition. In this case, the update doesn't take place only when there is an exact state match, but when the L2 distances of some items in the DND and the actual state embedding are below a threshold value. It is welcomed to take experiments with this setup.

nec_tensorflow's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

roopy7890

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.