Update model card metadata, links and usage instructions

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +25 -19
README.md CHANGED
@@ -1,3 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <table align="center" cellspacing="0" cellpadding="0" style="margin:0 auto;">
2
  <tr>
3
  <td valign="middle" style="padding-right:10px;">
@@ -12,9 +27,9 @@
12
 
13
  <div align="center" style="margin-top:14px;">
14
  <a href='https://henghuiding.com/OcclusionFormer/'><img src='https://img.shields.io/badge/Project-Page-Green'></a> &nbsp;&nbsp;&nbsp;&nbsp;
15
- <a href='https://icml.cc/Downloads/2026'><img src='https://img.shields.io/badge/ICML-2026-blue'></a> &nbsp;&nbsp;&nbsp;&nbsp;
16
- <a href='https://arxiv.org/'><img src='https://img.shields.io/badge/arXiv-Coming%20Soon-b31b1b'></a> &nbsp;&nbsp;&nbsp;&nbsp;
17
- <a href='https://huggingface.co/'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Weights-Hugging Face%20-orange'></a> &nbsp;&nbsp;&nbsp;&nbsp;
18
  <a href='https://huggingface.co/datasets/FudanCVL/SA-Z'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20SA--Z-Hugging Face%20-orange'></a>
19
  </div>
20
  <p align="center" style="margin:4px 0 0 0;">
@@ -25,7 +40,12 @@
25
  <p align="center" style="margin:1px 0 0 0; font-size:1.48em; font-weight:900; color:#ff6a00;">ICML 2026</p>
26
  <p align="center" style="margin:1px 0 0 0; font-size:1.08em; color:#6b7280;"><em>✉ Corresponding Author</em></p>
27
 
 
 
 
 
28
  ## 🔥 News
 
29
  - [2026/05/18] Release **inference code**, **model weights** and **SA-Z dataset**.
30
  - [2026/05/18] Release **OcclusionFormer open-source package** in this repository.
31
  - [2026/4/30] OcclusionFormer is accepted to **ICML 2026**.
@@ -74,9 +94,7 @@ pip install --upgrade -r requirements.txt
74
 
75
  3. Download checkpoint
76
 
77
- ```bash
78
- https://huggingface.co/FudanCVL/OcclusionFormer
79
- ```
80
 
81
  4. Run Streamlit demo
82
 
@@ -96,18 +114,6 @@ python inference_occlusionformer.py \
96
  --overwrite
97
  ```
98
 
99
- Batch inference with a directory of JSON layouts:
100
-
101
- ```bash
102
- python inference_occlusionformer.py \
103
- --model_path /path/to/FLUX.1-dev \
104
- --ckpt_path /path/to/occlusionformer_checkpoint_dir \
105
- --layout_dir ./examples \
106
- --output_dir ./outputs_occlusionformer \
107
- --enable_layout \
108
- --overwrite
109
- ```
110
-
111
  ---
112
  ## ✅ TODO
113
 
@@ -154,4 +160,4 @@ This work is built on many amazing research works and open-source projects. We t
154
  booktitle={ICML},
155
  year={2026}
156
  }
157
- ```
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: diffusers
5
+ license: mit
6
+ pipeline_tag: text-to-image
7
+ base_model: black-forest-labs/FLUX.1-dev
8
+ datasets:
9
+ - FudanCVL/SA-Z
10
+ tags:
11
+ - occlusion
12
+ - layout
13
+ - flux
14
+ ---
15
+
16
  <table align="center" cellspacing="0" cellpadding="0" style="margin:0 auto;">
17
  <tr>
18
  <td valign="middle" style="padding-right:10px;">
 
27
 
28
  <div align="center" style="margin-top:14px;">
29
  <a href='https://henghuiding.com/OcclusionFormer/'><img src='https://img.shields.io/badge/Project-Page-Green'></a> &nbsp;&nbsp;&nbsp;&nbsp;
30
+ <a href='https://icml.cc/virtual/2026/poster/66159'><img src='https://img.shields.io/badge/ICML-2026-blue'></a> &nbsp;&nbsp;&nbsp;&nbsp;
31
+ <a href='https://arxiv.org/abs/2605.21343'><img src='https://img.shields.io/badge/arXiv-2605.21343-b31b1b.svg'></a> &nbsp;&nbsp;&nbsp;&nbsp;
32
+ <a href='https://huggingface.co/papers/2605.21343'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Paper-Hugging Face-orange'></a> &nbsp;&nbsp;&nbsp;&nbsp;
33
  <a href='https://huggingface.co/datasets/FudanCVL/SA-Z'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20SA--Z-Hugging Face%20-orange'></a>
34
  </div>
35
  <p align="center" style="margin:4px 0 0 0;">
 
40
  <p align="center" style="margin:1px 0 0 0; font-size:1.48em; font-weight:900; color:#ff6a00;">ICML 2026</p>
41
  <p align="center" style="margin:1px 0 0 0; font-size:1.08em; color:#6b7280;"><em>✉ Corresponding Author</em></p>
42
 
43
+ This repository contains the weights for **OcclusionFormer**, as presented in the paper [OcclusionFormer: Arranging Z-Order for Layout-Grounded Image Generation](https://huggingface.co/papers/2605.21343).
44
+
45
+ The official code is available at: [https://github.com/FudanCVL/OcclusionFormer](https://github.com/FudanCVL/OcclusionFormer)
46
+
47
  ## 🔥 News
48
+ - [2026/05/21] Release **OcclusionFormer** on [ArXiv](https://arxiv.org/abs/2605.21343)!
49
  - [2026/05/18] Release **inference code**, **model weights** and **SA-Z dataset**.
50
  - [2026/05/18] Release **OcclusionFormer open-source package** in this repository.
51
  - [2026/4/30] OcclusionFormer is accepted to **ICML 2026**.
 
94
 
95
  3. Download checkpoint
96
 
97
+ Weights can be found in this repository. Download `occlusionformer` to `./ckpt`.
 
 
98
 
99
  4. Run Streamlit demo
100
 
 
114
  --overwrite
115
  ```
116
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  ---
118
  ## ✅ TODO
119
 
 
160
  booktitle={ICML},
161
  year={2026}
162
  }
163
+ ```