-
Notifications
You must be signed in to change notification settings - Fork 74
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
Python pickle fails for Regions and Network #732
Comments
Good catch. Serialization of the network is performed by calling network.saveToFile(filename) or save(stream). For the region, we should have this as well... After a region has been deserialized it would need to be reconnected to the network before it could be used. @fcr would you like to take on this project? |
@dkeeney if I was comfortable enough with C++ I would have been happy to. |
ok, let me see what I can do. |
Thanks. It would be much appreciated. |
BTW this is part of my efforts to get around the performance bottleneck of the ColumnPooler. |
I am able to reproduce your error:
I don't know the cause yet but I will setup another PR to address this. |
I would like to multiprocess several parallel networks, in
particular the location framework, but this fails on pickle errors for networks and regions.
I added pickle tests to the Python bindings unit tests for region and network to check if the problem is me, or is the bindings.
It seems it is the bindings unless I am missing something.
I have attached the modified unit tests for your convenience.
test.zip
The text was updated successfully, but these errors were encountered: