Skip to content

Commit

Permalink
Added github-hosted weights
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrison Taylor committed Sep 26, 2019
1 parent 1c8f6a3 commit 314f9c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions torchvggish.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
import errno
from urllib.parse import urlparse

# TODO: Upload weights and PCA to project release

VGGISH_WEIGHTS = "https://users.cs.cf.ac.uk/taylorh23/pytorch/models/vggish-10086976.pth"
PCA_PARAMS = "https://users.cs.cf.ac.uk/taylorh23/pytorch/models/vggish_pca_params-4d878af3.npz"
VGGISH_WEIGHTS = "https://github.com/harritaylor/torchvggish/releases/download/v0.1/vggish-10086976.pth"
PCA_PARAMS = "https://github.com/harritaylor/torchvggish/releases/download/v0.1/vggish_pca_params-4d878af3.npz"


class VGG(nn.Module):
Expand Down

0 comments on commit 314f9c7

Please sign in to comment.