Instructions to use xiaoyu1104/InstanceControl_hed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xiaoyu1104/InstanceControl_hed with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xiaoyu1104/InstanceControl_hed", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add model card and metadata for InstanceControl
#1
by nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
pipeline_tag: text-to-image
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# InstanceControl: Controllable Complex Image Generation without Instance Labeling
|
| 7 |
+
|
| 8 |
+
This repository contains the Stage 1 model (`Sa2va-Instance-4B`) for **InstanceControl**, a multi-instance controllable generation method that eliminates the need for manual instance labeling.
|
| 9 |
+
|
| 10 |
+
* **Paper:** [InstanceControl: Controllable Complex Image Generation without Instance Labeling](https://huggingface.co/papers/2606.31924)
|
| 11 |
+
* **Project Page:** [InstanceControl Project Page](https://instancecontrol.github.io/InstanceControl/)
|
| 12 |
+
* **Repository:** [GitHub - InstanceControl](https://github.com/liuxiaoyu1104/InstanceControl)
|
| 13 |
+
|
| 14 |
+
## Method Overview
|
| 15 |
+
|
| 16 |
+
InstanceControl leverages a Vision-Language Model (VLM) to establish instance-level correspondences between text prompts and visual conditions (such as Canny edge, depth, or HED maps). It automatically parses instance descriptions from the text prompts and simultaneously predicts instance masks based on the visual conditions. An adaptive mask refinement strategy dynamically refines these instance masks during the generation process to achieve superior fidelity and precise instance-level control.
|
| 17 |
+
|
| 18 |
+
## Citation
|
| 19 |
+
|
| 20 |
+
If you find this work useful, please consider citing:
|
| 21 |
+
|
| 22 |
+
```bibtex
|
| 23 |
+
@article{instancecontrol,
|
| 24 |
+
title = {InstanceControl: Controllable Complex Image Generation without Instance Labeling},
|
| 25 |
+
author = {Xiaoyu Liu and Huan Wang and Fan Li and Zhixin Wang and Jiaqi Xu and Ming Liu and Wangmeng Zuo},
|
| 26 |
+
journal = {arXiv preprint arXiv:2606.31924},
|
| 27 |
+
year = {2026}
|
| 28 |
+
}
|
| 29 |
+
```
|