Instructions to use JCTN/controlnet-segment-anything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JCTN/controlnet-segment-anything with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JCTN/controlnet-segment-anything", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload 4 files
Browse files- .gitattributes +3 -0
- image_control.png +0 -0
- images_0.png +3 -0
- images_1.png +3 -0
- images_2.png +3 -0
.gitattributes
CHANGED
|
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
images_0.png filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
images_1.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
images_2.png filter=lfs diff=lfs merge=lfs -text
|
image_control.png
ADDED
|
images_0.png
ADDED
|
Git LFS Details
|
images_1.png
ADDED
|
Git LFS Details
|
images_2.png
ADDED
|
Git LFS Details
|