Skip to content

How to import the parameters of the pretrained VGGish model? #6399

@HeterCol

Description

@HeterCol

I am using VGGish model as a part of my model to extract the feature of input audio. I want to know how I can import the parameters of the pretrained model directly and do some fine-tune in the future.

Actually, I have implemented that model using Pytorch because of some reasons. And in Pytorch, I can directly import the model using the following code.
model.load_state_dict(torch.load('xxx.pth'))
The '.pth' file save the parameters, and using those code I can import the parameters.

Actually I have not found the pretrained VGGish model parameters. So I want to know how to solve my problem.

@plakal @dpwe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions