Open
Description
Error in Demo
AttributeError Traceback (most recent call last)
in
1 fd = face_detector.FaceAlignmentDetector(
----> 2 lmd_weights_path="./models/detector/FAN/2DFAN-4_keras.h5"# 2DFAN-4_keras.h5, 2DFAN-1_keras.h5
3 )
7 frames
/usr/local/lib/python3.7/dist-packages/keras/backend/tensorflow_backend.py in get_uid(prefix)
72 """
73 global _GRAPH_UID_DICTS
---> 74 graph = tf.compat.v1.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'
Metadata
Metadata
Assignees
Labels
No labels