Closed kaushikb11 closed 4 years ago
This should fix the pickle error. Can you run the pre-commit hooks so the tests pass?
The following (run it from the repo root) should do the trick:
pip install pre-commit
pre-commit install
pre-commit run --all-files
@dme65 : There was a minor Trailing Whitespace Error. Fixed it
Closing because this is redundant with #6 .
Lambda functions can't be pickled. So if you try to apply multiprocessing to a lambda function, it will fail as Functions are pickled by name, not by code.
Error:
E AttributeError: Can't pickle local object 'Categorical.init..`