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)

Reply via email to