Spaces:
Running on Zero
Running on Zero
|
Download README.md from hugging-apps/mmdiff: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/spaces/hugging-apps/mmdiff/resolve/1a20aec05fb13049750a9b1bf697397a284ee687/README.md
- Command line
-
hf download hf://spaces/hugging-apps/mmdiff@1a20aec05fb13049750a9b1bf697397a284ee687/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hugging-apps/mmdiff/resolve/1a20aec05fb13049750a9b1bf697397a284ee687/README.md
1.34 kB
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