Hi, sorry for taking the liberty of bothering you. I am wondering can I inquire you about how to save/reload trained model of HTM nupic library? I am recently working on a project that needs to store the model state and came across some issue when saving the trained model. But when I saw your post on HTM forum saying that you successfully saved and reload the model, I felt very excited and curious about how you save the model or what is the environment or procedure that you save the model. I’d appreciate any instruction/suggestion/reference from you and thank you so much for your time and patience!
FYI, I did the following lines of code to save the trained OPF model:
And then error shows up like following:
Traceback (most recent call last):
File "test.py", line 413, in <module>
File "/Users/ruzhong/Library/Python/2.7/lib/python/site-packages/nupic/frameworks/opf/model.py", line 360, in save
File "/Users/ruzhong/Library/Python/2.7/lib/python/site-packages/nupic/frameworks/opf/htm_prediction_model.py", line 1429, in _serializeExtraData
File "/Users/ruzhong/Library/Python/2.7/lib/python/site-packages/nupic/engine/__init__.py", line 729, in save
engine_internal.Network.save(self, *args, **kwargs)
File "/Library/Python/2.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_Call
Thanks again for your time and patience!! I’d appreciate it if you can reply to me at your convenience.