Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError with model.save related to TMCPPShim object #3721

Open
rhyolight opened this issue Jun 19, 2017 · 0 comments
Open

AttributeError with model.save related to TMCPPShim object #3721

rhyolight opened this issue Jun 19, 2017 · 0 comments

Comments

@rhyolight
Copy link
Member

rhyolight commented Jun 19, 2017

Original report: https://discourse.numenta.org/t/attributeerror-with-model-save-related-to-tmcppshim-object/2434

model = createModel()
model.enableInference({"predictedField": "cpu1"})
model.save(fullpath)

fullpath refers to the full string path to the directory where I wish to save the model.
createModel() is largely based on the OPF example code, though the parameters in my .yaml file are more like the ones seen in Matt's post here.

The exact error is:

AttributeError: ("'TMCPPShim' object has no attribute 'saveToFile'", u'occurred at index 0')

Environment: MAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant