StableDiffusion
StableDiffusion copied to clipboard
Inference Stable Diffusion with C# and ONNX Runtime
im using a 5600G cpu with intergrated gpu from AMD and i got Microsoft.ML.OnnxRuntime.OnnxRuntimeException:“[ErrorCode:Fail] ” after i set GraphOptimizationLevel from ORT_ENABLE_ALL to ORT_DISABLE_ALL ,it worked you can give some infos...
When I use the demo model to generate characters, the characters always appear to be very strange, so can you provide some ideas for connecting different models to enhance the...
Img2Img
Hello and thanks for this great project! I've attempted to add an init image to the pipeline, but it ends up just becoming a blur no matter how many steps...
Was able to successfully compile and execute the project using VisualCode and C# extension (Apple M2). Great job @cassiebreviu, thank you for your priceless contribution.
Are there any plans to package Onnx2.1 version?
I run this code on my Lenovo T14S(x64 Windows 11) on Direct ML and got the issue below. May I get your support on the reason? Thanks in advance! https://github.com/cassiebreviu/StableDiffusion/blob/direct-ML-EP...
i use branch Direct-ML-EP,here is my stacktrace: Microsoft.ML.OnnxRuntime.OnnxRuntimeException HResult=0x80131500 Message=[ErrorCode:Fail] Deserialize tensor up_blocks.1.attentions.1.transformer_blocks.0.norm1.weight failed.GetFileLength for StableDiffusion\bin\x64\Debug\net6.0\unet\weights.pb failed:open file weights.pb fail, errcode = 2 - ϵͳ�Ҳ���ָ�����ļ��� Source=Microsoft.ML.OnnxRuntime StackTrace: at Microsoft.ML.OnnxRuntime.NativeApiStatus.VerifySuccess(IntPtr nativeStatus)...