Srikumar26
commited on
Commit
•
6f16d57
1
Parent(s):
a5d224e
Update README.md
Browse files
README.md
CHANGED
@@ -15,4 +15,33 @@ widget:
|
|
15 |
- text: university campus
|
16 |
output:
|
17 |
url: 12bbc23c-850a-484b-99a6-478c19417993.jpeg
|
18 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
- text: university campus
|
16 |
output:
|
17 |
url: 12bbc23c-850a-484b-99a6-478c19417993.jpeg
|
18 |
+
---
|
19 |
+
|
20 |
+
# Model Card for Model ID
|
21 |
+
|
22 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
23 |
+
This is a StableDiffusion based model that synthesizes satellite images given text prompts. The base stable diffusion model used is [stable-diffusion-2-1-base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base) (v2-1_512-ema-pruned.ckpt).
|
24 |
+
|
25 |
+
* Use it with 🧨 [diffusers](#examples)
|
26 |
+
* Use it with [stablediffusion](https://github.com/Stability-AI/stablediffusion) repository
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [stable-diffusion](https://huggingface.co/stabilityai/stable-diffusion-2-1-base)
|
33 |
+
|
34 |
+
## Examples
|
35 |
+
|
36 |
+
```python
|
37 |
+
from diffusers import StableDiffusionPipeline
|
38 |
+
|
39 |
+
pipe = StableDiffusionPipeline.from_pretrained("MVRL/SD-GeoSynth")
|
40 |
+
pipe = pipe.to("cuda:0")
|
41 |
+
|
42 |
+
image = pipe(
|
43 |
+
"Satellite image features a city neighborhood",
|
44 |
+
).images[0]
|
45 |
+
|
46 |
+
image.save("generated_city.jpg")
|
47 |
+
```
|