Instructions to use GreeneryScenery/SheepsControlV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GreeneryScenery/SheepsControlV2 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("GreeneryScenery/SheepsControlV2", 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
Commit ·
f4c88c2
1
Parent(s): ca9feb1
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- GreeneryScenery/SheepsNet
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- art
|
| 7 |
+
- ControlNet
|
| 8 |
+
---
|
| 9 |
+
# V2
|
| 10 |
+
|
| 11 |
+
3 epochs 🤗.
|
| 12 |
+
|
| 13 |
+
## Examples:
|
| 14 |
+
|
| 15 |
+
Conditional image:
|
| 16 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/69384.png' style = 'width: 256px'>
|
| 17 |
+
|
| 18 |
+
Images:
|
| 19 |
+
A bull:
|
| 20 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A bull.png' style = 'width: 256px'>
|
| 21 |
+
A chicken:
|
| 22 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A chicken.png' style = 'width: 256px'>
|
| 23 |
+
A cow with background removed, 8k:
|
| 24 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A cow with background removed, 8k.png' style = 'width: 256px'>
|
| 25 |
+
A donkey:
|
| 26 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A donkey.png' style = 'width: 256px'>
|
| 27 |
+
A goat:
|
| 28 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A goat.png' style = 'width: 256px'>
|
| 29 |
+
A realistic horse on a field with background removed, 8k:
|
| 30 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A realistic horse on a field with background removed, 8k.png' style = 'width: 256px'>
|
| 31 |
+
A realistic horse on ice with background removed, 8k:
|
| 32 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A realistic horse on ice with background removed, 8k.png' style = 'width: 256px'>
|
| 33 |
+
A realistic horse with background removed, 8k:
|
| 34 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A realistic horse with background removed, 8k.png' style = 'width: 256px'>
|
| 35 |
+
A realistic sheep on ice with background removed, 8k:
|
| 36 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A realistic sheep on ice with background removed, 8k.png' style = 'width: 256px'>
|
| 37 |
+
A sheep facing left:
|
| 38 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A sheep facing left.png' style = 'width: 256px'>
|
| 39 |
+
A tiger:
|
| 40 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV2/resolve/main/A tiger.png' style = 'width: 256px'>
|