[nengo-user] Problem with "direct mode"

Daniel Rasmussen dhrsmss at gmail.com
Thu Feb 12 17:09:04 EST 2015


Hi Markus,

Yes, unfortunately the gating won't work in direct mode.  This is because
the gating mechanism relies on the innate neural thresholding properties,
so if the neurons aren't being simulated then that just doesn't exist.  The
usual technique is to leave the gates in non-Direct mode, and just switch
the other components to Direct.  This can be accomplished using the
`fixMode` function, which will prevent an ensemble's mode from changing.
For example, if `a` is the ensemble that you don't want to go into Direct
mode, you can call `a.fixMode([SimulationMode.RATE,
SimulationMode.DEFAULT])`.  Then if you change the mode of the parent
network to Direct, `a` will stay in Rate or Default mode.

Daniel

On 12 February 2015 at 16:41, Markus Lohmeyer <markus.lohmeyer at gmx.de>
wrote:

> Dear nengo-team, dear nengo-users,
>
> I encountered a problem regarding the "direct mode". While I tried to
> spare some computational expense on my computer I got the impression
> that "gating" (using gates in the BG-Thalamus-System) is not possible
> when one uses "direct mode". Every gated ensemble or network array
> behaves like an ungated one in "direct mode". Can you confirm this? If
> so, do you know a workaround for this? Since there are many ensembles in
> my model which are gated "direct mode" looses a lot of its usefulness
> for me.
>
> Sincerely yours,
>
> Markus
>
>
>
> The computer systems where I tested the described behavior:
>
> System 1:
> Ubuntu 14.10 (all updates)
> Java 7.25
> Python 2.7.8
> nengo-eb57aaa and nengo-d37a2c3 (I tried both)
>
> System 2:
> Win 7 64bit (all updates)
> Java 8.31
> Python 3.4.1
> nengo-eb57aaa and nengo-d37a2c3 (I tried both)
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> nengo-user mailing list
> nengo-user at ctnsrv.uwaterloo.ca
> http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20150212/1858b3c2/attachment-0002.html>


More information about the nengo-user mailing list