Skip to content

Commit

Permalink
Merge pull request #20 from faroit/faroit-fix-20s30s
Browse files Browse the repository at this point in the history
fix urls for 20s and 30s audioset weights
  • Loading branch information
kkoutini authored Jun 17, 2022
2 parents 6271783 + 58297ba commit 38491ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/passt.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ def _cfg(url='', **kwargs):
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, input_size=(1, 128, 2000), crop_pct=1.0,
classifier=('head.1', 'head_dist'), num_classes=527),
'passt-s-f128-20sec-p16-s10-ap474-swa': _cfg(
url='https://github.com/kkoutini/PaSST/releases/download/v0.0.3-audioset/passt-s-f128-20sec-p16-s10-ap.474-swa.pt',
url='https://github.com/kkoutini/PaSST/releases/download/v0.0.5/passt-s-f128-20sec-p16-s10-ap.474-swa.pt',
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, input_size=(1, 128, 2000), crop_pct=1.0,
classifier=('head.1', 'head_dist'), num_classes=527),
'passt-s-f128-30sec-p16-s10-ap473-swa': _cfg(
url='https://github.com/kkoutini/PaSST/releases/download/v0.0.3-audioset/passt-s-f128-30sec-p16-s10-ap.473-swa.pt',
url='https://github.com/kkoutini/PaSST/releases/download/v0.0.5/passt-s-f128-30sec-p16-s10-ap.473-swa.pt',
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, input_size=(1, 128, 3000), crop_pct=1.0,
classifier=('head.1', 'head_dist'), num_classes=527),
'openmic2008_passt_u_f128_p16_s10_ap85_swa': _cfg(
Expand Down

0 comments on commit 38491ba

Please sign in to comment.