Access python module used in torch.hub model?

I am using the torchvggish torch.hub model. This package has no pypi module.

I would like to modify global variable torchvggish.vggish_params.EXAMPLE_HOP_SECONDS after 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.

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

I think you could create a fork, change the repository as you wish, and point torch.hub to your repo.