cknd / pyESN

Echo State Networks in Python
MIT License
296 stars 122 forks source link

How to dump trained ESN model to disk? #3

Closed FabianChenDP closed 6 years ago

FabianChenDP commented 6 years ago

I can't dump a trained ESN model to disk. Could you please help me?

I got this error: PicklingError: Can't pickle <function ESN.<lambda> at 0x1a749bb70>: it's not found as ml.train.pyESN.ESN.<lambda>

cknd commented 6 years ago

I made some small changes and pickling should now just work^tm

FabianChenDP commented 6 years ago

It works. Thank you very much!