Train

class scripts.train.Train(arguments: argparse.Namespace)

Bases: object

The Faceswap Training Process.

The training process is responsible for training a model on a set of source faces and a set of destination faces.

The training process is self contained and should not be referenced by any other scripts, so it contains no public properties.

Parameters:

arguments (argparse.Namespace) – The arguments to be passed to the training process as generated from Faceswap’s command line arguments

Methods Summary

process()

The entry point for triggering the Training Process.

Methods Documentation

process() None

The entry point for triggering the Training Process.

Should only be called from lib.cli.launcher.ScriptExecutor

Return type:

None

process() None

The entry point for triggering the Training Process.

Should only be called from lib.cli.launcher.ScriptExecutor

Return type:

None