From 846524fc8ccf61ce3636794f7954c666ac5e2c0f Mon Sep 17 00:00:00 2001 From: Hongji Wang Date: Thu, 9 Feb 2023 17:01:28 +0800 Subject: [PATCH] [doc] update paper link in README.md (#124) * [doc] update paper link in README.md * [wekws] remove unused variables in wekws/utils/executor.py --- README.md | 2 +- wekws/utils/executor.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index b032712..3a77fc7 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Please scan the QR code on the right to join the chat group. * Mining Effective Negative Training Samples for Keyword Spotting ([github]( https://github.com/jingyonghou/KWS_Max-pooling_RHE), - [paper](http://lxie.nwpu-aslp.org/papers/2020ICASSP_HJY.pdf)) + [paper](https://www.microsoft.com/en-us/research/uploads/prod/2020/04/ICASSP2020_Max_pooling_KWS.pdf)) * Max-pooling Loss Training of Long Short-term Memory Networks for Small-footprint Keyword Spotting ([paper](https://arxiv.org/pdf/1705.02411.pdf)) * A depthwise separable convolutional neural network for keyword spotting on an embedded system 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 @@ def train(self, model, optimizer, data_loader, device, writer, args): 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)