Skip to content
Spaun (nengo 2.0 version)
Python C C++
Branch: master
Clone or download
xchoo Fixed minor bugs with integer division
- Fixed issue with integer division (in Python3) causing image shape to be saved as a float instead of an integer.
- Corrected log comment in
Latest commit c116cd4 Sep 17, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
_spaun Fixed minor bugs with integer division Sep 17, 2018
data Added data folder Oct 28, 2015
README Added README Apr 1, 2016 Fixed Python3 compability error in Sep 17, 2018 Fixed minor bugs with integer division Sep 17, 2018 Additions to Sep 17, 2018



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.

Running with Nengo OCL

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

    python -d 512 --ocl --ocl_platform=1 --ocl_device=3

    - 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 ````, and uncomment the version that has provifiling enabled.
Also uncomment the line to print profiling.
You can’t perform that action at this time.