Align SubsetB preparation and evaluation instructions
Browse files- ratopo_subset_b/README.md +18 -6
ratopo_subset_b/README.md
CHANGED
|
@@ -1,21 +1,33 @@
|
|
| 1 |
-
# DualTopo on RATopo —
|
| 2 |
|
| 3 |
-
[
|
| 4 |
|
| 5 |
-
Use
|
| 6 |
|
| 7 |
## Testing
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
```bash
|
| 12 |
-
cd DualTopo/projects/ratopo
|
| 13 |
python tools/reproduce.py --subset B \
|
| 14 |
--data-root /path/to/subset_b_image_root \
|
| 15 |
-
--annotations /
|
| 16 |
--output-dir outputs/subset_b
|
| 17 |
```
|
| 18 |
|
|
|
|
|
|
|
| 19 |
## Results (%)
|
| 20 |
|
| 21 |
| Branch | OLS | DET_l | DET_t | TOP_ll | TOP_lt |
|
|
|
|
| 1 |
+
# DualTopo on RATopo — SubsetB
|
| 2 |
|
| 3 |
+
[Download checkpoint](model.safetensors) · [Code, installation and data preparation](https://github.com/YimingYang23/DualTopo/tree/main/projects/ratopo)
|
| 4 |
|
| 5 |
+
Use the shared RATopo environment: Python 3.8, PyTorch 1.9.0 and MMCV-full 1.5.2. Prepare `data/data_dict_subset_B_val.pkl` with the project's `tools/prepare_data.py` command.
|
| 6 |
|
| 7 |
## Testing
|
| 8 |
|
| 9 |
+
Run from `DualTopo/projects/ratopo`.
|
| 10 |
+
|
| 11 |
+
Three-frame setup check:
|
| 12 |
+
|
| 13 |
+
```bash
|
| 14 |
+
python tools/reproduce.py --subset B \
|
| 15 |
+
--data-root /path/to/subset_b_image_root \
|
| 16 |
+
--annotations data/data_dict_subset_B_val.pkl \
|
| 17 |
+
--limit 3 --output-dir outputs/check_subset_b
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
Full evaluation on 6,019 frames:
|
| 21 |
|
| 22 |
```bash
|
|
|
|
| 23 |
python tools/reproduce.py --subset B \
|
| 24 |
--data-root /path/to/subset_b_image_root \
|
| 25 |
+
--annotations data/data_dict_subset_B_val.pkl \
|
| 26 |
--output-dir outputs/subset_b
|
| 27 |
```
|
| 28 |
|
| 29 |
+
Weights download automatically. Each command runs `singleframe` and `temporal` inference, then official CPU scoring. Predictions and metric JSON files are saved in the output directory; use the full run for the results below.
|
| 30 |
+
|
| 31 |
## Results (%)
|
| 32 |
|
| 33 |
| Branch | OLS | DET_l | DET_t | TOP_ll | TOP_lt |
|