debugging

This commit is contained in:
frankknoll
2023-02-27 12:28:01 +01:00
parent d5931ff37a
commit 67579ab7a5

View File

@@ -75,6 +75,6 @@ def getTextInCaptchaImage(captchaImageFile):
batchImages = encode_single_sample(captchaImageFile) batchImages = encode_single_sample(captchaImageFile)
model = _getModel() model = _getModel()
print('preds = model.predict(batchImages):') print('preds = model.predict(batchImages):')
preds = model.predict(batchImages) preds = model.predict(batchImages, use_multiprocessing=True)
print('return decode_batch_predictions(preds)[0]:') print('return decode_batch_predictions(preds)[0]:')
return decode_batch_predictions(preds)[0] return decode_batch_predictions(preds)[0]