Hi i am a graduate in China.
why ? the nengo-gui says
must declare a nengo.Network called “model”
to me ,when i write the same codes of the example of Integrator — Nengo 3.1.0 docs ?
for example :
The error you are getting (“Must declare a nengo.Network called “model””) is only applicable to the NengoGUI. In the NengoGUI, all models defined must have base model called model. The example you linked is meant to be run either as a Jupyter notebook, or as standalone code (i.e., in a separate python file). Running a Nengo model in either of these two modes do not have the “model” name restriction.
The neural integrator example you linked actually has a NengoGUI counterpart. You can find it in NengoGUI under Open File → build-in examples → recurrent → integrator.py: