Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from PIL import Image
|
3 |
|
@@ -12,3 +28,4 @@ normal_image = predictor(input_image)
|
|
12 |
|
13 |
# Save or display the result
|
14 |
normal_image.save("output/normal_map.png")
|
|
|
|
1 |
+
---
|
2 |
+
library_name: diffusers
|
3 |
+
pipeline_tag: image-to-image
|
4 |
+
license: apache-2.0
|
5 |
+
---
|
6 |
+
# Model Card for StableNormal
|
7 |
+
|
8 |
+
This repository contains the weights of StableNormal: Reducing Diffusion Variance for Stable and Sharp Normal
|
9 |
+
|
10 |
+
## Usage
|
11 |
+
|
12 |
+
See the Github repository: https://github.com/Stable-X/StableNormal regarding installation instructions.
|
13 |
+
|
14 |
+
The model can then be used as follows:
|
15 |
+
|
16 |
+
```python
|
17 |
import torch
|
18 |
from PIL import Image
|
19 |
|
|
|
28 |
|
29 |
# Save or display the result
|
30 |
normal_image.save("output/normal_map.png")
|
31 |
+
```
|