invoice icon indicating copy to clipboard operation
invoice copied to clipboard

AttributeError: module 'tensorflow_core.keras.backend' has no attribute 'get_session'

Open tommyxiang opened this issue 2 years ago • 1 comments

I got the error like this :

Traceback (most recent call last): File "app.py", line 14, in from model_post_type import ocr as OCR File "/Users/xianglingyun/invoice_ocr/invoice-master/model_post_type.py", line 32, in from text import keras_detect_type as detect File "/Users/xianglingyun/invoice_ocr/invoice-master/text/keras_detect_type.py", line 19, in sess = K.get_session()

can you tell me how to fix it?

tommyxiang avatar Mar 07 '22 01:03 tommyxiang

you version is too higer

Sai1978 avatar Apr 15 '23 12:04 Sai1978