Hello all. I've been learning about HTM for a couple of months now, reading On Intelligence and Numenta's papers, as well as watching their videos. I just began actually working with htm.java (I'm not very familiar with Python, so I am unable to use that version) a week or two ago, so I'm no expert on it, but I have been able to create some working demonstrations of it.

I have, however, run into a bit of a problem with saving networks. I am aware that htm.java does not currently support this type of operation (https://github.com/numenta/htm.java/wiki/Call-To-Arms), so I am attempting to develop a basic method of saving and recreating my networks myself. What I have done thus far is modify a couple of classes to implement Java's Serializable interface, in order to save my Layer's (I am just working with one right now) Connections object. I have succeeded in serializing and deserializing the Connections object, and putting it back into a new Layer with the Layer.using() method.

The problem is that when I feed the network (that is using the deserialized Connections) the same data it had learned to recognize before I serialized it, it no longer predicts the proper values. Its output looks exactly like a new network; as though my saved Connections is being overwritten or ignored somehow. I've spent the past few days trying to figure out what is happening, digging around the source code and trying a few different things, but have been unable to produce any results. Do any of you folks have any idea how I might go about resolving this issue?

I am sure code samples would be of interest here, but I'm not sure what, specifically, I should include as my program is of a decent size. If anybody would like some samples, please mention what general functions/areas of my program you would like to see, and I'll be happy to oblige.

Thanks in advance for any help. I am very fascinated by this project and HTM theory in general. I really appreciate what you all are doing and that this project was made open source!

Reply via email to