tabensemb.trainer.Trainer.detach_model#

method

Trainer.detach_model(program: str, model_name: str, verbose: bool = True) Trainer[source]#

Detach the selected model of the selected model base to a separate Trainer and save it to another directory. If external models are required, they are also detached into the separated Trainer.

Parameters:
program

The selected model base.

model_name

The selected model.

verbose

Verbosity.

Returns:
Trainer

A Trainer with the selected model in its model base.