bacpipe.model_pipelines.feature_extractors.audioprotopnet

Classes

AutoFeatureExtractor()

This is a generic feature extractor class that will be instantiated as one of the feature extractor classes of the library when created with the [AutoFeatureExtractor.from_pretrained] class method.

AutoModel(*args, **kwargs)

This is a generic model class that will be instantiated as one of the base model classes of the library when created with the [~AutoModel.from_pretrained] class method or the [~AutoModel.from_config] class method.

AutoModelForSequenceClassification(*args, ...)

This is a generic model class that will be instantiated as one of the model classes of the library (with a sequence classification head) when created with the [~AutoModelForSequenceClassification.from_pretrained] class method or the [~AutoModelForSequenceClassification.from_config] class method.

Model(**kwargs)

ModelBaseClass(sr, segment_length, model_name)

class bacpipe.model_pipelines.feature_extractors.audioprotopnet.Model(**kwargs)[source]

Bases: ModelBaseClass

classifier_predictions(embeddings)[source]
preprocess(audio)[source]