From 67579ab7a5a4a2dbcf9037676d5a7505de65e3e4 Mon Sep 17 00:00:00 2001 From: frankknoll Date: Mon, 27 Feb 2023 12:28:01 +0100 Subject: [PATCH] debugging --- src/CaptchaReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CaptchaReader.py b/src/CaptchaReader.py index d20e3b08428..f7902561504 100644 --- a/src/CaptchaReader.py +++ b/src/CaptchaReader.py @@ -75,6 +75,6 @@ def getTextInCaptchaImage(captchaImageFile): batchImages = encode_single_sample(captchaImageFile) model = _getModel() print('preds = model.predict(batchImages):') - preds = model.predict(batchImages) + preds = model.predict(batchImages, use_multiprocessing=True) print('return decode_batch_predictions(preds)[0]:') return decode_batch_predictions(preds)[0]