Skip to content

Instantly share code, notes, and snippets.

@fursty
Created September 30, 2016 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fursty/8cff6ec29cfd6541355f4fa1548d2f27 to your computer and use it in GitHub Desktop.
Save fursty/8cff6ec29cfd6541355f4fa1548d2f27 to your computer and use it in GitHub Desktop.
fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/anomaly/one_gym$ ./run.py --plot
Starts a NuPIC model from the model params returned by the swarm
and pushes each line of input from the gym into the model. Results
are written to an output file (default) or plotted dynamically if
the --plot option is specified.
Creating model from rec-center-hourly...
Importing model params from model_params.rec_center_hourly_model_params
Traceback (most recent call last):
File "./run.py", line 152, in <module>
runModel(GYM_NAME, plot=plot)
File "./run.py", line 142, in runModel
runIoThroughNupic(inputData, model, gymName, plot)
File "./run.py", line 102, in runIoThroughNupic
output = nupic_anomaly_output.NuPICPlotOutput(gymName)
File "/home/fursty/nupic/examples/opf/clients/hotgym/anomaly/one_gym/nupic_anomaly_output.py", line 167, in __init__
plt.ion()
NameError: global name 'plt' is not defined
fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/anomaly/one_gym$ ./run.py
Starts a NuPIC model from the model params returned by the swarm
and pushes each line of input from the gym into the model. Results
are written to an output file (default) or plotted dynamically if
the --plot option is specified.
Creating model from rec-center-hourly...
Importing model params from model_params.rec_center_hourly_model_params
Preparing to output rec-center-hourly data to rec-center-hourly_out.csv
Read 100 lines...
Read 200 lines...
Read 300 lines...
Read 400 lines...
Read 500 lines...
Read 600 lines...
Read 700 lines...
Read 800 lines...
Read 900 lines...
Read 1000 lines...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment