Image-to-Image
Diffusers
Safetensors
English
stereo generation
augmented reality
diffusion
zero-shot
Instructions to use prs-eth/stereospace-v1-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prs-eth/stereospace-v1-0 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("prs-eth/stereospace-v1-0", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,69 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: stabilityai/stable-diffusion-2
|
| 3 |
+
base_model_relation: finetune
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
library_name: diffusers
|
| 7 |
+
license: creativeml-openrail-m
|
| 8 |
+
tags:
|
| 9 |
+
- stereo generation
|
| 10 |
+
- augmented reality
|
| 11 |
+
- image-to-image
|
| 12 |
+
- diffusion
|
| 13 |
+
- zero-shot
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<p align="center">
|
| 17 |
+
<img src="./doc/images/teaser.jpg"/>
|
| 18 |
+
</p>
|
| 19 |
+
|
| 20 |
+
<p align="center">
|
| 21 |
+
<a title="Website" href="https://hf.co/spaces/prs-eth/stereospace_web" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 22 |
+
<img src="https://img.shields.io/badge/%E2%99%A5%20Project%20-Website-blue" alt="Website">
|
| 23 |
+
</a>
|
| 24 |
+
<a title="arXiv" href="https://arxiv.org/abs/2512.10959" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 25 |
+
<img src="https://img.shields.io/badge/%F0%9F%93%84%20Read%20-Paper-AF3436" alt="arXiv">
|
| 26 |
+
</a>
|
| 27 |
+
<a title="Github" href="https://github.com/prs-eth/stereospace" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 28 |
+
<img src="https://img.shields.io/github/stars/prs-eth/stereospace?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="Github">
|
| 29 |
+
</a>
|
| 30 |
+
<a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 31 |
+
<img src="https://img.shields.io/twitter/follow/:?label=Subscribe%20for%20updates!" alt="Social">
|
| 32 |
+
</a>
|
| 33 |
+
<a title="License" href="https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 34 |
+
<img src="https://img.shields.io/badge/License-OpenRAIL++-929292" alt="License">
|
| 35 |
+
</a>
|
| 36 |
+
</p>
|
| 37 |
+
|
| 38 |
+
# StereoSpace Model Card
|
| 39 |
+
|
| 40 |
+
This is a model card for the `stereospace-v1-0` model for baseline-controllable single-image stereo view generation.
|
| 41 |
+
The model is derived from `stabilityai/stable-diffusion-2` using fine-tuning as described in our paper titled
|
| 42 |
+
"StereoSpace: Depth-Free Synthesis of Stereo Geometry via End-to-End Diffusion in a Canonical Space" by
|
| 43 |
+
Tjark Behrens, Anton Obukhov, Bingxin Ke, Fabio Tosi, Matteo Poggi, Konrad Schindler.
|
| 44 |
+
|
| 45 |
+
**See the [Quick Start section](https://github.com/prs-eth/stereospace?tab=readme-ov-file#quick-start) of the paper's code repository
|
| 46 |
+
for instructions on how to set up the environment and process images with this model.**
|
| 47 |
+
|
| 48 |
+
- **Model Name:** `stereospace-v1-0`
|
| 49 |
+
- **Task:** Single Image Stereo Image Generation
|
| 50 |
+
- **Base Model:** [`stabilityai/stable-diffusion-2`](https://huggingface.co/stabilityai/stable-diffusion-2)
|
| 51 |
+
- **Model Type:** End-to-end latent diffusion baseline-controllable single-image stereo view generation.
|
| 52 |
+
- **Resources for more information:** [Project Website](https://hf.co/spaces/prs-eth/stereospace_web), [Paper](https://arxiv.org/abs/2512.10959), [Code](https://github.com/prs-eth/stereospace).
|
| 53 |
+
- **Framework:** PyTorch, Diffusers
|
| 54 |
+
- **Language:** English.
|
| 55 |
+
- **License:** [CreativeML Open RAIL++-M License](https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL).
|
| 56 |
+
- **Developed by:** PRS-ETH
|
| 57 |
+
- **Cite as:**
|
| 58 |
+
|
| 59 |
+
```bibtex
|
| 60 |
+
@misc{behrens2025stereospace,
|
| 61 |
+
title = {StereoSpace: Depth-Free Synthesis of Stereo Geometry via End-to-End Diffusion in a Canonical Space},
|
| 62 |
+
author = {Tjark Behrens and Anton Obukhov and Bingxin Ke and Fabio Tosi and Matteo Poggi and Konrad Schindler},
|
| 63 |
+
year = {2025},
|
| 64 |
+
eprint = {2512.10959},
|
| 65 |
+
archivePrefix= {arXiv},
|
| 66 |
+
primaryClass = {cs.CV},
|
| 67 |
+
url = {https://arxiv.org/abs/2512.10959},
|
| 68 |
+
}
|
| 69 |
+
```
|