|
Download checkpoints/README.md from SCU-VIP-Lab/FlexICM: direct link, hf CLI and curl.
- Browser
- Download file 3.17 kB
-
https://huggingface.co/SCU-VIP-Lab/FlexICM/resolve/19051ddde5ff4d3bb2d65fa930bb0af2ade29df1/checkpoints/README.md
- Command line
-
hf download hf://SCU-VIP-Lab/FlexICM@19051ddde5ff4d3bb2d65fa930bb0af2ade29df1/checkpoints/README.md
-
curl -L -o README.md https://huggingface.co/SCU-VIP-Lab/FlexICM/resolve/19051ddde5ff4d3bb2d65fa930bb0af2ade29df1/checkpoints/README.md
3.17 kB
| # Checkpoints Layout (Placeholders) | |
| Put pretrained / trained weights here before running **test / eval**. | |
| Training still writes to `logs/` by default; after training, copy (or symlink) best | |
| checkpoints into this tree so eval configs have a stable path. | |
| > Files named `PLACEHOLDER` are not real weights. Replace each with the matching | |
| > `.pth.tar` checkpoint, then update or keep the path expected by eval scripts. | |
| ## Directory map | |
| ```text | |
| checkpoints/ | |
| βββ base_codec/ # frozen TIC (TransTIC / AdaptiveICMH) | |
| β βββ base_codec_1.pth.tar # Ξ» = 0.0035 | |
| β βββ base_codec_2.pth.tar # Ξ» = 0.0067 | |
| β βββ base_codec_3.pth.tar # Ξ» = 0.0130 | |
| β βββ base_codec_4.pth.tar # Ξ» = 0.0250 | |
| β | |
| βββ taic/ # five single-task TAIC codecs | |
| β βββ detection/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ semantic/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ instance/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ panoptic/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ pose/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β | |
| βββ ctaic/ # three multi-task scenarios | |
| βββ s1_det_instance/ | |
| β βββ stage1/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ stage2/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| βββ s2_sem_panoptic/ | |
| β βββ stage1/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| β βββ stage2/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| βββ s3_det_pose/ | |
| βββ stage1/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| βββ stage2/{1,2,3,4}/checkpoint_best_loss.pth.tar | |
| ``` | |
| Quality folders `{1,2,3,4}` match paper Ξ» / TIC quality levels. | |
| ## Download base TIC codecs | |
| ```bash | |
| bash scripts/download_base_codecs.sh | |
| # downloads into checkpoints/base_codec/ | |
| ``` | |
| ## After training: copy into placeholders | |
| ```bash | |
| # example: TAIC detection, quality 1 | |
| cp logs/taic_detection/1/checkpoint_best_loss.pth.tar \ | |
| checkpoints/taic/detection/1/checkpoint_best_loss.pth.tar | |
| # example: C-TAIC s1 stage2, quality 1 | |
| cp logs/ctaic_s1_stage2/1/checkpoint_best_loss.pth.tar \ | |
| checkpoints/ctaic/s1_det_instance/stage2/1/checkpoint_best_loss.pth.tar | |
| ``` | |
| ## Eval configs | |
| See `configs/eval/` β they point to these placeholder paths. | |
| Codec test (bpp / feature distortion): | |
| ```bash | |
| python scripts/eval_taic.py -c configs/eval/taic_detection.yaml | |
| python scripts/eval_ctaic.py -c configs/eval/ctaic_s1.yaml | |
| ``` | |
| Scripts refuse to run if a `PLACEHOLDER` file is still present or if the `.pth.tar` is missing. | |
| Task rateβaccuracy metrics are not implemented in these scripts yet. | |
| ## Task networks (for metric evaluation) | |
| ```text | |
| checkpoints/task_networks/ | |
| βββ detection/model.pth | |
| βββ instance/model.pth | |
| βββ semantic/model.pth | |
| βββ panoptic/model.pth | |
| βββ pose/model.pth | |
| ``` | |
| These are **official pretrained task networks** (not codec weights). | |
| Required when running: | |
| ```bash | |
| python scripts/eval_taic.py -c configs/eval/taic_detection.yaml --with-metrics | |
| ``` | |
| See `configs/task_networks/README.md` for config/checkpoint pairing. | |