[nengo-user] Problem with "Generate Script"

Markus Lohmeyer markus.lohmeyer at gmx.de
Mon Feb 9 18:40:19 EST 2015


Dear nengo-team, dear nengo-users,

I discovered nengo a few month ago and now I am modeling relational
reasoning as the subject for my master thesis. Doing so, I run into
several problems, I hope you can help me with some of them. First of
all: All problems occurred on both of my computer systems, so it seems
these are general problems. My systems are:

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)

First, the big problem:

The "Generate Script" function does not work properly (is at least my
impression). If the model contains the Thalamus template I had no chance
to create a script from it. Every time I tried, I got the error message:

"Could not perform action: java.lang.ClassCastExeption:
java.lang.integer cannot be cast to java.lang.Double".

This seems a little improved in the latest (unstable) nengo version
(nengo-d37a2c3), because the Thalamus alone does not evoke this problem
anymore (unlike version eb57aaa), but it still occurs in larger
networks. So, I got the mentioned error message every time it was
important (even with nengo-d37a2c3) which is a real pity because it
would help learning nengo a lot. If someone has a solution or can
determine when this problem appears exactly, please let me know.

Additionally, automatically generated scripts (those without a Thalamus)
use commas to separate the decimal place (even on my English Win 7). So,
I have to change this by hand every time (and needed a lot of time to
figure out the problem in the first place). If someone knows the reason
for this (Ubuntu is German / Win 7 English same problem one both
systems) I really would like to know the answer.


Here some minor problems:

1. If I remove a BG-Rule Template from the Basal Ganglia and add a new
rule, I run into trouble because the indexes are not reset. So, if I
have two rules allowed in the Basal Ganglia and already specified two, I
can not simply erase one and add another. I have to delete the Basal
Ganglia too. This is not a problem, more an inconvenience but I wanted
to mention it, maybe someone has a solution for this problem.

2. It seems there is no option to access the direct mode in the GUI, I
can get access to it only via script. Is that correct?


Hopefully waiting and sincerely yours,

Markus











More information about the nengo-user mailing list