You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: System.NotSupportedException: BinaryFormatter serialization anddeserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream,Object graph)at DiffSharp.Util.UtilAutoOpens.saveBinary[T](T object,String fileName)at DiffSharp.Tensor.save(String fileName)at <StartupCode$FSI_0006>.$FSI_0006.main@()
The text was updated successfully, but these errors were encountered:
dsharp.save/load with BinaryFormatter is blocked on .NET Interactive
Issue #440 | Created by @nhirschey | 2022-10-11 21:42:05 UTC |
Related to PR #430, .NET Interactive blocks BinaryFormatter, so this prevents model saving and loading in F# notebooks.
TorchSharp seems to be using BinaryWriter to get around this (e.g. here)
This is in VSCode using .ipynb notebook
cell output:
The text was updated successfully, but these errors were encountered: