montreal_forced_aligner/ivector/trainer.py
def train(self) -> None:
        """
        Run through the training configurations to produce a final ivector extractor model
        """
        begin = time.time()
        self.setup()
        previous = None
        for trainer in self.training_configs.values():
            self.current_subset = trainer.subset
            if previous is not None:
                self.current_model = IvectorExtractorModel(previous.exported_model_path)
                os.makedirs(trainer.working_directory, exist_ok=True)
                self.current_model.export_model(trainer.working_directory)
            trainer.train()
            previous = trainer
        self.logger.info(f"Completed training in {time.time()-begin} seconds!")

        Run through the training configurations to produce a final ivector extractor model
        
Run through the training configurations to produce a final ivector extractor model
Run through the training configurations to produce a final ivector extractor model
def train(self) -> None:
        begin = time.time()
        self.setup()
        previous = None
        for trainer in self.training_configs.values():
            self.current_subset = trainer.subset
            if previous is not None:
                self.current_model = IvectorExtractorModel(previous.exported_model_path)
                os.makedirs(trainer.working_directory, exist_ok=True)
                self.current_model.export_model(trainer.working_directory)
            trainer.train()
            previous = trainer
        self.logger.info(f"Completed training in {time.time()-begin} seconds!")
def train ( self ) -> None : begin = time . time ( ) self . setup ( ) previous = None for trainer in self . training_configs . values ( ) : self . current_subset = trainer . subset if previous is not None : self . current_model = IvectorExtractorModel ( previous . exported_model_path ) os . makedirs ( trainer . working_directory , exist_ok = True ) self . current_model . export_model ( trainer . working_directory ) trainer . train ( ) previous = trainer self . logger . info ( f"Completed training in {time.time()-begin} seconds!" )
Run through the training configurations to produce a final ivector extractor model
Run through the training configurations to produce a final ivector extractor model
"""
        Run through the training configurations to produce a final ivector extractor model
        """
self