Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tommyxiang opened this issue Mar 7, 2022 · 1 comment

Comments

@tommyxiang
Copy link

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?

@Sai1978
Copy link

Sai1978 commented Apr 15, 2023

you version is too higer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants