rename broken variables
This commit is contained in:
parent
a4081606f7
commit
35f380c5d0
2 changed files with 2 additions and 2 deletions
|
@ -911,7 +911,7 @@ def run(program, args=None):
|
|||
|
||||
while training and learner.next():
|
||||
avg_loss, losses = ritual.train_batched(
|
||||
shuffled_inputs, shuffled_outputs,
|
||||
inputs, outputs,
|
||||
config.batch_size,
|
||||
return_losses=True)
|
||||
batch_losses += losses
|
||||
|
|
|
@ -197,7 +197,7 @@ while learner.next():
|
|||
node.reg.lamb = act_t * node.reg.lamb_orig # HACK
|
||||
|
||||
avg_loss, avg_mloss, losses, mlosses = ritual.train_batched(
|
||||
shuffled_inputs, shuffled_outputs,
|
||||
inputs, outputs,
|
||||
batch_size=bs,
|
||||
return_losses='both')
|
||||
fmt = "rate {:10.8f}, loss {:12.6e}, accuracy {:6.2f}%"
|
||||
|
|
Loading…
Reference in a new issue