DCASE Utilities
Installation instructions
PyPI
Source
Dependencies
Library
Author
Contributing
Testing
Documentation
Tutorials
Introduction
Concepts
Containers
Basic usage
Dictionaries
List of Dictionaries
Data Containers
Repositories
Audio
Creating container
Loading and Saving
Focus segment
Frames and Segments
Processing
Visualizations
Acoustic features
Extracting features
Visualization
Data processing
Data manipulation
Normalization
Aggregation
Sequencing
Stacking
Data encoding
One-hot
Many-hot
Event roll
Probability encoding
Decision encoding
Metadata
Creating container
Loading and saving
Accessing data
Filtering
Processing
Event roll
Datasets
Initializing dataset
Cross-validation setup
Meta data
Processing chain
Feature extraction and processing
Meta data processing
Application examples
Acoustic scene classifier
Dataset initialization
Feature extraction
Feature normalization
Model learning
Testing
Evaluation
Utilities
Containers
Basic containers
ObjectContainer
dcase_util.containers.ObjectContainer
dcase_util.containers.ObjectContainer.load
dcase_util.containers.ObjectContainer.save
dcase_util.containers.ObjectContainer.show
dcase_util.containers.ObjectContainer.log
DictContainer
dcase_util.containers.DictContainer
dcase_util.containers.DictContainer.load
dcase_util.containers.DictContainer.save
dcase_util.containers.DictContainer.show
dcase_util.containers.DictContainer.log
dcase_util.containers.DictContainer.get_path
dcase_util.containers.DictContainer.set_path
dcase_util.containers.DictContainer.get_leaf_path_list
dcase_util.containers.DictContainer.merge
dcase_util.containers.DictContainer.get_hash_for_path
dcase_util.containers.DictContainer.get_hash
ListContainer
dcase_util.containers.ListContainer
dcase_util.containers.ListContainer.load
dcase_util.containers.ListContainer.save
dcase_util.containers.ListContainer.show
dcase_util.containers.ListContainer.log
dcase_util.containers.ListContainer.update
ListDictContainer
dcase_util.containers.ListDictContainer
dcase_util.containers.ListDictContainer.load
dcase_util.containers.ListDictContainer.save
dcase_util.containers.ListDictContainer.show
dcase_util.containers.ListDictContainer.log
dcase_util.containers.ListDictContainer.search
dcase_util.containers.ListDictContainer.get_field
RepositoryContainer
dcase_util.containers.RepositoryContainer
dcase_util.containers.RepositoryContainer.load
dcase_util.containers.RepositoryContainer.save
dcase_util.containers.RepositoryContainer.show
dcase_util.containers.RepositoryContainer.log
TextContainer
dcase_util.containers.TextContainer
dcase_util.containers.TextContainer.load
dcase_util.containers.TextContainer.save
dcase_util.containers.TextContainer.show
dcase_util.containers.TextContainer.log
Data containers
DataContainer
dcase_util.containers.DataContainer
dcase_util.containers.DataContainer.load
dcase_util.containers.DataContainer.save
dcase_util.containers.DataContainer.show
dcase_util.containers.DataContainer.log
dcase_util.containers.DataContainer.data
dcase_util.containers.DataContainer.shape
dcase_util.containers.DataContainer.length
dcase_util.containers.DataContainer.frames
dcase_util.containers.DataContainer.push_processing_chain_item
dcase_util.containers.DataContainer.focus_start
dcase_util.containers.DataContainer.focus_stop
dcase_util.containers.DataContainer.stats
dcase_util.containers.DataContainer.reset_focus
dcase_util.containers.DataContainer.get_focused
dcase_util.containers.DataContainer.freeze
dcase_util.containers.DataContainer.get_frames
dcase_util.containers.DataContainer.plot
DataArrayContainer
dcase_util.containers.DataArrayContainer
dcase_util.containers.DataArrayContainer.load
dcase_util.containers.DataArrayContainer.save
dcase_util.containers.DataArrayContainer.show
dcase_util.containers.DataArrayContainer.log
dcase_util.containers.DataArrayContainer.data
dcase_util.containers.DataArrayContainer.shape
dcase_util.containers.DataArrayContainer.length
dcase_util.containers.DataArrayContainer.frames
dcase_util.containers.DataArrayContainer.push_processing_chain_item
dcase_util.containers.DataArrayContainer.focus_start
dcase_util.containers.DataArrayContainer.focus_stop
dcase_util.containers.DataArrayContainer.stats
dcase_util.containers.DataArrayContainer.reset_focus
dcase_util.containers.DataArrayContainer.get_focused
dcase_util.containers.DataArrayContainer.freeze
dcase_util.containers.DataArrayContainer.get_frames
dcase_util.containers.DataArrayContainer.plot
DataMatrix2DContainer
dcase_util.containers.DataMatrix2DContainer
dcase_util.containers.DataMatrix2DContainer.load
dcase_util.containers.DataMatrix2DContainer.save
dcase_util.containers.DataMatrix2DContainer.show
dcase_util.containers.DataMatrix2DContainer.log
dcase_util.containers.DataMatrix2DContainer.data
dcase_util.containers.DataMatrix2DContainer.shape
dcase_util.containers.DataMatrix2DContainer.length
dcase_util.containers.DataMatrix2DContainer.frames
dcase_util.containers.DataMatrix2DContainer.vector_length
dcase_util.containers.DataMatrix2DContainer.push_processing_chain_item
dcase_util.containers.DataMatrix2DContainer.focus_start
dcase_util.containers.DataMatrix2DContainer.focus_stop
dcase_util.containers.DataMatrix2DContainer.T
dcase_util.containers.DataMatrix2DContainer.stats
dcase_util.containers.DataMatrix2DContainer.reset_focus
dcase_util.containers.DataMatrix2DContainer.get_focused
dcase_util.containers.DataMatrix2DContainer.freeze
dcase_util.containers.DataMatrix2DContainer.get_frames
dcase_util.containers.DataMatrix2DContainer.plot
DataMatrix3DContainer
dcase_util.containers.DataMatrix3DContainer
dcase_util.containers.DataMatrix3DContainer.load
dcase_util.containers.DataMatrix3DContainer.save
dcase_util.containers.DataMatrix3DContainer.show
dcase_util.containers.DataMatrix3DContainer.log
dcase_util.containers.DataMatrix3DContainer.data
dcase_util.containers.DataMatrix3DContainer.length
dcase_util.containers.DataMatrix3DContainer.frames
BinaryMatrix2DContainer
dcase_util.containers.BinaryMatrix2DContainer
dcase_util.containers.BinaryMatrix2DContainer.load
dcase_util.containers.BinaryMatrix2DContainer.save
dcase_util.containers.BinaryMatrix2DContainer.show
dcase_util.containers.BinaryMatrix2DContainer.log
dcase_util.containers.BinaryMatrix2DContainer.data
dcase_util.containers.BinaryMatrix2DContainer.length
dcase_util.containers.BinaryMatrix2DContainer.frames
dcase_util.containers.BinaryMatrix2DContainer.pad
dcase_util.containers.BinaryMatrix2DContainer.plot
DataRepository
dcase_util.containers.DataRepository
dcase_util.containers.DataRepository.load
dcase_util.containers.DataRepository.get_container
dcase_util.containers.DataRepository.set_container
dcase_util.containers.DataRepository.push_processing_chain_item
dcase_util.containers.DataRepository.plot
Audio containers
AudioContainer
dcase_util.containers.AudioContainer
dcase_util.containers.AudioContainer.load
dcase_util.containers.AudioContainer.load_from_youtube
dcase_util.containers.AudioContainer.save
dcase_util.containers.AudioContainer.show
dcase_util.containers.AudioContainer.log
dcase_util.containers.AudioContainer.data
dcase_util.containers.AudioContainer.focus_start_samples
dcase_util.containers.AudioContainer.focus_start_seconds
dcase_util.containers.AudioContainer.focus_stop_samples
dcase_util.containers.AudioContainer.focus_stop_seconds
dcase_util.containers.AudioContainer.focus_channel
dcase_util.containers.AudioContainer.loaded
dcase_util.containers.AudioContainer.shape
dcase_util.containers.AudioContainer.length
dcase_util.containers.AudioContainer.duration_samples
dcase_util.containers.AudioContainer.duration_ms
dcase_util.containers.AudioContainer.duration_sec
dcase_util.containers.AudioContainer.streams
dcase_util.containers.AudioContainer.empty
dcase_util.containers.AudioContainer.reset_focus
dcase_util.containers.AudioContainer.set_focus
dcase_util.containers.AudioContainer.get_focused
dcase_util.containers.AudioContainer.freeze
dcase_util.containers.AudioContainer.frames
dcase_util.containers.AudioContainer.normalize
dcase_util.containers.AudioContainer.resample
dcase_util.containers.AudioContainer.mixdown
dcase_util.containers.AudioContainer.overlay
dcase_util.containers.AudioContainer.plot
dcase_util.containers.AudioContainer.plot_wave
dcase_util.containers.AudioContainer.plot_spec
Feature containers
FeatureContainer
dcase_util.containers.FeatureContainer
FeatureRepository
dcase_util.containers.FeatureRepository
Mapping containers
OneToOneMappingContainer
dcase_util.containers.OneToOneMappingContainer
dcase_util.containers.OneToOneMappingContainer.load
dcase_util.containers.OneToOneMappingContainer.save
dcase_util.containers.OneToOneMappingContainer.show
dcase_util.containers.OneToOneMappingContainer.log
dcase_util.containers.OneToOneMappingContainer.map
dcase_util.containers.OneToOneMappingContainer.flipped
Metadata containers
MetaDataItem
dcase_util.containers.MetaDataItem
dcase_util.containers.MetaDataItem.show
dcase_util.containers.MetaDataItem.log
dcase_util.containers.MetaDataItem.id
dcase_util.containers.MetaDataItem.get_list
dcase_util.containers.MetaDataItem.filename
dcase_util.containers.MetaDataItem.filename_original
dcase_util.containers.MetaDataItem.scene_label
dcase_util.containers.MetaDataItem.event_label
dcase_util.containers.MetaDataItem.onset
dcase_util.containers.MetaDataItem.offset
dcase_util.containers.MetaDataItem.identifier
dcase_util.containers.MetaDataItem.source_label
dcase_util.containers.MetaDataItem.set_label
dcase_util.containers.MetaDataItem.tags
dcase_util.containers.MetaDataItem.active_within_segment
MetaDataContainer
dcase_util.containers.MetaDataContainer
dcase_util.containers.MetaDataContainer.log
dcase_util.containers.MetaDataContainer.log_all
dcase_util.containers.MetaDataContainer.show
dcase_util.containers.MetaDataContainer.show_all
dcase_util.containers.MetaDataContainer.load
dcase_util.containers.MetaDataContainer.save
dcase_util.containers.MetaDataContainer.append
dcase_util.containers.MetaDataContainer.file_count
dcase_util.containers.MetaDataContainer.event_count
dcase_util.containers.MetaDataContainer.scene_label_count
dcase_util.containers.MetaDataContainer.event_label_count
dcase_util.containers.MetaDataContainer.identifier_count
dcase_util.containers.MetaDataContainer.tag_count
dcase_util.containers.MetaDataContainer.unique_files
dcase_util.containers.MetaDataContainer.unique_event_labels
dcase_util.containers.MetaDataContainer.unique_scene_labels
dcase_util.containers.MetaDataContainer.unique_tags
dcase_util.containers.MetaDataContainer.unique_identifiers
dcase_util.containers.MetaDataContainer.unique_source_labels
dcase_util.containers.MetaDataContainer.max_offset
dcase_util.containers.MetaDataContainer.to_string
dcase_util.containers.MetaDataContainer.filter
dcase_util.containers.MetaDataContainer.filter_time_segment
dcase_util.containers.MetaDataContainer.process_events
dcase_util.containers.MetaDataContainer.map_events
dcase_util.containers.MetaDataContainer.event_inactivity
dcase_util.containers.MetaDataContainer.add_time
dcase_util.containers.MetaDataContainer.stats
dcase_util.containers.MetaDataContainer.scene_stat_counts
dcase_util.containers.MetaDataContainer.event_stat_counts
dcase_util.containers.MetaDataContainer.tag_stat_counts
dcase_util.containers.MetaDataContainer.to_event_roll
dcase_util.containers.MetaDataContainer.intersection
dcase_util.containers.MetaDataContainer.intersection_report
dcase_util.containers.MetaDataContainer.difference
Parameter containers
ParameterContainer
dcase_util.containers.ParameterContainer
AppParameterContainer
dcase_util.containers.AppParameterContainer
dcase_util.containers.AppParameterContainer.reset
dcase_util.containers.AppParameterContainer.process
dcase_util.containers.AppParameterContainer.process_set
dcase_util.containers.AppParameterContainer.override
dcase_util.containers.AppParameterContainer.get_path_translated
dcase_util.containers.AppParameterContainer.set_path_translated
dcase_util.containers.AppParameterContainer.update_parameter_set
dcase_util.containers.AppParameterContainer.set_ids
dcase_util.containers.AppParameterContainer.set_id_exists
dcase_util.containers.AppParameterContainer.active_set
dcase_util.containers.AppParameterContainer.get_set
DCASEAppParameterContainer
dcase_util.containers.DCASEAppParameterContainer
ParameterListContainer
dcase_util.containers.ParameterListContainer
Probability containers
ProbabilityItem
dcase_util.containers.ProbabilityItem
dcase_util.containers.ProbabilityItem.show
dcase_util.containers.ProbabilityItem.log
dcase_util.containers.ProbabilityItem.filename
dcase_util.containers.ProbabilityItem.label
dcase_util.containers.ProbabilityItem.probability
dcase_util.containers.ProbabilityItem.id
dcase_util.containers.ProbabilityItem.get_list
ProbabilityContainer
dcase_util.containers.ProbabilityContainer
dcase_util.containers.ProbabilityContainer.show
dcase_util.containers.ProbabilityContainer.log
dcase_util.containers.ProbabilityContainer.load
dcase_util.containers.ProbabilityContainer.save
dcase_util.containers.ProbabilityContainer.append
dcase_util.containers.ProbabilityContainer.unique_files
dcase_util.containers.ProbabilityContainer.unique_labels
dcase_util.containers.ProbabilityContainer.unique_indices
dcase_util.containers.ProbabilityContainer.filter
dcase_util.containers.ProbabilityContainer.as_matrix
Mixins
ContainerMixin
dcase_util.containers.ContainerMixin
dcase_util.containers.ContainerMixin.show
dcase_util.containers.ContainerMixin.log
FileMixin
dcase_util.containers.FileMixin
dcase_util.containers.FileMixin.get_file_information
dcase_util.containers.FileMixin.detect_file_format
dcase_util.containers.FileMixin.validate_format
dcase_util.containers.FileMixin.exists
dcase_util.containers.FileMixin.empty
dcase_util.containers.FileMixin.delimiter
dcase_util.containers.FileMixin.is_package
PackageMixin
dcase_util.containers.PackageMixin
dcase_util.containers.PackageMixin.package_password
dcase_util.containers.PackageMixin.extract
Data
Buffers
DataBuffer
dcase_util.data.DataBuffer
dcase_util.data.DataBuffer.set
dcase_util.data.DataBuffer.get
dcase_util.data.DataBuffer.clear
dcase_util.data.DataBuffer.count
dcase_util.data.DataBuffer.full
dcase_util.data.DataBuffer.key_exists
Encoders
BinaryMatrixEncoder
dcase_util.data.BinaryMatrixEncoder
dcase_util.data.BinaryMatrixEncoder.pad
dcase_util.data.BinaryMatrixEncoder.plot
OneHotEncoder
dcase_util.data.OneHotEncoder
dcase_util.data.OneHotEncoder.encode
ManyHotEncoder
dcase_util.data.ManyHotEncoder
dcase_util.data.ManyHotEncoder.encode
EventRollEncoder
dcase_util.data.EventRollEncoder
dcase_util.data.EventRollEncoder.encode
LabelMatrixEncoder
dcase_util.data.LabelMatrixEncoder
OneHotLabelEncoder
dcase_util.data.OneHotLabelEncoder
dcase_util.data.OneHotLabelEncoder.encode
Data manipulators
Normalizer
dcase_util.data.Normalizer
dcase_util.data.Normalizer.log
dcase_util.data.Normalizer.show
dcase_util.data.Normalizer.load
dcase_util.data.Normalizer.save
dcase_util.data.Normalizer.mean
dcase_util.data.Normalizer.std
dcase_util.data.Normalizer.reset
dcase_util.data.Normalizer.accumulate
dcase_util.data.Normalizer.finalize
dcase_util.data.Normalizer.normalize
RepositoryNormalizer
dcase_util.data.RepositoryNormalizer
dcase_util.data.RepositoryNormalizer.load
dcase_util.data.RepositoryNormalizer.normalize
Aggregator
dcase_util.data.Aggregator
dcase_util.data.Aggregator.log
dcase_util.data.Aggregator.show
dcase_util.data.Aggregator.load
dcase_util.data.Aggregator.save
dcase_util.data.Aggregator.aggregate
Sequencer
dcase_util.data.Sequencer
dcase_util.data.Sequencer.log
dcase_util.data.Sequencer.show
dcase_util.data.Sequencer.load
dcase_util.data.Sequencer.save
dcase_util.data.Sequencer.sequence
dcase_util.data.Sequencer.increase_shifting
Stacker
dcase_util.data.Stacker
dcase_util.data.Stacker.log
dcase_util.data.Stacker.show
dcase_util.data.Stacker.load
dcase_util.data.Stacker.save
dcase_util.data.Stacker.stack
Selector
dcase_util.data.Selector
dcase_util.data.Selector.log
dcase_util.data.Selector.show
dcase_util.data.Selector.load
dcase_util.data.Selector.save
dcase_util.data.Selector.select
Masker
dcase_util.data.Masker
dcase_util.data.Masker.log
dcase_util.data.Masker.show
dcase_util.data.Masker.load
dcase_util.data.Masker.save
dcase_util.data.Masker.mask
Probabilities
ProbabilityEncoder
dcase_util.data.ProbabilityEncoder
dcase_util.data.ProbabilityEncoder.log
dcase_util.data.ProbabilityEncoder.show
dcase_util.data.ProbabilityEncoder.load
dcase_util.data.ProbabilityEncoder.save
dcase_util.data.ProbabilityEncoder.collapse_probabilities
dcase_util.data.ProbabilityEncoder.collapse_probabilities_windowed
dcase_util.data.ProbabilityEncoder.binarization
Decisions
DecisionEncoder
dcase_util.data.DecisionEncoder
dcase_util.data.DecisionEncoder.log
dcase_util.data.DecisionEncoder.show
dcase_util.data.DecisionEncoder.load
dcase_util.data.DecisionEncoder.save
dcase_util.data.DecisionEncoder.majority_vote
dcase_util.data.DecisionEncoder.many_hot
dcase_util.data.DecisionEncoder.find_contiguous_regions
dcase_util.data.DecisionEncoder.process_activity
Datasets
Dataset
dcase_util.datasets.Dataset
dcase_util.datasets.Dataset.initialize
dcase_util.datasets.Dataset.download_packages
dcase_util.datasets.Dataset.extract_packages
dcase_util.datasets.Dataset.debug_packages
dcase_util.datasets.Dataset.prepare
dcase_util.datasets.Dataset.process_meta_item
dcase_util.datasets.Dataset.check_filelist
dcase_util.datasets.Dataset.show
dcase_util.datasets.Dataset.log
dcase_util.datasets.Dataset.load
dcase_util.datasets.Dataset.load_meta
dcase_util.datasets.Dataset.load_crossvalidation_data
dcase_util.datasets.Dataset.audio_files
dcase_util.datasets.Dataset.audio_file_count
dcase_util.datasets.Dataset.meta
dcase_util.datasets.Dataset.meta_count
dcase_util.datasets.Dataset.error_meta
dcase_util.datasets.Dataset.error_meta_count
dcase_util.datasets.Dataset.folds
dcase_util.datasets.Dataset.fold_count
dcase_util.datasets.Dataset.evaluation_setup_filename
dcase_util.datasets.Dataset.train
dcase_util.datasets.Dataset.test
dcase_util.datasets.Dataset.eval
dcase_util.datasets.Dataset.train_files
dcase_util.datasets.Dataset.test_files
dcase_util.datasets.Dataset.eval_files
dcase_util.datasets.Dataset.validation_split
dcase_util.datasets.Dataset.validation_files_dataset
dcase_util.datasets.Dataset.validation_files_random
dcase_util.datasets.Dataset.validation_files_balanced
dcase_util.datasets.Dataset.scene_labels
dcase_util.datasets.Dataset.scene_label_count
dcase_util.datasets.Dataset.event_labels
dcase_util.datasets.Dataset.event_label_count
dcase_util.datasets.Dataset.tags
dcase_util.datasets.Dataset.tag_count
dcase_util.datasets.Dataset.file_meta
dcase_util.datasets.Dataset.file_error_meta
dcase_util.datasets.Dataset.file_features
dcase_util.datasets.Dataset.relative_to_absolute_path
dcase_util.datasets.Dataset.absolute_to_relative_path
dcase_util.datasets.Dataset.dataset_bytes
dcase_util.datasets.Dataset.dataset_size_string
dcase_util.datasets.Dataset.dataset_size_on_disk
AcousticSceneDataset
dcase_util.datasets.AcousticSceneDataset
dcase_util.datasets.TUTAcousticScenes_2016_DevelopmentSet
dcase_util.datasets.TUTAcousticScenes_2016_EvaluationSet
dcase_util.datasets.TUTAcousticScenes_2017_DevelopmentSet
dcase_util.datasets.TUTAcousticScenes_2017_EvaluationSet
dcase_util.datasets.TUTAcousticScenes_2017_FeaturesSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_DevelopmentSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_LeaderboardSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_EvaluationSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_Mobile_DevelopmentSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_Mobile_LeaderboardSet
dcase_util.datasets.TUTUrbanAcousticScenes_2018_Mobile_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_LeaderboardSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Mobile_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Mobile_LeaderboardSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Mobile_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Openset_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Openset_LeaderboardSet
dcase_util.datasets.TAUUrbanAcousticScenes_2019_Openset_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2020_Mobile_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2020_Mobile_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2020_3Class_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2020_3Class_EvaluationSet
dcase_util.datasets.TAUUrbanAudioVisualScenes_2021_DevelopmentSet
dcase_util.datasets.TAUUrbanAudioVisualScenes_2021_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2021_Mobile_EvaluationSet
dcase_util.datasets.TAUUrbanAcousticScenes_2022_Mobile_DevelopmentSet
dcase_util.datasets.TAUUrbanAcousticScenes_2022_Mobile_EvaluationSet
dcase_util.datasets.DCASE2018_Task5_DevelopmentSet
dcase_util.datasets.DCASE2018_Task5_EvaluationSet
SoundEventDataset
dcase_util.datasets.SoundEventDataset
dcase_util.datasets.SoundEventDataset.event_label_count
dcase_util.datasets.SoundEventDataset.event_labels
dcase_util.datasets.SoundEventDataset.train
dcase_util.datasets.SoundEventDataset.test
dcase_util.datasets.TUTRareSoundEvents_2017_DevelopmentSet
dcase_util.datasets.TUTRareSoundEvents_2017_EvaluationSet
dcase_util.datasets.TUTSoundEvents_2017_DevelopmentSet
dcase_util.datasets.TUTSoundEvents_2017_EvaluationSet
dcase_util.datasets.TUTSoundEvents_2016_DevelopmentSet
dcase_util.datasets.TUTSoundEvents_2016_EvaluationSet
dcase_util.datasets.TUT_SED_Synthetic_2016
AudioTaggingDataset
dcase_util.datasets.AudioTaggingDataset
dcase_util.datasets.DCASE2017_Task4tagging_DevelopmentSet
dcase_util.datasets.DCASE2017_Task4tagging_EvaluationSet
dcase_util.datasets.CHiMEHome_DomesticAudioTag_DevelopmentSet
Helpers
dcase_util.datasets.dataset_list
dcase_util.datasets.dataset_factory
dcase_util.datasets.dataset_exists
Decorators
RunOnce
dcase_util.decorators.RunOnce
Features
FeatureExtractor
dcase_util.features.FeatureExtractor
SpectralFeatureExtractor
dcase_util.features.SpectralFeatureExtractor
dcase_util.features.SpectralFeatureExtractor.extract
dcase_util.features.SpectralFeatureExtractor.get_window_function
dcase_util.features.SpectralFeatureExtractor.get_spectrogram
MelExtractor
dcase_util.features.MelExtractor
dcase_util.features.MelExtractor.extract
MfccStaticExtractor
dcase_util.features.MfccStaticExtractor
dcase_util.features.MfccStaticExtractor.extract
MfccDeltaExtractor
dcase_util.features.MfccDeltaExtractor
dcase_util.features.MfccDeltaExtractor.extract
MfccAccelerationExtractor
dcase_util.features.MfccAccelerationExtractor
dcase_util.features.MfccAccelerationExtractor.extract
ZeroCrossingRateExtractor
dcase_util.features.ZeroCrossingRateExtractor
dcase_util.features.ZeroCrossingRateExtractor.extract
RMSEnergyExtractor
dcase_util.features.RMSEnergyExtractor
dcase_util.features.RMSEnergyExtractor.extract
SpectralCentroidExtractor
dcase_util.features.SpectralCentroidExtractor
dcase_util.features.SpectralCentroidExtractor.extract
EmbeddingExtractor
dcase_util.features.EmbeddingExtractor
OpenL3Extractor
dcase_util.features.OpenL3Extractor
dcase_util.features.OpenL3Extractor.extract
TorchOpenL3Extractor
dcase_util.features.TorchOpenL3Extractor
dcase_util.features.TorchOpenL3Extractor.extract
EdgeL3Extractor
dcase_util.features.EdgeL3Extractor
dcase_util.features.EdgeL3Extractor.extract
Files
File
dcase_util.files.File
dcase_util.files.File.load
dcase_util.files.File.save
dcase_util.files.File.get_file_information
dcase_util.files.File.detect_file_format
dcase_util.files.File.validate_format
dcase_util.files.File.exists
dcase_util.files.File.empty
dcase_util.files.File.delimiter
dcase_util.files.File.is_package
Package
dcase_util.files.Package
dcase_util.files.Package.extract
dcase_util.files.Package.compress
dcase_util.files.Package.detect_file_format
dcase_util.files.Package.validate_format
dcase_util.files.Package.exists
FileLock
dcase_util.files.FileLock
dcase_util.files.FileLock.lock
dcase_util.files.FileLock.release
dcase_util.files.FileLock.expired
dcase_util.files.FileLock.is_locked
dcase_util.files.FileLock.touch
RemoteFile
dcase_util.files.RemoteFile
dcase_util.files.RemoteFile.download
dcase_util.files.RemoteFile.is_content_type
dcase_util.files.RemoteFile.local_md5
dcase_util.files.RemoteFile.local_modified
dcase_util.files.RemoteFile.local_bytes
dcase_util.files.RemoteFile.local_size_string
dcase_util.files.RemoteFile.local_exists
dcase_util.files.RemoteFile.local_changed
dcase_util.files.RemoteFile.remote_file
dcase_util.files.RemoteFile.remote_modified
dcase_util.files.RemoteFile.remote_bytes
dcase_util.files.RemoteFile.remote_status
dcase_util.files.RemoteFile.remote_size_string
dcase_util.files.RemoteFile.remote_info
dcase_util.files.RemoteFile.remote_exists
RemotePackage
dcase_util.files.RemotePackage
dcase_util.files.RemotePackage.download
dcase_util.files.RemotePackage.extract
dcase_util.files.RemotePackage.package_password
dcase_util.files.RemotePackage.is_content_type
dcase_util.files.RemotePackage.local_md5
dcase_util.files.RemotePackage.local_modified
dcase_util.files.RemotePackage.local_bytes
dcase_util.files.RemotePackage.local_size_string
dcase_util.files.RemotePackage.local_exists
dcase_util.files.RemotePackage.local_changed
dcase_util.files.RemotePackage.remote_file
dcase_util.files.RemotePackage.remote_modified
dcase_util.files.RemotePackage.remote_bytes
dcase_util.files.RemotePackage.remote_status
dcase_util.files.RemotePackage.remote_size_string
dcase_util.files.RemotePackage.remote_info
dcase_util.files.RemotePackage.remote_exists
Serializer
dcase_util.files.Serializer
dcase_util.files.Serializer.load_yaml
dcase_util.files.Serializer.load_cpickle
dcase_util.files.Serializer.load_json
dcase_util.files.Serializer.load_msgpack
dcase_util.files.Serializer.load_marshal
dcase_util.files.Serializer.save_yaml
dcase_util.files.Serializer.save_cpickle
dcase_util.files.Serializer.save_json
dcase_util.files.Serializer.save_msgpack
dcase_util.files.Serializer.save_marshal
Keras utilities
Model
dcase_util.keras.create_sequential_model
dcase_util.keras.model_summary_string
Callbacks
ProgressLoggerCallback
dcase_util.keras.ProgressLoggerCallback
ProgressPlotterCallback
dcase_util.keras.ProgressPlotterCallback
StopperCallback
dcase_util.keras.StopperCallback
StasherCallback
dcase_util.keras.StasherCallback
BaseCallback
dcase_util.keras.BaseCallback
Data processing
KerasDataSequence
dcase_util.keras.get_keras_data_sequence_class
data_collector
dcase_util.keras.data_collector
Utils
dcase_util.keras.setup_keras
dcase_util.keras.create_optimizer
tf.keras utilities
Model
dcase_util.tfkeras.create_sequential_model
dcase_util.tfkeras.model_summary_string
Callbacks
ProgressLoggerCallback
dcase_util.tfkeras.ProgressLoggerCallback
ProgressPlotterCallback
dcase_util.tfkeras.ProgressPlotterCallback
StopperCallback
dcase_util.tfkeras.StopperCallback
StasherCallback
dcase_util.tfkeras.StasherCallback
BaseCallback
dcase_util.tfkeras.BaseCallback
Data processing
KerasDataSequence
dcase_util.tfkeras.get_keras_data_sequence_class
data_collector
dcase_util.tfkeras.data_collector
Utils
dcase_util.tfkeras.setup_keras
dcase_util.tfkeras.create_optimizer
Processors
Processing chain
ProcessingChainItem
dcase_util.processors.ProcessingChainItem
ProcessingChain
dcase_util.processors.ProcessingChain
dcase_util.processors.ProcessingChain.show_chain
dcase_util.processors.ProcessingChain.log_chain
dcase_util.processors.ProcessingChain.push_processor
dcase_util.processors.ProcessingChain.process
dcase_util.processors.ProcessingChain.processor_exists
dcase_util.processors.ProcessingChain.processor_class_reference
dcase_util.processors.ProcessingChain.processor_class
dcase_util.processors.ProcessingChain.chain_item_exists
dcase_util.processors.ProcessingChain.chain_item
dcase_util.processors.ProcessingChain.call_method
Audio
AudioReadingProcessor
dcase_util.processors.AudioReadingProcessor
dcase_util.processors.AudioReadingProcessor.process
MonoAudioReadingProcessor
dcase_util.processors.MonoAudioReadingProcessor
dcase_util.processors.MonoAudioReadingProcessor.process
AudioWritingProcessor
dcase_util.processors.AudioWritingProcessor
dcase_util.processors.AudioWritingProcessor.process
MonoAudioWritingProcessor
dcase_util.processors.MonoAudioWritingProcessor
dcase_util.processors.MonoAudioWritingProcessor.process
Data
AggregationProcessor
dcase_util.processors.AggregationProcessor
dcase_util.processors.AggregationProcessor.process
RepositoryAggregationProcessor
dcase_util.processors.RepositoryAggregationProcessor
dcase_util.processors.RepositoryAggregationProcessor.process
SequencingProcessor
dcase_util.processors.SequencingProcessor
dcase_util.processors.SequencingProcessor.process
RepositorySequencingProcessor
dcase_util.processors.RepositorySequencingProcessor
dcase_util.processors.RepositorySequencingProcessor.process
NormalizationProcessor
dcase_util.processors.NormalizationProcessor
dcase_util.processors.NormalizationProcessor.process
RepositoryNormalizationProcessor
dcase_util.processors.RepositoryNormalizationProcessor
dcase_util.processors.RepositoryNormalizationProcessor.process
StackingProcessor
dcase_util.processors.StackingProcessor
dcase_util.processors.StackingProcessor.process
RepositoryMaskingProcessor
dcase_util.processors.RepositoryMaskingProcessor
dcase_util.processors.RepositoryMaskingProcessor.process
OneHotEncodingProcessor
dcase_util.processors.OneHotEncodingProcessor
dcase_util.processors.OneHotEncodingProcessor.process
ManyHotEncodingProcessor
dcase_util.processors.ManyHotEncodingProcessor
dcase_util.processors.ManyHotEncodingProcessor.process
EventRollEncodingProcessor
dcase_util.processors.EventRollEncodingProcessor
dcase_util.processors.EventRollEncodingProcessor.process
OneHotLabelEncodingProcessor
dcase_util.processors.OneHotLabelEncodingProcessor
dcase_util.processors.OneHotLabelEncodingProcessor.process
DataShapingProcessor
dcase_util.processors.DataShapingProcessor
dcase_util.processors.DataShapingProcessor.process
RepositoryToMatrixProcessor
dcase_util.processors.RepositoryToMatrixProcessor
dcase_util.processors.RepositoryToMatrixProcessor.process
Features
FeatureReadingProcessor
dcase_util.processors.FeatureReadingProcessor
dcase_util.processors.FeatureReadingProcessor.process
FeatureWritingProcessor
dcase_util.processors.FeatureWritingProcessor
dcase_util.processors.FeatureWritingProcessor.process
RepositoryFeatureReadingProcessor
dcase_util.processors.RepositoryFeatureReadingProcessor
dcase_util.processors.RepositoryFeatureReadingProcessor.process
RepositoryFeatureWritingProcessor
dcase_util.processors.RepositoryFeatureWritingProcessor
dcase_util.processors.RepositoryFeatureWritingProcessor.process
RepositoryFeatureExtractorProcessor
dcase_util.processors.RepositoryFeatureExtractorProcessor
dcase_util.processors.RepositoryFeatureExtractorProcessor.process
FeatureExtractorProcessor
dcase_util.processors.FeatureExtractorProcessor
dcase_util.processors.FeatureExtractorProcessor.process
RepositoryFeatureExtractorProcessor
dcase_util.processors.RepositoryFeatureExtractorProcessor
dcase_util.processors.RepositoryFeatureExtractorProcessor.process
MelExtractorProcessor
dcase_util.processors.MelExtractorProcessor
dcase_util.processors.MelExtractorProcessor.process
MfccStaticExtractorProcessor
dcase_util.processors.MfccStaticExtractorProcessor
dcase_util.processors.MfccStaticExtractorProcessor.process
MfccDeltaExtractorProcessor
dcase_util.processors.MfccDeltaExtractorProcessor
dcase_util.processors.MfccDeltaExtractorProcessor.process
MfccAccelerationExtractorProcessor
dcase_util.processors.MfccAccelerationExtractorProcessor
dcase_util.processors.MfccAccelerationExtractorProcessor.process
ZeroCrossingRateExtractorProcessor
dcase_util.processors.ZeroCrossingRateExtractorProcessor
dcase_util.processors.ZeroCrossingRateExtractorProcessor.process
RMSEnergyExtractorProcessor
dcase_util.processors.RMSEnergyExtractorProcessor
dcase_util.processors.RMSEnergyExtractorProcessor.process
SpectralCentroidExtractorProcessor
dcase_util.processors.SpectralCentroidExtractorProcessor
dcase_util.processors.SpectralCentroidExtractorProcessor.process
OpenL3ExtractorProcessor
dcase_util.processors.OpenL3ExtractorProcessor
dcase_util.processors.OpenL3ExtractorProcessor.process
TorchOpenL3ExtractorProcessor
dcase_util.processors.TorchOpenL3ExtractorProcessor
dcase_util.processors.TorchOpenL3ExtractorProcessor.process
EdgeL3ExtractorProcessor
dcase_util.processors.EdgeL3ExtractorProcessor
dcase_util.processors.EdgeL3ExtractorProcessor.process
Metadata
MetadataReadingProcessor
dcase_util.processors.MetadataReadingProcessor
dcase_util.processors.MetadataReadingProcessor.process
Base object
Processor
dcase_util.processors.Processor
dcase_util.processors.Processor.process
dcase_util.processors.Processor.get_processing_chain_item
User interfacing
FancyLogger
dcase_util.ui.FancyLogger
dcase_util.ui.FancyLogger.line
dcase_util.ui.FancyLogger.row
dcase_util.ui.FancyLogger.row_reset
dcase_util.ui.FancyLogger.row_sep
dcase_util.ui.FancyLogger.row_sum
dcase_util.ui.FancyLogger.row_average
dcase_util.ui.FancyLogger.title
dcase_util.ui.FancyLogger.section_header
dcase_util.ui.FancyLogger.sub_header
dcase_util.ui.FancyLogger.foot
dcase_util.ui.FancyLogger.data
dcase_util.ui.FancyLogger.sep
dcase_util.ui.FancyLogger.table
dcase_util.ui.FancyLogger.info
dcase_util.ui.FancyLogger.debug
dcase_util.ui.FancyLogger.error
FancyPrinter
dcase_util.ui.FancyPrinter
dcase_util.ui.FancyPrinter.line
dcase_util.ui.FancyPrinter.row
dcase_util.ui.FancyPrinter.row_reset
dcase_util.ui.FancyPrinter.row_sep
dcase_util.ui.FancyPrinter.title
dcase_util.ui.FancyPrinter.section_header
dcase_util.ui.FancyPrinter.sub_header
dcase_util.ui.FancyPrinter.foot
dcase_util.ui.FancyPrinter.data
dcase_util.ui.FancyPrinter.sep
dcase_util.ui.FancyPrinter.table
dcase_util.ui.FancyPrinter.info
dcase_util.ui.FancyPrinter.debug
dcase_util.ui.FancyPrinter.error
FancyHTMLPrinter
dcase_util.ui.FancyHTMLPrinter
dcase_util.ui.FancyHTMLPrinter.line
dcase_util.ui.FancyHTMLPrinter.row
dcase_util.ui.FancyHTMLPrinter.row_reset
dcase_util.ui.FancyHTMLPrinter.row_sep
dcase_util.ui.FancyHTMLPrinter.row_sum
dcase_util.ui.FancyHTMLPrinter.row_average
dcase_util.ui.FancyHTMLPrinter.title
dcase_util.ui.FancyHTMLPrinter.section_header
dcase_util.ui.FancyHTMLPrinter.sub_header
dcase_util.ui.FancyHTMLPrinter.foot
dcase_util.ui.FancyHTMLPrinter.data
dcase_util.ui.FancyHTMLPrinter.sep
dcase_util.ui.FancyHTMLPrinter.table
dcase_util.ui.FancyHTMLPrinter.info
dcase_util.ui.FancyHTMLPrinter.debug
dcase_util.ui.FancyHTMLPrinter.error
FancyStringifier
dcase_util.ui.FancyStringifier
dcase_util.ui.FancyStringifier.title
dcase_util.ui.FancyStringifier.section_header
dcase_util.ui.FancyStringifier.sub_header
dcase_util.ui.FancyStringifier.foot
dcase_util.ui.FancyStringifier.line
dcase_util.ui.FancyStringifier.formatted_value
dcase_util.ui.FancyStringifier.data
dcase_util.ui.FancyStringifier.sep
dcase_util.ui.FancyStringifier.table
dcase_util.ui.FancyStringifier.row
dcase_util.ui.FancyStringifier.row_reset
dcase_util.ui.FancyStringifier.row_sep
dcase_util.ui.FancyStringifier.row_sum
dcase_util.ui.FancyStringifier.row_average
dcase_util.ui.FancyStringifier.class_name
FancyHTMLStringifier
dcase_util.ui.FancyHTMLStringifier
dcase_util.ui.FancyHTMLStringifier.title
dcase_util.ui.FancyHTMLStringifier.section_header
dcase_util.ui.FancyHTMLStringifier.sub_header
dcase_util.ui.FancyHTMLStringifier.foot
dcase_util.ui.FancyHTMLStringifier.line
dcase_util.ui.FancyHTMLStringifier.formatted_value
dcase_util.ui.FancyHTMLStringifier.data
dcase_util.ui.FancyHTMLStringifier.sep
dcase_util.ui.FancyHTMLStringifier.table
dcase_util.ui.FancyHTMLStringifier.row
dcase_util.ui.FancyHTMLStringifier.row_reset
dcase_util.ui.FancyHTMLStringifier.row_sep
dcase_util.ui.FancyHTMLStringifier.row_sum
dcase_util.ui.FancyHTMLStringifier.row_average
dcase_util.ui.FancyHTMLStringifier.class_name
Utils
General functions
dcase_util.utils.get_audio_info
dcase_util.utils.get_media_duration
dcase_util.utils.merge_media_files
dcase_util.utils.get_class_inheritors
dcase_util.utils.get_byte_string
dcase_util.utils.check_pkg_resources
dcase_util.utils.is_int
dcase_util.utils.is_float
dcase_util.utils.is_jupyter
SuppressStdoutAndStderr
dcase_util.utils.SuppressStdoutAndStderr
VectorRecipeParser
dcase_util.utils.VectorRecipeParser
Files
dcase_util.utils.argument_file_exists
dcase_util.utils.filelist_exists
dcase_util.utils.posix_path
Path
dcase_util.utils.Path
dcase_util.utils.Path.posix
dcase_util.utils.Path.posix_to_nt
dcase_util.utils.Path.file_list
dcase_util.utils.Path.exists
dcase_util.utils.Path.file_count
dcase_util.utils.Path.size_bytes
dcase_util.utils.Path.size_string
dcase_util.utils.Path.makedirs
dcase_util.utils.Path.create
ApplicationPaths
dcase_util.utils.ApplicationPaths
dcase_util.utils.ApplicationPaths.generate
dcase_util.utils.ApplicationPaths.directory_name
dcase_util.utils.ApplicationPaths.save_parameters_to_path
dcase_util.utils.ApplicationPaths.construct_path
FileFormat
dcase_util.utils.FileFormat
dcase_util.utils.FileFormat.detect
dcase_util.utils.FileFormat.detect_based_on_filename
dcase_util.utils.FileFormat.detect_based_on_content
dcase_util.utils.FileFormat.validate_label
Hash
dcase_util.utils.get_parameter_hash
dcase_util.utils.get_file_hash
Logging
dcase_util.utils.setup_logging
DisableLogger
dcase_util.utils.DisableLogger
Math
SimpleMathStringEvaluator
dcase_util.utils.SimpleMathStringEvaluator
dcase_util.utils.SimpleMathStringEvaluator.eval
Timer
dcase_util.utils.Timer
dcase_util.utils.Timer.start
dcase_util.utils.Timer.stop
dcase_util.utils.Timer.elapsed
dcase_util.utils.Timer.get_string
Validators
FieldValidator
dcase_util.utils.FieldValidator
dcase_util.utils.FieldValidator.process
dcase_util.utils.FieldValidator.is_empty
dcase_util.utils.FieldValidator.is_number
dcase_util.utils.FieldValidator.is_audiofile
dcase_util.utils.FieldValidator.is_list
dcase_util.utils.FieldValidator.is_alpha
Examples
dcase_util.utils.Example
dcase_util.utils.Example.audio_filename
dcase_util.utils.Example.acoustic_scene_audio_filename
dcase_util.utils.Example.audio_filename_mp3
dcase_util.utils.Example.acoustic_scene_audio_filename_mp3
dcase_util.utils.Example.audio_container
dcase_util.utils.Example.event_metadata_container
dcase_util.utils.Example.scene_metadata_container
dcase_util.utils.Example.tag_metadata_container
dcase_util.utils.Example.feature_container
dcase_util.utils.Example.feature_repository
Tools
Tools
DatasetPacker
dcase_util.tools.DatasetPacker
dcase_util.tools.DatasetPacker.pack
dcase_util.tools.DatasetPacker.convert_markdown
SubmissionChecker
dcase_util.tools.SubmissionChecker
dcase_util.tools.SubmissionChecker.process
BibtexProcessor
dcase_util.tools.BibtexProcessor
dcase_util.tools.BibtexProcessor.key
dcase_util.tools.BibtexProcessor.authors
dcase_util.tools.BibtexProcessor.authors_fancy
dcase_util.tools.BibtexProcessor.affiliation_str
dcase_util.tools.BibtexProcessor.affiliation_list
dcase_util.tools.BibtexProcessor.affiliation_list_fancy
dcase_util.tools.BibtexProcessor.submissions_fancy
dcase_util.tools.BibtexProcessor.title
dcase_util.tools.BibtexProcessor.abstract
Reference
Release notes
v0.2.20
v0.2.19
v0.2.18
v0.2.17
v0.2.16
v0.2.15
v0.2.14
v0.2.13
v0.2.12
v0.2.11
v0.2.10
v0.2.9
v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.0
Glossary
DCASE Utilities
»
Utils
»
dcase_util.utils.FieldValidator.is_audiofile
dcase_util.utils.FieldValidator.is_audiofile
classmethod
FieldValidator.
is_audiofile
(
field
)
[source]
Test for audio file field
Parameters
field
str
Returns
bool