weights
Browse files- README.md +34 -0
- checkpoint-1200/pytorch_model.bin +3 -0
- checkpoint-15000/pytorch_model.bin +3 -0
- checkpoint-18000/pytorch_model.bin +3 -0
- checkpoint-6000/pytorch_model.bin +3 -0
- checkpoint-9000/pytorch_model.bin +3 -0
- pytorch_model.bin +3 -0
README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
+
base_model: stabilityai/stable-diffusion-2-inpainting
|
| 4 |
+
dataset: sshh12/sentinel-2-rgb-captioned
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- text-to-image
|
| 8 |
+
- diffusers
|
| 9 |
+
- lora
|
| 10 |
+
- inpainting
|
| 11 |
+
- procedural-generation
|
| 12 |
+
inference: false
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
These are LoRA adaption weights for stabilityai/stable-diffusion-2-inpainting. The weights were fine-tuned on the sshh12/sentinel-2-rgb-captioned dataset.
|
| 16 |
+
|
| 17 |
+
## 🧨 Diffusers Usage
|
| 18 |
+
|
| 19 |
+
```py
|
| 20 |
+
from diffusers import StableDiffusionInpaintPipeline
|
| 21 |
+
import torch
|
| 22 |
+
|
| 23 |
+
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
| 24 |
+
"stabilityai/stable-diffusion-2-inpainting",
|
| 25 |
+
torch_dtype=torch.float16,
|
| 26 |
+
device_map="auto",
|
| 27 |
+
cache_dir=CACHE_DIR,
|
| 28 |
+
)
|
| 29 |
+
pipe.unet.load_attn_procs(
|
| 30 |
+
lora_model,
|
| 31 |
+
use_safetensors=False,
|
| 32 |
+
)
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## Training
|
| 36 |
+
|
| 37 |
+
GitHub: https://github.com/sshh12/terrain-diffusion
|
checkpoint-1200/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c70512cf37d4601bcf13d5df5f59a5c6c9bd680877b4b4feea27f5a29a5f4dc
|
| 3 |
+
size 3417037
|
checkpoint-15000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba1ed76ebe9dcd17839b915c1b5c964533695fa157d44eb8c1f0e8617347edaa
|
| 3 |
+
size 3417037
|
checkpoint-18000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:305c0d5bbff288945b75b04d75ae05135450ef9a7ede50f7d373535ce1a31892
|
| 3 |
+
size 3417037
|
checkpoint-6000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b317cf7f338b7c40505c4af50f229e657708e708234762a517c151769f1e428e
|
| 3 |
+
size 3417037
|
checkpoint-9000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:805c4813c12768d8e6427532ff82f2740a611afc9a6f7d407acd61ba18ec9e1d
|
| 3 |
+
size 3417037
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba1ed76ebe9dcd17839b915c1b5c964533695fa157d44eb8c1f0e8617347edaa
|
| 3 |
+
size 3417037
|