Hello all,
I already posted a Github issue as the example for a creating a custom region does not work.
Something must be missing for the initialization of the network (engine_internal) as network.initialize()
causes the following error:
Traceback (most recent call last):
File "custom_region_demo.py", line 127, in <module>
network = createNetwork(dataSource)
File "custom_region_demo.py", line 101, in createNetwork
network.initialize()
File "/home/kaikun/.local/lib/python2.7/site-packages/nupic/engine/__init__.py", line 691, in initialize
engine_internal.Network.initialize(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/nupic/bindings/engine_internal.py", line 1159, in initialize
return _engine_internal.Network_initialize(self)
TypeError: initialize() takes exactly 3 arguments (1 given)
I’m sure others have already created custom regions and maybe know whats missing?
The network initialization usually does not require the optional arguments and if only sp/tm regions/sensors are used it works just fine.
Kind regards