Correct split documentation: by_class is an unseen-class split, not a class-balanced one
Browse files- README.md +26 -7
- scripts/download.py +2 -1
README.md
CHANGED
|
@@ -116,15 +116,34 @@ That is what gives 222.
|
|
| 116 |
|
| 117 |
## Splits
|
| 118 |
|
| 119 |
-
Two protocols
|
| 120 |
-
one you used.
|
| 121 |
|
| 122 |
-
|
| 123 |
-
|---|---|---|---|
|
| 124 |
-
| Sequence-level | `splits/train_t-IoU.txt` / `test_t-IoU.txt` | 3,289 | 822 |
|
| 125 |
-
| Class-balanced | `splits/train_t-IoU_by_class.txt` / `test_t-IoU_by_class.txt` | 3,301 | 810 |
|
| 126 |
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
## Categories
|
| 130 |
|
|
|
|
| 116 |
|
| 117 |
## Splits
|
| 118 |
|
| 119 |
+
Two protocols, each covering all 4,111 sequences. They answer different questions — **report which
|
| 120 |
+
one you used.**
|
| 121 |
|
| 122 |
+
### 1. Standard split — use this one by default
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
`splits/train_t-IoU.txt` (3,289) / `splits/test_t-IoU.txt` (822) · column `split_tiou`
|
| 125 |
+
|
| 126 |
+
**This is the split the paper evaluates on**, and the one to use for comparable numbers. Classes
|
| 127 |
+
overlap between train and test, so it measures ordinary in-distribution performance.
|
| 128 |
+
|
| 129 |
+
Coverage is near-total but not exact: test covers 217 of 222 classes and train 221 of 222. The
|
| 130 |
+
five classes with no test sequence are `aquatic_animal-urchin`, `human-rider`, `human-skydiver`,
|
| 131 |
+
`human-swimmer`, `mammal-pig`; `sport_equipment-ice_hockey` has no train sequence. Most of these
|
| 132 |
+
are classes with very few sequences overall (urchin, swimmer and ice_hockey have exactly one).
|
| 133 |
+
|
| 134 |
+
### 2. Unseen-class split — for zero-shot / generalization
|
| 135 |
+
|
| 136 |
+
`splits/train_t-IoU_by_class.txt` (3,301) / `splits/test_t-IoU_by_class.txt` (810) ·
|
| 137 |
+
column `split_by_class`
|
| 138 |
+
|
| 139 |
+
Split **along class boundaries**: 180 classes in train, 42 in test, with **zero overlap**. No test
|
| 140 |
+
category is ever seen during training, so this measures generalization to novel object categories
|
| 141 |
+
rather than in-distribution accuracy. Numbers from this split are not comparable with the standard
|
| 142 |
+
split — they are a harder, different task.
|
| 143 |
+
|
| 144 |
+
The 42 held-out classes span 14 supercategories (aircraft, aquatic_animal, bird,
|
| 145 |
+
clothing_accessory, electronic, food, insect, kitchenware, mammal, personal_care, reptile,
|
| 146 |
+
sport_equipment, vehicle, watercraft).
|
| 147 |
|
| 148 |
## Categories
|
| 149 |
|
scripts/download.py
CHANGED
|
@@ -48,7 +48,8 @@ def main():
|
|
| 48 |
p.add_argument("--out", default="VQS-4K", help="destination directory")
|
| 49 |
p.add_argument("--split", default="all", choices=["train", "test", "all"])
|
| 50 |
p.add_argument("--protocol", default="tiou", choices=["tiou", "by_class"],
|
| 51 |
-
help="
|
|
|
|
| 52 |
p.add_argument("--categories", nargs="+", metavar="NAME",
|
| 53 |
help="limit to these category_id or supercategory values")
|
| 54 |
p.add_argument("--masks-only", action="store_true",
|
|
|
|
| 48 |
p.add_argument("--out", default="VQS-4K", help="destination directory")
|
| 49 |
p.add_argument("--split", default="all", choices=["train", "test", "all"])
|
| 50 |
p.add_argument("--protocol", default="tiou", choices=["tiou", "by_class"],
|
| 51 |
+
help="tiou = the standard split the paper reports on (default); "
|
| 52 |
+
"by_class = the unseen-class split, train and test share no categories")
|
| 53 |
p.add_argument("--categories", nargs="+", metavar="NAME",
|
| 54 |
help="limit to these category_id or supercategory values")
|
| 55 |
p.add_argument("--masks-only", action="store_true",
|