Hi folks! I think I come across some issue when trying to save the OPF model using
model.disableLearning()
model.save('/Users/myname/Documents/python/HTM/src/model/OPF.model')
The error are like following:
Traceback (most recent call last):
File "/Users/myname/Documents/python/HTM/src/OPF.py", line 413, in <module>
model.save('/Users/myname/Documents/python/HTM/src/model/OPF.model')
File "/Users/myname/Documents/python/HTM/venv/lib/python2.7/site-packages/nupic/frameworks/opf/model.py", line 360, in save
self._serializeExtraData(extraDataDir=self._getModelExtraDataDir(saveModelDir))
File "/Users/myname/Documents/python/HTM/venv/lib/python2.7/site-packages/nupic/frameworks/opf/htm_prediction_model.py", line 1429, in _serializeExtraData
self._netInfo.net.save(outputDir)
File "/Users/myname/Documents/python/HTM/venv/lib/python2.7/site-packages/nupic/engine/__init__.py", line 729, in save
engine_internal.Network.save(self, *args, **kwargs)
File "/Users/myname/Documents/python/HTM/venv/lib/python2.7/site-packages/nupic/bindings/engine_internal.py", line 1214, in save
return _engine_internal.Network_save(self, *args, **kwargs)
SystemError: NULL result without error in PyObject_Cal
Can anybody help me with this? I have been stuck here for a long time. Thanks!