diff --git a/training/deepspeech_training/util/helpers.py b/training/deepspeech_training/util/helpers.py index 8d35e149..195c117e 100644 --- a/training/deepspeech_training/util/helpers.py +++ b/training/deepspeech_training/util/helpers.py @@ -103,11 +103,6 @@ class LimitingPool: self.processed -= 1 yield obj - def imap_unordered(self, fun, it): - for obj in self.pool.imap_unordered(fun, self._limit(it)): - self.processed -= 1 - yield obj - def terminate(self): self.pool.terminate()