gnes.encoder.audio.vggish module

class gnes.encoder.audio.vggish.VggishEncoder(model_dir, max_length=10, *args, **kwargs)[source]

Bases: gnes.encoder.base.BaseAudioEncoder

encode(audio, *args, **kwargs)[source]
Return type:ndarray
post_init()[source]

Declare class attributes/members that can not be serialized in standard way

train(*args, **kwargs)

Train the model, need to be overrided