SPRAAK
|
Data Structures | |
class | MasterConfig |
Defines the attributes of the configuration used by the trainer objects. More... | |
class | MasterTrainer |
Defines the trainer object that will perform the various training steps. More... | |
Functions | |
def | create_new_trainer |
Instantiates a new trainer object with associated config object. More... | |
def | run_user_config |
Runs a training description file in a new environment. More... | |
def spr_pylib.train.master.create_new_trainer | ( | ) |
Instantiates a new trainer object with associated config object.
config
and a new MasterTrainer object trainer
. def spr_pylib.train.master.run_user_config | ( | fname | ) |
Runs a training description file in a new environment.
The new environment gives access to several objects:
config
: A MasterConfig object that can be used to set configuration attributes.trainer
: A MasterTrainer object linked to the config
object, that can be used to initiate various training steps.get_user
: A function that can be used to get the name of the current user.fname | The filename (absolute or relative to the current directory) of the training description file. |