Diego responded to a digest email, but I'm responding in the original thread.

> Hello Matthew,
> Thanks for your answer.
> I have a few questions on regards of Cerebro 2.
> 1. By CLA model you mean the description.py file that is generated after the 
> swarm? -just to clarify.

By, Cerebro (& Cerebro2)  will display the state of the cells within a
NuPIC model during it's life cycle (as data is being passed into it).
The description.py has to do with swarming permutations and the found
model parameters, which all happens before a NuPIC model is created
and run. Cerebro provide an almost-live look into the cellular state
of NuPIC when running.

> 2. When setting up cerebro2.server is written that i must first patch my 
> model. but in which file exactly do i need to add these lines? Also can you 
> pls point me out how do i need to save the description.py file so i can call 
> it as an object-argument of Patcher().patchCLAModel(model).
> 3. I am able to start the server successfully (python server.py 9090) but 
> when i go to url http://localhost:9090/demo i get a 404 error file not found, 
> which is strange cause the folder and the files are there, and in the root i 
> only see "See README for instructions". I think at this stage i should be 
> able to see at least the demos running is that correct?
> 4. If i manage to run successfully the Model/SP/TP in cerebro2.server is it 
> also necesary to go to cerebro2-client and run again simplehttpserver 8000? 
> Or should it be the same port number 9090?
> Thanks,
> Diego

Chetan, can you answer Diego's other questions?



---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Sat, Sep 13, 2014 at 12:30 PM, Matthew Taylor <[email protected]> wrote:
> Diego,
>
> https://github.com/numenta/nupic.cerebro is not actively supported any
> more. Chetan and Jeff Fohl have been working on
> https://github.com/numenta/nupic.cerebro2, however. I think you'd have
> more luck trying to this that project. You'll definitely get more
> support on the mailing list, because no one is maintaining Cerebro 1.
>
> Regards,
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
>
> On Sat, Sep 13, 2014 at 10:52 AM, Diego Martinez <[email protected]> wrote:
>> Hello-
>>
>> I am trying to install Cerebro but i keep getting this error. I would
>> appreciate if someone can tell me where to look in order to fix it:
>>
>> Traceback (most recent call last):
>>   File "/my-path/cerebro.py", line 26, in <module>
>>     from cerebro_model import CerebroModel
>>   File "/my-path/cerebro_model.py", line 39, in <module>
>>     from nupic.frameworks.opf.exp_generator.ExpGenerator import
>> (expGenerator)
>>   File "/home/nupic/nupic/frameworks/opf/exp_generator/ExpGenerator.py",
>> line 59, in <module>
>>     METRIC_WINDOW = int(Configuration.get("nupic.opf.metricWindow"))
>> TypeError: int() argument must be a string or a number, not 'NoneType'
>>
>> Here below the details:
>>
>> 1. I am using an HP TouchSmart 600 with Ubuntu 14.04.1 LTS (Trusty) in a
>> dual partition with Windows 7.
>> 2. I have installed NuPIC on the Ubuntu partition following the Ubuntu
>> tutorial (https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu)
>> and i have successfully run all the tests.
>> 3. In Ubuntu I have installed: libevent(1.4.13), mongodb(v2.4.11) &
>> requirements.txt for cerebro (gevent==0.13.8, web.py==0.37 & pymongo==2.6.2)
>> Everything went OK.
>> 4. I have created one folder named "mongo" to be used as a database path and
>> then launch mongo ~$ mongod --dbpath /my_path/mongo --port 8050. The reason
>> i did this was because if i only run on the terminal ~$ mongod i get the
>> following error - ERROR: dbpath (/data/db/) does not exist. (Just FYI)
>> 5. I suppose it lunch succesfully because i receive the confirmation
>> "waiting for connections on port 8050". Also when i run ~$ ps aux | grep
>> mongo i can see the process ID number + some other details.
>> 6. Then I open a new terminal to run ~$ python /my-path/cerebro.py and i get
>> the error above.
>>
>> Thanks for your help.
>>
>> Kindly regards,
>> Diego

Reply via email to