fixed codestyle problems
This commit is contained in:
parent
8a6fe2d238
commit
734ab84042
@ -45,7 +45,7 @@ class Executor:
|
||||
continue
|
||||
logits = model(feats)
|
||||
loss_type = args.get('criterion', 'max_pooling')
|
||||
loss, acc = criterion(loss_type, logits, target, feats_lengths, \
|
||||
loss, acc = criterion(loss_type, logits, target, feats_lengths,
|
||||
min_duration)
|
||||
optimizer.zero_grad()
|
||||
loss.backward()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user