Thank you Mark, I have updated nupic-source, but now I am encountering some new troubles when trying to swarm: when swarming this way, I get the following error:
$NUPIC/scripts/run_swarm.py search_def.json > Traceback (most recent call last): > File "/home/nupic/nupic-source/scripts/run_swarm.py", line 32, in > <module> > from nupic.swarming.permutations_runner import DEFAULT_OPTIONS > ImportError: cannot import name DEFAULT_OPTIONS > I wold appreciate some help, I'm feeling a little bit clueless at this point. Cheers, Jose 2015-03-31 2:01 GMT+02:00 Marek Otahal <[email protected]>: > Hi Jose, > > it's definitely not up-to-date, so updating, as you suggest, would be the > first step. > Second, you could verify that $NUPIC/scripts/run_swarm.py > /your/swarming/path > produces the requested params. > > Cheers, Mark > > > On Tue, Mar 31, 2015 at 1:47 AM, Jose Luis Contreras Santos < > [email protected]> wrote: > >> Hello, >> >> I am running NuPIC from the preset VM image provided here >> <https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine#preset-vm-image>, >> but I am having some trouble running swarms programmatically, as for some >> reason the model_params.py file is not being created. This is a snippet of >> the code I am running (based on Matt's tutorial on predicting sine waves): >> >> import shutil >>> from nupic.swarming import permutations_runner >>> from nupic.frameworks.opf.modelfactory import ModelFactory >>> def swarm_over_data(): >>> permutations_runner.runPermutations(["search_def.json", >>> "--maxWorkers=4", "--overwrite"]) >>> shutil.copyfile("model_0/model_params.py", "model_params.py") >> >> >> At that point, when trying to copy the file, I am getting this error: >> (which is normal because model_params.py is actually not there, swarming >> only created description.py and params.csv) >> >> IOError: [Errno 2] No such file or directory: 'model_0/model_params.py' >> >> >> My question is, does anybody know why this is happening? My guess is that >> maybe the version of NuPIC provided with the VM image is not up to date, in >> which case I think I can just pull the most recent version from gitHub, is >> that right? >> >> Thank you for your help! >> Jose Luis >> > > > > -- > Marek Otahal :o) >
