-
Notifications
You must be signed in to change notification settings - Fork 2
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
Style Transfer Effect no longer working in Paint.net. #3
Comments
The latest versions are no longer compatible with the plugin. |
Thanks a lot. |
Hi, unfortunately the latest PDN version (5.x) would require a complete rewrite at this point and I'm not sure there's enough interest in the plugin to warrant the effort. I'm currently working on some newer (and hopefully better) style transfer AI models and once that's done I might come back to this plugin. Merci de ta patience. |
Thank you for your reply. |
File: C:\Program Files\paint.net\Effects\StyleTransferEffect.dll
Effect Name: PaintDotNet.Effects.ML.StyleTransfer.Plugin.StyleTransferEffect
Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception
---> Microsoft.ML.OnnxRuntime.OnnxRuntimeException: [ErrorCode:Fail] D:\Repos\onnxruntime\onnxruntime\core\session\inference_session.cc:262 onnxruntime::InferenceSession::InferenceSession result was false. Could not parse model successfully while constructing the inference session
at Microsoft.ML.OnnxRuntime.NativeApiStatus.VerifySuccess(IntPtr nativeStatus)
at Microsoft.ML.OnnxRuntime.InferenceSession.Init(Byte[] modelData, SessionOptions options)
at PaintDotNet.Effects.ML.StyleTransfer.EffectModel.Reset(Byte[] modelData)
at PaintDotNet.Effects.ML.StyleTransfer.Plugin.StyleTransferEffect.OnSetRenderInfo(StyleTransferEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs)
at PaintDotNet.Effects.Effect
1.OnSetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) in D:\src\pdn\src\Effects.Core\Effects\Effect
1.cs:line 90at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 259
--- End of inner exception stack trace ---
at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 437
at PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, Result
1 lazyAllRenderScans, Result
1 lazyRemainingRenderScans, Result`1 lazyClipMaskRenderer, Surface originalSurface, Exception& exception) in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 1436The text was updated successfully, but these errors were encountered: