From 41c4cb721cf946dc93240d7ec1cb8e6fd3fb8c95 Mon Sep 17 00:00:00 2001 From: hongjiwang Date: Thu, 9 Feb 2023 16:39:55 +0800 Subject: [PATCH] [wekws] remove unused variables in wekws/utils/executor.py --- wekws/utils/executor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/wekws/utils/executor.py b/wekws/utils/executor.py index 646884e..eb1e26a 100644 --- a/wekws/utils/executor.py +++ b/wekws/utils/executor.py @@ -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)