kanguyen-vn commited on
Commit
cef7064
·
verified ·
1 Parent(s): b099759

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -58,3 +58,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ ADE20KPart234/ade20k_instance_train_mixed_parts.json filter=lfs diff=lfs merge=lfs -text
62
+ PartImageNet/annotations/test_whole/test_mixed_parts.json filter=lfs diff=lfs merge=lfs -text
63
+ PartImageNet/annotations/train/train_mixed_parts.json filter=lfs diff=lfs merge=lfs -text
64
+ PartImageNet/annotations/train_whole/train_mixed_parts.json filter=lfs diff=lfs merge=lfs -text
65
+ PartImageNet/annotations/val_whole/val_mixed_parts.json filter=lfs diff=lfs merge=lfs -text
66
+ mixed_parts_train.json filter=lfs diff=lfs merge=lfs -text
ADE20KPart234/ade20k_instance_train_mixed_parts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d50cbcc2a3fb33b418cb7fd5e139287752a745a698941cbdaa3c6d0965f2325
3
+ size 16904869
ADE20KPart234/ade20k_instance_val_mixed_parts.json ADDED
The diff for this file is too large to render. See raw diff
 
PartImageNet/annotations/test/test_mixed_parts.json ADDED
The diff for this file is too large to render. See raw diff
 
PartImageNet/annotations/test_whole/test_mixed_parts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b9877e4fea60fc7bbc8173ad3c3c66761e2833853cb7398665f4ecae10d777d
3
+ size 21563943
PartImageNet/annotations/train/train_mixed_parts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a824ceaafd71b5eecf0367cf3d22b7af89bd2b0039d1a0b79230c0140bf28790
3
+ size 40960961
PartImageNet/annotations/train_whole/train_mixed_parts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46e7247c750bed0f6eff289b5bc6aa793f3e9a114e01cd628fbb6021e8922b23
3
+ size 182542765
PartImageNet/annotations/val/val_mixed_parts.json ADDED
The diff for this file is too large to render. See raw diff
 
PartImageNet/annotations/val_whole/val_mixed_parts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e98ddee026ef11a102de1ca9d75a818f02e597bb84e2393217d5fe64c10d8e4
3
+ size 10597025
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Mixed Parts
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - image-segmentation
7
+ tags:
8
+ - computer-vision
9
+ - semantic-segmentation
10
+ - co-segmentation
11
+ - part-segmentation
12
+ - multi-image-reasoning
13
+ size_categories:
14
+ - 1M<n<10M
15
+ ---
16
+
17
+ # Mixed Parts
18
+
19
+ Mixed Parts is the annotation bundle used by CALICO for part-focused semantic co-segmentation. It contains multi-image object-part comparison samples curated from ADE20KPart234, PartImageNet, and PACO-LVIS image assets.
20
+
21
+ This repository contains annotations only. Users must download the original image datasets separately from their upstream sources and overlay these annotations into the expected CALICO directory structure.
22
+
23
+ ## Files
24
+
25
+ ```text
26
+ mixed_parts_train.json
27
+ mixed_parts_val.json
28
+ mixed_parts_test.json
29
+ ADE20KPart234/ade20k_instance_train_mixed_parts.json
30
+ ADE20KPart234/ade20k_instance_val_mixed_parts.json
31
+ PartImageNet/annotations/train/train_mixed_parts.json
32
+ PartImageNet/annotations/train_whole/train_mixed_parts.json
33
+ PartImageNet/annotations/val/val_mixed_parts.json
34
+ PartImageNet/annotations/val_whole/val_mixed_parts.json
35
+ PartImageNet/annotations/test/test_mixed_parts.json
36
+ PartImageNet/annotations/test_whole/test_mixed_parts.json
37
+ ```
38
+
39
+ The official Mixed Parts test split is `mixed_parts_test.json`.
40
+
41
+ ## Split Sizes
42
+
43
+ | Split | Samples |
44
+ | --- | ---: |
45
+ | Train | 2,380,749 |
46
+ | Val | 1,999 |
47
+ | Test | 999 |
48
+
49
+ ## Source Data
50
+
51
+ Download the original source data from the upstream projects:
52
+
53
+ - ADE20KPart234: download `ADE20KPart234.tar.gz` from [InternRobotics/OV_PARTS](https://github.com/InternRobotics/OV_PARTS).
54
+ - PartImageNet: download `PartImageNet_Seg.zip` from [tacju/partimagenet](https://github.com/tacju/partimagenet).
55
+ - COCO2017 and PACO-LVIS: follow [facebookresearch/paco](https://github.com/facebookresearch/paco) and download `paco_lvis_v1.zip`. PACO-LVIS annotations reference COCO2017 images, so COCO2017 images are also required.
56
+
57
+ ## Data Preparation
58
+
59
+ From the CALICO repository root, create the default data layout:
60
+
61
+ ```bash
62
+ mkdir -p data/mixed_parts_data data/coco_2017
63
+ ```
64
+
65
+ Extract ADE20KPart234 and PartImageNet under `data/mixed_parts_data`:
66
+
67
+ ```bash
68
+ tar -xzf /path/to/ADE20KPart234.tar.gz -C data/mixed_parts_data
69
+ unzip /path/to/PartImageNet_Seg.zip -d data/mixed_parts_data
70
+ ```
71
+
72
+ Extract PACO-LVIS annotations under `data/mixed_parts_data/paco_lvis/annotations`:
73
+
74
+ ```bash
75
+ mkdir -p data/mixed_parts_data/paco_lvis/annotations
76
+ unzip /path/to/paco_lvis_v1.zip -d data/mixed_parts_data/paco_lvis/annotations
77
+ ```
78
+
79
+ Place COCO2017 images under `data/coco_2017`:
80
+
81
+ ```text
82
+ data/coco_2017/
83
+ ├── train2017/
84
+ └── val2017/
85
+ ```
86
+
87
+ Overlay this annotation bundle into `data/mixed_parts_data`:
88
+
89
+ ```bash
90
+ cp -r /path/to/MixedParts/* data/mixed_parts_data/
91
+ ```
92
+
93
+ The prepared data should have this structure:
94
+
95
+ ```text
96
+ data/
97
+ ├── coco_2017/
98
+ │ ├── train2017/
99
+ │ └── val2017/
100
+ └── mixed_parts_data/
101
+ ├── mixed_parts_train.json
102
+ ├── mixed_parts_val.json
103
+ ├── mixed_parts_test.json
104
+ ├── ADE20KPart234/
105
+ │ ├── ade20k_instance_train_mixed_parts.json
106
+ │ ├── ade20k_instance_val_mixed_parts.json
107
+ │ ├── images/
108
+ │ └── annotations_detectron2_part/
109
+ ├── PartImageNet/
110
+ │ ├── annotations/
111
+ │ │ ├── train/train_mixed_parts.json
112
+ │ │ ├── train_whole/train_mixed_parts.json
113
+ │ │ ├── val/val_mixed_parts.json
114
+ │ │ ├── val_whole/val_mixed_parts.json
115
+ │ │ ├── test/test_mixed_parts.json
116
+ │ │ └── test_whole/test_mixed_parts.json
117
+ │ └── images/
118
+ └── paco_lvis/
119
+ └── annotations/
120
+ ├── paco_lvis_v1_train.json
121
+ ├── paco_lvis_v1_val.json
122
+ └── paco_lvis_v1_test.json
123
+ ```
124
+
125
+ ## Evaluation with CALICO
126
+
127
+ After preparing the data, run evaluation from the CALICO repository root:
128
+
129
+ ```bash
130
+ python evaluate.py \
131
+ --merged_ckpt_path PLAN-Lab/CALICO \
132
+ --dataset_dir ./data \
133
+ --output_save_path ./evaluate_results/calico_mixed_parts \
134
+ --val_dataset "MixedPartsObjectVal|MixedPartsPartVal" \
135
+ --multi_image_filepath_prefix ./data/mixed_parts_data/mixed_parts_test.json \
136
+ --mode test \
137
+ --compute_metrics
138
+ ```
139
+
140
+ For full setup details, see the CALICO repository documentation.
141
+
142
+ ## Licensing and Terms
143
+
144
+ This repository provides Mixed Parts annotations for research use. The underlying images and source annotations come from ADE20KPart234, PartImageNet, COCO2017, and PACO-LVIS. Users are responsible for following the licenses and terms of the upstream datasets.
145
+
146
+ ## Citation
147
+
148
+ If you use Mixed Parts or CALICO, please cite:
149
+
150
+ ```bibtex
151
+ @article{nguyen2025calico,
152
+ title={CALICO: Part-Focused Semantic Co-Segmentation with Large Vision-Language Models},
153
+ author={Nguyen, Kiet A. and Juvekar, Adheesh and Yu, Tianjiao and Wahed, Muntasir and Lourentzou, Ismini},
154
+ journal={In Proceedings for the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
155
+ year={2025}
156
+ }
157
+ ```
mixed_parts_test.json ADDED
The diff for this file is too large to render. See raw diff
 
mixed_parts_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995b536f9a4a0764e805d94f35e2e8bf6f78f3068c56fcb36850ba4d3a4574ed
3
+ size 1042935868
mixed_parts_val.json ADDED
The diff for this file is too large to render. See raw diff