Instructions to use Kunbyte/DRA-Ctrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kunbyte/DRA-Ctrl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Kunbyte/DRA-Ctrl", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
upload checkpoints of DRAS-Ctrl on 9 tasks.
Browse files- canny.safetensors +3 -0
- coloring.safetensors +3 -0
- deblurring.safetensors +3 -0
- depth.safetensors +3 -0
- depth_pred.safetensors +3 -0
- fill.safetensors +3 -0
- sr.safetensors +3 -0
- style_transfer.safetensors +3 -0
- subject_driven.safetensors +3 -0
canny.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cda80eaff7d728a7faf8bb5b0dde4b8d6159c07c548af03bd6b2eece4dbc8d98
|
| 3 |
+
size 184651592
|
coloring.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03d24c6acd3452c3cbb5278bf74f03da2604fbe1d74855e54fefecff77e30e3a
|
| 3 |
+
size 184651592
|
deblurring.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc43b0c9853192f8a2dbe9d2f222000c93cab20515fa067e5b0770be470d38c4
|
| 3 |
+
size 184651592
|
depth.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b74f14434fdfc13016ba7f5a537c0f6822a7e8b7a3826b89752a8866e418f200
|
| 3 |
+
size 184651592
|
depth_pred.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c932c9dbe60d93178cbc24fc6fe561d0b19f5e66744a6ee87e5f19c0b6532b57
|
| 3 |
+
size 184651592
|
fill.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:284c969e82d43361842b5938275f4e863e5441dd9ac19e34909d3ac4d8e017b9
|
| 3 |
+
size 184651592
|
sr.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d84e7ac8a6ea97e639301e5f9a4ea18bf650f23e004b0869266a02795cbb689
|
| 3 |
+
size 184651592
|
style_transfer.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d45f970c110fcd0f6e7e5e991d397d2deb69c03aff6d5e380360c9639a5f914
|
| 3 |
+
size 184651592
|
subject_driven.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e65e768f3620ddf60804c94cd82002168f0d4dad76985bcf98db64f13834c76
|
| 3 |
+
size 184651592
|