harritaylor / torchvggish

Pytorch port of Google Research's VGGish model used for extracting audio features.
Apache License 2.0
377 stars 68 forks source link

Modify torchvggish.vggish_params.EXAMPLE_HOP_SECONDS after (or before) model load? #22

Open turian opened 3 years ago

turian commented 3 years ago

I would like to modify global variable torchvggish.vggish_params.EXAMPLE_HOP_SECONDS after (or before) loading the model.

However, I cannot import torchvggish.vggish_params because I don't have it installed on my system and it's tricky to install. There is no pypi module and no setup.py file.

What would be the simplest way to modify torchvggish.vggish_params.EXAMPLE_HOP_SECONDS?