Instructions to use FQiao/GenStereo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FQiao/GenStereo 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("FQiao/GenStereo", 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
Add pipeline tag
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
| 4 |
More details are available here:
|
| 5 |
|
| 6 |
[](https://qjizhi.github.io/genstereo)
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pipeline_tag: image-to-image
|
| 4 |
---
|
| 5 |
+
|
| 6 |
+
This repository contains the model presented in [GenStereo: Towards Open-World Generation of Stereo Images and Unsupervised Matching](https://huggingface.co/papers/2503.12720).
|
| 7 |
+
|
| 8 |
More details are available here:
|
| 9 |
|
| 10 |
[](https://qjizhi.github.io/genstereo)
|