-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
I'm not sure what the history of parallel.py is, but I tried running it with some data files and I ran into the issues that nothing would work as is because of pickling.
I understand the problem is that, for instance, in the initialize function we start a process with target model.brain, but Python cannot pickle bound methods. Bound methods are any kind of method that belong to a class that aren't classmethods- in other words, any method that requires self as one of the arguments.
I was easily able to edit the code from scripts/star.py to avoid this issue, but I'm curious if/how this has worked before since this pickle problem has existed for as long as I've used python.