-
Notifications
You must be signed in to change notification settings - Fork 51
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
Pickling something through an FSX session and unpickler in an app #62
Comments
Try resetting fsi. It looks like you are serializing an interaction type
|
Tried resetting. By "interaction type", I'm |
Yes, you should |
Mmmm, ok. This makes sense. It might be an idea to emit a warning if pickling a type that has FSI_ at the start - I didn't think it would matter. |
@isaacabraham It's not inherently impossible to serialize FSI generated types, this is for example one of the things that Vagabond can do. Should I close this? |
Up to you. Like I said, it wasn't obvious to me that using an interaction type wouldn't work in conjunction with a compiled type. Maybe just a warning would be sufficient here or something similar. |
It does work. It's just that you need to have the same type definition loaded in the remote process as well, which is not trivial to achieve normally. |
Yeah. I was serializing data through FSI and deserializing in an application. |
It would be nice though to be able to serialize/deserialize in interactive scripts. |
@adicirstei you should consider using Vagabond. https://mbraceproject.github.io/Vagabond |
@eiriktsarpalis I'll give it a try. Currently I am pretty happy with FsPickler. I'm using it to persist neural networks after the training is over. It's just for data. |
If I try to do the above, I get an error such as: -
Should the
FSI_0002
really be there? Is there any way to stop it happening?The text was updated successfully, but these errors were encountered: