Skip to content

Instantly share code, notes, and snippets.

@csbond007
Created November 28, 2016 21:28
Show Gist options
  • Save csbond007/17a9041a37a5565a3215c419d2a1d53e to your computer and use it in GitHub Desktop.
Save csbond007/17a9041a37a5565a3215c419d2a1d53e to your computer and use it in GitHub Desktop.
Importing model params from model_params.heart_beat_model_params
Connected!
Processing record = 0 ...
Traceback (most recent call last):
File "./run.py", line 215, in <module>
runModel()
File "./run.py", line 210, in runModel
runIoThroughNupic(model)
File "./run.py", line 150, in runIoThroughNupic
"heartbeat": heartbeat
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py", line 388, in run
self._sensorCompute(inputRecord)
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py", line 473, in _sensorCompute
sensor.compute()
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/engine/__init__.py", line 459, in compute
return self._region.compute()
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/bindings/engine_internal.py", line 1436, in compute
return _engine_internal.Region_compute(self)
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/bindings/regions/PyRegion.py", line 178, in guardedCompute
return self.compute(inputs, DictReadOnlyWrapper(outputs))
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/regions/RecordSensor.py", line 346, in compute
self.encoder.encodeIntoArray(data, outputs["dataOut"])
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/encoders/multi.py", line 95, in encodeIntoArray
encoder.encodeIntoArray(self._getInputValue(obj, name), output[offset:])
File "/home/ksaha/11_21_clone_office_bitbucket/code_11_21/lib/python2.7/site-packages/nupic/encoders/base.py", line 212, in _getInputValue
fieldName, knownFields, fieldName
ValueError: Unknown field name 'V13' in input record. Known fields are 'timestamp, heartbeat'.
This could be because input headers are mislabeled, or because input data rows do not contain a value for 'V13'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment