Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Facing compatibility issue with TF 2.14 #1

Open
abishpius opened this issue Nov 16, 2023 · 0 comments
Open

Facing compatibility issue with TF 2.14 #1

abishpius opened this issue Nov 16, 2023 · 0 comments

Comments

@abishpius
Copy link

Please run this code and share your library versions

import tensorflow as tf
import keras
import keras_vggface

print(tf.__version__)
print(keras.__version__)
print(keras_vggface.__version__)

2.14.0
2.2.4
0.6

Bug reports:

Does not seem compatible with tensorflow 2.14

Code Sample:

base_model = VGGFace(model='resnet50', include_top=False)

/usr/local/lib/python3.10/dist-packages/keras/backend/tensorflow_backend.py in get_uid(prefix)
72 """
73 global _GRAPH_UID_DICTS
---> 74 graph = tf.get_default_graph()
75 if graph not in _GRAPH_UID_DICTS:
76 _GRAPH_UID_DICTS[graph] = defaultdict(int)

AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

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

No branches or pull requests

1 participant