Code Monkey home page Code Monkey logo

spaun2.0's Introduction

Spaun2.0
========

Running the Spaun [1]_ model in Nengo 2.0.

.. [1] Chris Eliasmith, Terrence C. Stewart, Xuan Choo, Trevor Bekolay,
   Travis DeWolf, Yichuan Tang, and Daniel Rasmussen. A large-scale model
   of the functioning brain. Science, 338:1202-1205, 2012.
   URL: http://nengo.ca/publications/spaunsciencepaper
   doi:10.1126/science.1225266.


Running with Nengo OCL
----------------------

If you want to run with ``nengo_ocl``:

    python run_spaun.py -d 512 --ocl --ocl_platform=1 --ocl_device=3

where:
    - the -d flag sets the dimensionality of spaun,
    - the --ocl flag tells the run script to use ocl
    - the --ocl_platform flag tells it what OCL platform to use
    - the --ocl_device flag tells it what ocl device to use on said platform
      (this flag is optional, it's used in the context creation for pyopencl)

To determine the ``ocl_platform`` and ``ocl_device`` of the device you want to
use, see ``pyopencl.create_some_context()``.

To enable OCL profiling, find where the ``nengo_ocl.Simulator`` is created
in ``run_spaun.py``, and uncomment the version that has provifiling enabled.
Also uncomment the line to print profiling.

spaun2.0's People

Contributors

xchoo avatar hunse avatar

Watchers

James Cloos avatar  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.