tools/utilities/pythonlibs/audio/view_audio.py
def load_featurizer_model(self, featurizer_model):
        """ load the given compiled ELL featurizer for use in processing subsequent audio input """
        if featurizer_model:
            self.featurizer = featurizer.AudioTransform(featurizer_model, 40)
            self.setup_spectrogram_image()
            
            self.show_output("Feature input size: {}, output size: {}".format(
                self.featurizer.input_size, 
                self.featurizer.output_size))
            if self.features_entry.get() != featurizer_model:
                self.features_entry.delete(0, END)
                self.features_entry.insert(0, featurizer_model)
            
        self.init_data()
 load the given compiled ELL featurizer for use in processing subsequent audio input 
load the given compiled ELL featurizer for use in processing subsequent audio input
load the given compiled ELL featurizer for use in processing subsequent audio input
def load_featurizer_model(self, featurizer_model):
        if featurizer_model:
            self.featurizer = featurizer.AudioTransform(featurizer_model, 40)
            self.setup_spectrogram_image()
            self.show_output("Feature input size: {}, output size: {}".format(
                self.featurizer.input_size, 
                self.featurizer.output_size))
            if self.features_entry.get() != featurizer_model:
                self.features_entry.delete(0, END)
                self.features_entry.insert(0, featurizer_model)
        self.init_data()
def load_featurizer_model ( self , featurizer_model ) : if featurizer_model : self . featurizer = featurizer . AudioTransform ( featurizer_model , 40 ) self . setup_spectrogram_image ( ) self . show_output ( "Feature input size: {}, output size: {}" . format ( self . featurizer . input_size , self . featurizer . output_size ) ) if self . features_entry . get ( ) != featurizer_model : self . features_entry . delete ( 0 , END ) self . features_entry . insert ( 0 , featurizer_model ) self . init_data ( )
load the given compiled ELL featurizer for use in processing subsequent audio input
load the given compiled ELL featurizer for use in processing subsequent audio input
""" load the given compiled ELL featurizer for use in processing subsequent audio input """
self
featurizer_model