Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.19.0
metadata
title: MMDiff
emoji: 🎨
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.23.0
app_file: app.py
short_description: Multi-modal generation with diffusion transformers
python_version: '3.10'
startup_duration_timeout: 10m
MMDiff: Extending Diffusion Transformers for Multi-Modal Generation
This Space demonstrates MMDiff, a method that extends frozen diffusion transformers (FLUX.1-dev) to generate images alongside dense predictions (saliency maps, segmentation maps, depth maps) in a single forward pass.
How it works
- A text prompt is used to generate an image with FLUX.1-dev
- During denoising, intermediate transformer features and concept attention maps are captured
- Lightweight trained decoder heads (DPT, DeepLabV3+) decode these features into dense predictions:
- Saliency (DUTS): Binary foreground/background segmentation
- Segmentation (Pascal VOC): 21-class semantic segmentation
- Depth (NYU Depth V2): Monocular depth estimation
Model
- Backbone: black-forest-labs/FLUX.1-dev (frozen)
- Decoder weights: yagmurakarken/mmdiff
- Paper: MMDiff: Extending Diffusion Transformers for Multi-Modal Generation