Nabu-asr
|
a trainer with no added functionality More...
Public Member Functions | |
def | aditional_loss (self) |
add an aditional loss More... | |
def | chief_only_hooks (self, outputs) |
add hooks only for the chief worker More... | |
def | hooks (self, outputs) |
add hooks for the session More... | |
Public Member Functions inherited from nabu.neuralnetworks.trainers.trainer.Trainer | |
def | __init__ (self, conf, dataconf, modelconf, evaluatorconf, expdir, server, task_index) |
NnetTrainer constructor, creates the training graph. More... | |
def | train (self, testing=False) |
train the model More... | |
def | chief_only_hooks (self, outputs) |
add hooks only for the chief worker More... | |
def | hooks (self, outputs) |
add hooks for the session More... | |
def | aditional_loss (self) |
add an aditional loss More... | |
Additional Inherited Members | |
Public Attributes inherited from nabu.neuralnetworks.trainers.trainer.Trainer | |
conf | |
dataconf | |
evaluatorconf | |
expdir | |
server | |
task_index | |
model | |
a trainer with no added functionality
def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.aditional_loss | ( | self | ) |
add an aditional loss
def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.chief_only_hooks | ( | self, | |
outputs | |||
) |
add hooks only for the chief worker
outputs | the outputs generated by the create graph method |
def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.hooks | ( | self, | |
outputs | |||
) |
add hooks for the session
outputs | the outputs generated by the create graph method |