montreal_forced_aligner/ivector/trainer.py
def export_model(self, output_model_path: str) -> None:
        """
        Output IvectorExtractor model

        Parameters
        ----------
        output_model_path : str
            Path to save ivector extractor model
        """
        directory, filename = os.path.split(output_model_path)
        basename, _ = os.path.splitext(filename)
        ivector_extractor = IvectorExtractorModel.empty(basename, self.working_log_directory)
        ivector_extractor.add_meta_file(self)
        ivector_extractor.add_model(self.working_directory)
        if directory:
            os.makedirs(directory, exist_ok=True)
        basename, _ = os.path.splitext(output_model_path)
        ivector_extractor.dump(basename)

        Output IvectorExtractor model

        Parameters
        ----------
        output_model_path : str
            Path to save ivector extractor model
        
Output IvectorExtractor model
Parameters

output_model_path : str
Path to save ivector extractor model
Output IvectorExtractor model Parameters output_model_path : str Path to save ivector extractor model
def export_model(self, output_model_path: str) -> None:
        directory, filename = os.path.split(output_model_path)
        basename, _ = os.path.splitext(filename)
        ivector_extractor = IvectorExtractorModel.empty(basename, self.working_log_directory)
        ivector_extractor.add_meta_file(self)
        ivector_extractor.add_model(self.working_directory)
        if directory:
            os.makedirs(directory, exist_ok=True)
        basename, _ = os.path.splitext(output_model_path)
        ivector_extractor.dump(basename)
def export_model ( self , output_model_path : str ) -> None : directory , filename = os . path . split ( output_model_path ) basename , _ = os . path . splitext ( filename ) ivector_extractor = IvectorExtractorModel . empty ( basename , self . working_log_directory ) ivector_extractor . add_meta_file ( self ) ivector_extractor . add_model ( self . working_directory ) if directory : os . makedirs ( directory , exist_ok = True ) basename , _ = os . path . splitext ( output_model_path ) ivector_extractor . dump ( basename )
Output IvectorExtractor model
Parameters
Output IvectorExtractor model Parameters
"""
        Output IvectorExtractor model

        Parameters
        ----------
        output_model_path : str
            Path to save ivector extractor model
        """
self
output_model_path
str