pyanomaly/core/engine/abstract/abstract_engine.py
def run(self, start_iter, max_iter):
        """Start the training process.

        Define the order to execute the function in a tainer.
        The total number of the training steps is (max_iter - start_iter)

        Args:
            start_iter(int): The strat step number
            max_iter(int): The end step number.
        """
        self.before_train()
        for i in range(start_iter, max_iter):
            self.before_step(i)
            self.train(i)
            self.after_step(i)
        self.after_train()
Start the training process.

        Define the order to execute the function in a tainer.
        The total number of the training steps is (max_iter - start_iter)

        Args:
            start_iter(int): The strat step number
            max_iter(int): The end step number.
        
Start the training process.
Define the order to execute the function in a tainer.
The total number of the training steps is (max_iter - start_iter)
Start the training process . Define the order to execute the function in a tainer . The total number of the training steps is ( max_iter - start_iter )
def run(self, start_iter, max_iter):
        self.before_train()
        for i in range(start_iter, max_iter):
            self.before_step(i)
            self.train(i)
            self.after_step(i)
        self.after_train()
def run ( self , start_iter , max_iter ) : self . before_train ( ) for i in range ( start_iter , max_iter ) : self . before_step ( i ) self . train ( i ) self . after_step ( i ) self . after_train ( )
Start the training process.
Start the training process .
"""Start the training process.

        Define the order to execute the function in a tainer.
        The total number of the training steps is (max_iter - start_iter)

        Args:
            start_iter(int): The strat step number
            max_iter(int): The end step number.
        """
self
start_iter
The strat step number
The strat step number
max_iter
The end step number.
The end step number .