keras-ocr icon indicating copy to clipboard operation
keras-ocr copied to clipboard

Pipeline constructor initializing libiomp5 multiple times

Open Jeff-Winchell opened this issue 8 months ago • 0 comments

Just running the first two lines of your sample code on a very basic environment generates errors.

import keras_OCR pipeline = keras_ocr.pipeline.Pipeline()

"OMP: Error #15: Initializing libiomp5, but found libiomp5md.dll already initialized. This means that multiple copies of the OpenMP runtime have been linked into the program."

This is in an environment built by these few lines conda create --yes --name OCR python=3.9 tensorflow=2.10.0 nbclassic=1.1.0 Conda activate OCR pip install keras-ocr==0.9.3

Jeff-Winchell avatar Jun 06 '24 21:06 Jeff-Winchell