vak.datapipes.frame_classification.helper.load_frames

vak.datapipes.frame_classification.helper.load_frames(frames_path, input_type)[source]

Helper function that loads “frames”, the input to the frame classification model. Loads audio or spectrogram, depending on self.input_type. This function assumes that audio is in wav format and spectrograms are in npz files.