Sorry we didn't get back to you sooner. I don't think you want to use the
writeToCheckpoint() function. I never use that. I use save() and load().

https://github.com/numenta/nupic/wiki/NuPIC-Usage-FAQ#can-i-save-and-restore-models

Does that fix your problem?

As a side note, the capnproto serialization is not put into place as the
default method of serialization yet. NUPIC is still using the old method of
pickling. We still have some work to do before capnp serialization is
working.

---------
Matt Taylor
OS Community Flag-Bearer
Numenta

On Thu, Mar 3, 2016 at 7:38 AM, Alexandra Vasilova <
[email protected]> wrote:

> Hello,
> I'm still fighting with the problem, tried to get back to most basic
> examples, trying to save model from hotgym_anomaly with
> writeToCheckpoint(path)
> I still get this error, even though I found all the necessary capnp files
> in nupic/proto and nupic/regions folders.
> Am I missing something simple, or this feature is not ready yet?
>
> Thank you again!
>
> [image: Inline image 1]
>
> Sasha
>
> On Wed, Mar 2, 2016 at 4:55 PM, Alexandra Vasilova <
> [email protected]> wrote:
>
>> Hello!
>> I was looking into serialization and I was very happy to find that
>> capnproto issue for CLA models was closed a few weeks ago. I just
>> downloaded the new bindings and installed updated version of nupic.
>>
>> However, I'm a bit lost in the manual on
>> https://github.com/numenta/nupic/wiki/Serialization
>>
>> I'm using opf with simple CLA model for temporal anomaly, feeding in just
>> one variable. When I run model.writeToCheckpoint() I get
>> NotImplementedError() on getProtoType. Can someone please explain me, what
>> should I do to use the capnproto serialization? Should I define the schema?
>> Or where should I search for more information?
>>
>> Thank you very much!
>> Sasha
>>
>
>

Reply via email to