Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how about use Cnn14_8k_mAP=0.438.pth #54

Open
herbiel opened this issue Jul 12, 2022 · 0 comments
Open

how about use Cnn14_8k_mAP=0.438.pth #54

herbiel opened this issue Jul 12, 2022 · 0 comments

Comments

@herbiel
Copy link

herbiel commented Jul 12, 2022

CHECKPOINT_PATH="Cnn14_16k_mAP=0.438.pth" # Trained by a later code version, achieves higher mAP than the paper.
wget -O $CHECKPOINT_PATH https://zenodo.org/record/3987831/files/Cnn14_16k_mAP%3D0.438.pth?download=1
MODEL_TYPE="Cnn14_16k"
CUDA_VISIBLE_DEVICES=0 python3 pytorch/inference.py audio_tagging
--sample_rate=16000
--window_size=512
--hop_size=160
--mel_bins=64
--fmin=50
--fmax=8000
--model_type=$MODEL_TYPE
--checkpoint_path=$CHECKPOINT_PATH
--audio_path='resources/R9_ZSCveAHg_7s.wav'
--cuda

what's value i need to change ?
--window_size=512
--hop_size=160
--mel_bins=64
--fmin=50
--fmax=8000 \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant