[wekws] remove unused variables in wekws/utils/executor.py

This commit is contained in:
hongjiwang 2023-02-09 16:51:47 +08:00
parent cadeec1f0c
commit bd2a47d2ae

View File

@ -33,8 +33,6 @@ class Executor:
epoch = args.get('epoch', 0)
min_duration = args.get('min_duration', 0)
num_total_batch = 0
total_loss = 0.0
for batch_idx, batch in enumerate(data_loader):
key, feats, target, feats_lengths = batch
feats = feats.to(device)