ttw116 commited on
Commit
1adfd95
Β·
verified Β·
1 Parent(s): 1428018

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +205 -207
README.md CHANGED
@@ -1,207 +1,205 @@
1
- ---
2
- license: apache-2.0
3
- pipeline_tag: image-segmentation
4
- tags:
5
- - infrared-small-target-detection
6
- - multimodal
7
- - vision-language
8
- - pytorch
9
-
10
- ---
11
- <h1>ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection</h1>
12
-
13
- <p>
14
- <b>Tongtong Wang</b><sup>1</sup>&nbsp;
15
- <b>Mingzhu Xu</b><sup>1βœ‰</sup>&nbsp;
16
- <b>Chenglong Yu</b><sup>1</sup>&nbsp;
17
- <b>Jing Wang</b><sup>1</sup>&nbsp;
18
- <b>Xiaohui Lin</b><sup>1</sup>&nbsp;
19
- <b>Weili Guan</b><sup>2</sup>
20
- </p>
21
-
22
-
23
- <p>
24
- <sup>1</sup>School of Software, Shandong University<br>
25
- <sup>2</sup>Harbin Institute of Technology, Shenzhen<br>
26
- <sup>βœ‰</sup>Corresponding author
27
- </p>
28
-
29
-
30
- <p>
31
- <a href="<paper-link>">
32
- <img src="https://img.shields.io/badge/ACM%20MM-2026-blue" alt="ACM MM 2026">
33
- </a>
34
- <a href="https://github.com/iLearn-Lab/MM26-ADGNet">
35
- <img src="https://img.shields.io/badge/GitHub-MM26--ADGNet-black?logo=github" alt="GitHub">
36
- </a>
37
- </p>
38
-
39
- ---
40
-
41
- ## πŸ“– Model Description
42
-
43
- This repository provides the official model checkpoints for **ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection**, accepted by **ACM Multimedia 2026**.
44
-
45
- Infrared Small Target Detection aims to accurately segment weak and tiny targets from complex infrared backgrounds. Existing pure-vision methods rely mainly on pixel-level information, while existing vision-language methods commonly describe targets and backgrounds using a single textual prompt. Such a symmetric design overlooks the inherent semantic differences between sparse infrared targets and structurally complex backgrounds.
46
-
47
- ADGNet addresses this problem through three main components:
48
-
49
- - **Asymmetric Dual-text Prompt (ADP):** uses an abstract, image-independent target prompt and a detailed, image-dependent background prompt.
50
- - **Asymmetric Dual-Branch Interaction (ADBI):** independently performs target localization and background suppression using their corresponding textual priors.
51
- - **Adaptive Feature Aggregation (AFA):** dynamically fuses target-enhanced and background-suppressed features for accurate segmentation.
52
-
53
- The model uses the pretrained **CLIP ViT-B/16** text encoder to extract semantic representations from the target and background prompts.
54
-
55
- ---
56
-
57
- ## πŸ† Available Checkpoints
58
-
59
- All ADGNet checkpoints are hosted in this Hugging Face model repository.
60
-
61
- Download the required checkpoint directly from the **Files and versions** section of this repository.
62
-
63
- | Dataset | Checkpoint |
64
- | :--------: | :----------------------------------------------------------: |
65
- | IRSTD-1K | [`ADGNet_mIoU_72.38_IRSTD-1K.pth.tar`](<irstd-1k-checkpoint-link>) |
66
- | NUDT-SIRST | [`ADGNet_mIoU_95.53_NUDT-SIRST.pth.tar`](<nudt-sirst-checkpoint-link>) |
67
- | SIRST | [`ADGNet_mIoU_83.08_SIRST.pth.tar`](<sirst-checkpoint-link>) |
68
-
69
- ---
70
-
71
- ## πŸš€ Usage
72
-
73
- These checkpoints are designed to be used with the official ADGNet implementation:
74
-
75
- ```text
76
- https://github.com/iLearn-Lab/MM26-ADGNet
77
- ```
78
-
79
- ### 1. Clone the Official Repository
80
-
81
- ```bash
82
- git clone https://github.com/iLearn-Lab/MM26-ADGNet.git
83
- cd MM26-ADGNet
84
- ```
85
-
86
- ### 2. Prepare the Checkpoints
87
-
88
- Place the downloaded checkpoints in:
89
-
90
- ```text
91
- MM26-ADGNet/
92
- └── SOTA_pth/
93
- β”œβ”€β”€ ADGNet_mIoU_72.38_IRSTD-1K.pth.tar
94
- β”œβ”€β”€ ADGNet_mIoU_95.53_NUDT-SIRST.pth.tar
95
- └── ADGNet_mIoU_83.08_SIRST.pth.tar
96
- ```
97
-
98
- ### 3. Prepare the CLIP Text Encoder
99
-
100
- ADGNet uses the pretrained **CLIP ViT-B/16** model:
101
-
102
- ```bash
103
- git clone https://huggingface.co/openai/clip-vit-base-patch16
104
- ```
105
-
106
- Update the local CLIP model path in the corresponding project configuration or source file before inference.
107
-
108
- ### 4. Run Evaluation
109
-
110
- Example evaluation on IRSTD-1K:
111
-
112
- ```bash
113
- python train.py \
114
- --trainset "IRSTD-1K" \
115
- --testset "IRSTD-1K" \
116
- --dataset_dir "./datasets" \
117
- --mode test \
118
- --ckpt "./SOTA_pth/ADGNet_mIoU_72.38_IRSTD-1K.pth.tar"
119
- ```
120
-
121
- Replace the dataset name and checkpoint path when evaluating on NUDT-SIRST or SIRST.
122
-
123
- ---
124
-
125
- ## πŸ“‚ Dataset and Text Annotation Preparation
126
-
127
- The original infrared images and ground-truth masks are not included in this model repository. Please obtain **IRSTD-1K**, **NUDT-SIRST**, and **SIRST** from their respective official sources.
128
-
129
- The asymmetric text annotations used by ADGNet are released separately in our Hugging Face dataset repository:
130
-
131
- - **AITIR Text Annotations:** [`Download`](<huggingface-text-dataset-link>)
132
-
133
- After downloading the original datasets and text annotations, organize them according to the official ADGNet repository:
134
-
135
- ```text
136
- datasets/
137
- β”œβ”€β”€ IRSTD-1K/
138
- β”‚ β”œβ”€β”€ images/
139
- β”‚ β”œβ”€β”€ masks/
140
- β”‚ β”œβ”€β”€ img_idx/
141
- β”‚ └── text/
142
- β”œβ”€β”€ NUDT-SIRST/
143
- β”‚ β”œβ”€β”€ images/
144
- β”‚ β”œβ”€β”€ masks/
145
- β”‚ β”œβ”€β”€ img_idx/
146
- β”‚ └── text/
147
- └── SIRST/
148
- β”œβ”€β”€ images/
149
- β”œβ”€β”€ masks/
150
- β”œβ”€β”€ img_idx/
151
- └── text/
152
- ```
153
-
154
- ---
155
-
156
- ## 🎯 Intended Use
157
-
158
- The released checkpoints are intended for:
159
-
160
- - Academic research on infrared small target detection
161
- - Reproduction of the results reported in the ADGNet paper
162
- - Evaluation on IRSTD-1K, NUDT-SIRST, and SIRST
163
- - Research on multimodal and text-guided infrared image segmentation
164
- - Comparison with other infrared small target detection methods
165
-
166
- ---
167
-
168
- ## ⚠️ Limitations
169
-
170
- - The model requires both infrared images and corresponding textual prompts.
171
- - Detection performance may vary when applied to datasets or scenes that differ substantially from the training distribution.
172
- - The released checkpoints are designed for the dataset splits and evaluation settings used in the paper.
173
- - The model depends on the pretrained CLIP ViT-B/16 text encoder.
174
- - The original infrared datasets are subject to their respective licenses and terms of use.
175
-
176
- ---
177
-
178
- ## πŸ”— Related Resources
179
-
180
- - **GitHub Repository:** [iLearn-Lab/MM26-ADGNet](https://github.com/iLearn-Lab/MM26-ADGNet)
181
- - **Paper:** [`ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection`](<paper-link>)
182
- - **Text Annotations:** [`AITIR Text Annotations`](<huggingface-text-dataset-link>)
183
-
184
- ---
185
-
186
- ## πŸ“š Citation
187
-
188
- If you find ADGNet or the released checkpoints useful in your research, please consider citing our paper:
189
-
190
- ```bibtex
191
-
192
- ```
193
-
194
- Please also consider checking out and citing our other related work:
195
-
196
- ```bibtex
197
-
198
- ```
199
-
200
- ---
201
-
202
- ## πŸ“„ License
203
-
204
- This model repository is released under the [Apache License 2.0](./LICENSE).
205
-
206
- The original datasets and the pretrained CLIP model remain subject to their respective licenses and terms of use.
207
-
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: image-segmentation
4
+ tags:
5
+ - infrared-small-target-detection
6
+ - multimodal
7
+ - vision-language
8
+ - pytorch
9
+ ---
10
+
11
+
12
+ <h1>ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection</h1>
13
+
14
+ <p>
15
+ <b>Tongtong Wang</b><sup>1</sup>&nbsp;
16
+ <b>Mingzhu Xu</b><sup>1βœ‰</sup>&nbsp;
17
+ <b>Chenglong Yu</b><sup>1</sup>&nbsp;
18
+ <b>Jing Wang</b><sup>1</sup>&nbsp;
19
+ <b>Xiaohui Lin</b><sup>1</sup>&nbsp;
20
+ <b>Weili Guan</b><sup>2</sup>
21
+ </p>
22
+
23
+ <p>
24
+ <sup>1</sup>School of Software, Shandong University<br>
25
+ <sup>2</sup>Harbin Institute of Technology, Shenzhen<br>
26
+ <sup>βœ‰</sup>Corresponding author
27
+ </p>
28
+
29
+ <p>
30
+ <a href="<paper-link>">
31
+ <img src="https://img.shields.io/badge/ACM%20MM-2026-blue" alt="ACM MM 2026">
32
+ </a>
33
+ <a href="https://github.com/iLearn-Lab/MM26-ADGNet">
34
+ <img src="https://img.shields.io/badge/GitHub-MM26--ADGNet-black?logo=github" alt="GitHub">
35
+ </a>
36
+ </p>
37
+ ---
38
+
39
+ ## πŸ“– Model Description
40
+
41
+ This repository provides the official model checkpoints for **ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection**, accepted by **ACM Multimedia 2026**.
42
+
43
+ Infrared Small Target Detection aims to accurately segment weak and tiny targets from complex infrared backgrounds. Existing pure-vision methods rely mainly on pixel-level information, while existing vision-language methods commonly describe targets and backgrounds using a single textual prompt. Such a symmetric design overlooks the inherent semantic differences between sparse infrared targets and structurally complex backgrounds.
44
+
45
+ ADGNet addresses this problem through three main components:
46
+
47
+ - **Asymmetric Dual-text Prompt (ADP):** uses an abstract, image-independent target prompt and a detailed, image-dependent background prompt.
48
+ - **Asymmetric Dual-Branch Interaction (ADBI):** independently performs target localization and background suppression using their corresponding textual priors.
49
+ - **Adaptive Feature Aggregation (AFA):** dynamically fuses target-enhanced and background-suppressed features for accurate segmentation.
50
+
51
+ The model uses the pretrained **CLIP ViT-B/16** text encoder to extract semantic representations from the target and background prompts.
52
+
53
+ ---
54
+
55
+ ## πŸ† Available Checkpoints
56
+
57
+ All ADGNet checkpoints are hosted in this Hugging Face model repository.
58
+
59
+ Download the required checkpoint directly from the **Files and versions** section of this repository.
60
+
61
+ | Dataset | Checkpoint |
62
+ | :--------: | :----------------------------------------------------------: |
63
+ | IRSTD-1K | [`ADGNet_mIoU_72.38_IRSTD-1K.pth.tar`](<irstd-1k-checkpoint-link>) |
64
+ | NUDT-SIRST | [`ADGNet_mIoU_95.53_NUDT-SIRST.pth.tar`](<nudt-sirst-checkpoint-link>) |
65
+ | SIRST | [`ADGNet_mIoU_83.08_SIRST.pth.tar`](<sirst-checkpoint-link>) |
66
+
67
+ ---
68
+
69
+ ## πŸš€ Usage
70
+
71
+ These checkpoints are designed to be used with the official ADGNet implementation:
72
+
73
+ ```text
74
+ https://github.com/iLearn-Lab/MM26-ADGNet
75
+ ```
76
+
77
+ ### 1. Clone the Official Repository
78
+
79
+ ```bash
80
+ git clone https://github.com/iLearn-Lab/MM26-ADGNet.git
81
+ cd MM26-ADGNet
82
+ ```
83
+
84
+ ### 2. Prepare the Checkpoints
85
+
86
+ Place the downloaded checkpoints in:
87
+
88
+ ```text
89
+ MM26-ADGNet/
90
+ └── SOTA_pth/
91
+ β”œβ”€β”€ ADGNet_mIoU_72.38_IRSTD-1K.pth.tar
92
+ β”œβ”€β”€ ADGNet_mIoU_95.53_NUDT-SIRST.pth.tar
93
+ └── ADGNet_mIoU_83.08_SIRST.pth.tar
94
+ ```
95
+
96
+ ### 3. Prepare the CLIP Text Encoder
97
+
98
+ ADGNet uses the pretrained **CLIP ViT-B/16** model:
99
+
100
+ ```bash
101
+ git clone https://huggingface.co/openai/clip-vit-base-patch16
102
+ ```
103
+
104
+ Update the local CLIP model path in the corresponding project configuration or source file before inference.
105
+
106
+ ### 4. Run Evaluation
107
+
108
+ Example evaluation on IRSTD-1K:
109
+
110
+ ```bash
111
+ python train.py \
112
+ --trainset "IRSTD-1K" \
113
+ --testset "IRSTD-1K" \
114
+ --dataset_dir "./datasets" \
115
+ --mode test \
116
+ --ckpt "./SOTA_pth/ADGNet_mIoU_72.38_IRSTD-1K.pth.tar"
117
+ ```
118
+
119
+ Replace the dataset name and checkpoint path when evaluating on NUDT-SIRST or SIRST.
120
+
121
+ ---
122
+
123
+ ## πŸ“‚ Dataset and Text Annotation Preparation
124
+
125
+ The original infrared images and ground-truth masks are not included in this model repository. Please obtain **IRSTD-1K**, **NUDT-SIRST**, and **SIRST** from their respective official sources.
126
+
127
+ The asymmetric text annotations used by ADGNet are released separately in our Hugging Face dataset repository:
128
+
129
+ - **AITIR Text Annotations:** [`Download`](<huggingface-text-dataset-link>)
130
+
131
+ After downloading the original datasets and text annotations, organize them according to the official ADGNet repository:
132
+
133
+ ```text
134
+ datasets/
135
+ β”œβ”€β”€ IRSTD-1K/
136
+ β”‚ β”œβ”€β”€ images/
137
+ β”‚ β”œβ”€β”€ masks/
138
+ β”‚ β”œβ”€β”€ img_idx/
139
+ β”‚ └── text/
140
+ β”œβ”€β”€ NUDT-SIRST/
141
+ β”‚ β”œβ”€β”€ images/
142
+ β”‚ β”œβ”€β”€ masks/
143
+ β”‚ β”œβ”€β”€ img_idx/
144
+ β”‚ └── text/
145
+ └── SIRST/
146
+ β”œβ”€β”€ images/
147
+ β”œβ”€β”€ masks/
148
+ β”œβ”€β”€ img_idx/
149
+ └── text/
150
+ ```
151
+
152
+ ---
153
+
154
+ ## 🎯 Intended Use
155
+
156
+ The released checkpoints are intended for:
157
+
158
+ - Academic research on infrared small target detection
159
+ - Reproduction of the results reported in the ADGNet paper
160
+ - Evaluation on IRSTD-1K, NUDT-SIRST, and SIRST
161
+ - Research on multimodal and text-guided infrared image segmentation
162
+ - Comparison with other infrared small target detection methods
163
+
164
+ ---
165
+
166
+ ## ⚠️ Limitations
167
+
168
+ - The model requires both infrared images and corresponding textual prompts.
169
+ - Detection performance may vary when applied to datasets or scenes that differ substantially from the training distribution.
170
+ - The released checkpoints are designed for the dataset splits and evaluation settings used in the paper.
171
+ - The model depends on the pretrained CLIP ViT-B/16 text encoder.
172
+ - The original infrared datasets are subject to their respective licenses and terms of use.
173
+
174
+ ---
175
+
176
+ ## πŸ”— Related Resources
177
+
178
+ - **GitHub Repository:** [iLearn-Lab/MM26-ADGNet](https://github.com/iLearn-Lab/MM26-ADGNet)
179
+ - **Paper:** [`ADGNet: Asymmetric Dual-text Guided Network for Infrared Small Target Detection`](<paper-link>)
180
+ - **Text Annotations:** [`AITIR Text Annotations`](<huggingface-text-dataset-link>)
181
+
182
+ ---
183
+
184
+ ## πŸ“š Citation
185
+
186
+ If you find ADGNet or the released checkpoints useful in your research, please consider citing our paper:
187
+
188
+ ```bibtex
189
+
190
+ ```
191
+
192
+ Please also consider checking out and citing our other related work:
193
+
194
+ ```bibtex
195
+
196
+ ```
197
+
198
+ ---
199
+
200
+ ## πŸ“„ License
201
+
202
+ This model repository is released under the [Apache License 2.0](./LICENSE).
203
+
204
+ The original datasets and the pretrained CLIP model remain subject to their respective licenses and terms of use.
205
+