-
Notifications
You must be signed in to change notification settings - Fork 96
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
ActivationNetwork.Save throws platform not supported exception #20
Comments
This sounds like you have forgotten to explicitly include the Shim NuGet package in your application. Explicitly add Shim via NuGet to your application, and I think your problem will go away. |
@poleindraneel Were you able to resolve this issue yourself? |
Hi @anders9ustafsson , Well, Shim only provides not implemented exception for this method. So basically this method is not implemented on .NET Core version of the library. We forked Portable Aforge at https://github.com/daenetCorporation/, and implemented these methods on our own. We will soon be sending pull request for this. |
@poleindraneel OK, I see, so you are trying this on .NET Core with a PCL library instance? Which PCL profile are you using, and which .NET Standard level are you targeting? I have not come so far yet as to natively support .NET Core in Shim. Should maybe consider to do this. On the other hand the .NET Standard API may make it simpler to support e.g. the Accord code "out-of-the-box" without the Shim workaround. We'll see what the future may bring :-) |
@anders9ustafsson So we are actually targeting it to .NET Core 1.0 i.e "NETStandard.Library": "1.6.0" i.e .NET Standard 4.6.3. We have implemented serialization and deserialization for neuro to save and load the neural network in .NET Core environment. (Our aim it to use AForge on devices such as Raspberry Pi and HoloLens :)) I believe this will be easier for you when you plan to support .NET Core in future. You can have a look at our changes in the forked repository however I am not yet 100% sure that all the changes are checked in. I will ask my teammate to check in everything and send a pull request. |
In neural networks, Save method of ActivationNetwork class, throws platform not supported exception.
The text was updated successfully, but these errors were encountered: