Hi,

In an attempt to understand and use the new sensorimotor inference, temporal memory and temporal pooling, I have tried to run the experiments in nupic.research without success. I have installed the current nupic and nupic.research from github and tried the following from the sensorimotor/experiments directory:

1. sm_pooling_hello_world.py
This runs and gives some tabular output and then-
home/andrew/Development/NuPIC/nupic.research/sensorimotor/sensorimotor/general_temporal_memory.py in compute(self, activeColumns, activeExternalCells, formInternalConnections, learn)
     92 self.predictiveCells,
     93 self.activeSegments,
---> 94 self.numActiveSynapsesForSegment,
     95                                            self.activeCells,
     96                                            self.winnerCells,
AttributeError: 'MonitoredGeneralTemporalMemory' object has no attribute 'numActiveSynapsesForSegment'

2. sm_simple_1D_test.py
Starts ok and then-
File "/home/andrew/Development/NuPIC/nupic.research/sensorimotor/sensorimotor/TM_SM.py", line 1462, in chooseDistalDendriticInputToLearnFrom
    self._random.getUInt32Sample(indices, tmp, True)
AttributeError: 'Random' object has no attribute 'getUInt32Sample'

3. sm_1D_test.py
File "/home/andrew/Development/NuPIC/nupic.research/sensorimotor/experiments/sm_1D_test.py", line 55, in <module>
class TMI(TemporalMemoryInspectMixin,GeneralTemporalMemory): pass
NameError: name 'TemporalMemoryInspectMixin' is not defined

4. sm_pooling_1d_test.py
same error as for 1.
AttributeError: 'MonitoredGeneralTemporalMemory' object has no attribute 'numActiveSynapsesForSegment'

5. sm_test_with_pooling.py
same error as for 2.
AttributeError: 'Random' object has no attribute 'getUInt32Sample'


I would like to know, if possible
A. does this look like I am missing something?
B. has anyone had success with sensorimotor/experiments from github?
C. should I just wait for something more stable?

With thanks in advance,
Andrew Currie

Reply via email to