File size: 659 Bytes
13eba43 88b19f0 13eba43 88b19f0 13eba43 9c54c90 db2ecf2 7317885 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# StableDiffusion 2.* in dotnet
This project serves as a proof-of-concept purpose of bringing StableDiffusion model into dotnet. In the unet part, this implementation uses a traced DDPM model of v2-inference-v config with pretrained v2-1_768-ema-pruned weight. And in sampling part, this project implements a simplified version of DDIM sampler.
# To run the project
- firstly, clone project and download model weight by
`git lfs install`
`git clone https://huggingface.co/LittleLittleCloud/StableDiffusion-v2-torchsharp`
``
- secondly
`dotnet run`
# Example output

*a wild cute green cat*
---
license: mit
---
|