ertk.preprocessing.audioset.VGGishExtractorConfig

class ertk.preprocessing.audioset.VGGishExtractorConfig(model_dir: str = '???', postprocess: bool = True)

Bases: ERTKConfig

Configuration for a VGGish extractor.

__init__(model_dir: str = '???', postprocess: bool = True) None

Methods

__init__([model_dir, postprocess])

Inherited Methods

from_config(config)

Create config object from any compatible config.

from_file(path[, override])

Create config from YAML file and optionlly override some values.

merge_with_args([args])

Merge config with command-line arguments.

to_dictconfig()

Convert config to DictConfig.

to_file(path)

Write config to YAML file.

to_string()

Generate YAML string representation of config.

Attributes

model_dir

The directory containing the VGGish model files.

postprocess

Whether to apply the VGGish postprocessing.

model_dir: str = '???'

The directory containing the VGGish model files.

postprocess: bool = True

Whether to apply the VGGish postprocessing.