Git Product home page Git Product logo

atari-vision's Introduction

ATARI

Dependencies

Arcade Learning Environment (ALE) OpenCV 3 with Java support

Installation

ALE

To run the Java project with ALE, it needs to have access to the ale executable, the ale.cfg file, and a folder containing the Atari ROMs. To do this, symbolic link these files into the code directory.

ln -s <path-to-ale>/ale <path-to-atari-vision>/code/ale
ln -s <path-to-ale>/ale.cfg <path-to-atari-vision>/code/ale.cfg
ln -s <path-to-rom-directory> <path-to-atari-vision>/code/roms

JavaCPP Caffe with cuDNN

To run our deep learning experiments, we are using the caffe library. With the current pom.xml file, all the needed code should be downloaded run smoothly. But, these repositories compile caffe without cuDNN, which makes the GPU training much slower. To compile with cuDNN, first clone the JavaCPP presets repo:

git clone https://github.com/bytedeco/javacpp-presets

By default, this library does not compile caffe with cuDNN, so we have to change the cppbuild.sh script. Replace the javacpp-presets/caffe/cppbuild.sh with the file provided in the instalation_files directory. Now run these commands to compile JavaCPP caffe and install it to maven:

./cppbuild.sh install caffe
mvn install --projects caffe

Now this library should be linked with maven.

Linking with an IDE

To open this project in IntelliJ or Eclipse, import it using maven.

In IntelliJ: creat a new "Project from Existing Sources," select the folder, select Maven for "Import project from external model," and then navigate through the project wizard.

Running

The project can be run and compiled through IntelliJ or Eclipse

atari-vision's People

Contributors

osiykm avatar

Watchers

 avatar

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.