Add inference-only evaluation for EgoSpeak Omni finetuning
This commit is contained in:
@@ -177,6 +177,26 @@ run by this launcher.
|
||||
|
||||
## Local validation
|
||||
|
||||
### Evaluate a saved checkpoint without training again
|
||||
|
||||
For a completed short continuation, use the separate inference-only CLI:
|
||||
|
||||
```bash
|
||||
CUDA_VISIBLE_DEVICES=0 python3 -u infer_egospeak_omni_finetune.py \
|
||||
--checkpoint results/easycom_egospeak_omni_finetune_low_lr_1ep_diagnostic_2026-09-16/checkpoint_last.pt \
|
||||
--sessions Session_1 Session_2 Session_3 \
|
||||
--output-dir results/easycom_egospeak_omni_finetune_low_lr_1ep_test_2026-09-16
|
||||
```
|
||||
|
||||
Feature roots/readout settings inherit the checkpoint; optional
|
||||
`--egospeak-feature-root`/`--omni-feature-root` override relocated roots while
|
||||
saved extraction contracts are checked. Float32 inference, `pred/valid/raw_eval`,
|
||||
dense and threshold-free raw endpoint AP are exported. No optimizer is created
|
||||
and the checkpoint is unchanged. This repeated official-test evaluation is
|
||||
exploratory; do not choose subsequent parameters or epochs from its scores.
|
||||
|
||||
### Tests
|
||||
|
||||
```bash
|
||||
python3 -m unittest test_egospeak_omni_finetune test_egospeak_omni_residual -v
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user