phlower.services.trainer.PhlowerTrainer¶
- class phlower.services.trainer.PhlowerTrainer(model_setting, trainer_setting)[source]¶
Bases:
object
Methods
__init__
(model_setting, trainer_setting)from_setting
(setting)load_state
(snapshot_file[, device, decrypt_key])reinit_for_restart
(restart_directory[, ...])train
(output_directory, train_directories[, ...])- Parameters:
model_setting (PhlowerModelSetting)
trainer_setting (PhlowerTrainerSetting)