littlelittlecloud
commited on
Commit
·
13eba43
1
Parent(s):
b5e8cda
update readme
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
| 1 |
+
# StableDiffusion 2.* in dotnet
|
| 2 |
+
|
| 3 |
+
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.
|
| 4 |
+
|
| 5 |
+
# To run the project
|
| 6 |
+
|
| 7 |
+
- firstly, download model weight by
|
| 8 |
+
|
| 9 |
+
`git lfs clone`
|
| 10 |
+
|
| 11 |
+
- secondly
|
| 12 |
+
|
| 13 |
+
`dotnet run`
|
| 14 |
+
|
| 15 |
+
# Example output
|
| 16 |
+

|
| 17 |
+
|
| 18 |
---
|
| 19 |
license: mit
|
| 20 |
---
|