Reproducing FSD50K SV result
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 213
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to reproduce the fine-tuning result on FSD50K.
I've tried multiple checkpoints but am not able to reach the 0.649 mAP in Table 4 of the paper.
Here is the results I've been able to attain:
Checkpoint music_audioset_epoch_15_esc_90.14.pt
Fine-Tuned mAP: 0.499
Checkpoint music_speech_audioset_epoch_15_esc_89.98.pt
Fine-Tuned mAP: 0.503
I've also tried the latest checkpoints that use the HTSAT-tiny audio model, with similar result.
Here is my setup as per the finetinetune-fsd50k.sh script:
python -m evaluate.eval_linear_probe \
--save-frequency 50 \
--save-top-performance 3 \
--save-most-recent \
--dataset-type="webdataset" \
--precision="fp32" \
--warmup 0 \
--batch-size=40 \
--lr=1e-4 \
--wd=0.1 \
--epochs=100 \
--workers=8 \
--use-bn-sync \
--freeze-text \
--amodel HTSAT-base \
--tmodel roberta \
--report-to wandb \
--wandb-notes "10.14-finetune-fsd50k" \
--datasetnames "FSD50K_webdataset" \
--datasetinfos train \
--seed 3407 \
--datasetpath /home/ubuntu/datasets/processed \
--logs /home/ubuntu/CLAP/clap_logs \
--gather-with-grad \
--lp-loss="bce" \
--lp-metrics="map" \
--lp-lr=1e-4 \
--lp-mlp \
--class-label-path="/home/ubuntu/CLAP/class_labels/FSD50k_class_labels_indices.json" \
--openai-model-cache-dir /home/ubuntu/CLAP/.cache \
--pretrained="/home/ubuntu/CLAP/pretrained" \
--data-filling "repeatpad" \
--data-truncating "rand_trunc" \
--optimizer "adam"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the finetinetune-fsd50k.sh configuration and evaluate/eval_linear_probe, then compare the listed checkpoints, dataset settings, and FSD50K command against the paper's Table 4 setup. Re-run the reported configuration and inspect why it reaches about 0.50 mAP instead of 0.649; done means identifying the reproducibility discrepancy or documenting the confirmed result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100