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