You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#import tensorflow as tf
#from tensorflow.keras import backend as K
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
from tensorflow.compat.v1.keras import backend as K
and final conversion: python main.py --xml-weights xml_generator/build/dlib_face_recognition_resnet_model_v1.xml
success!
The text was updated successfully, but these errors were encountered:
thanks for the code. spent the time to get it working with latest tf and keras.
here`s short memo to do:
and convert:
./bin/xml_generator
3. fix https://github.com/ksachdeva/dlib-to-tf-keras-converter/blob/master/converter/tensorflow.py
and final conversion:
python main.py --xml-weights xml_generator/build/dlib_face_recognition_resnet_model_v1.xml
success!
The text was updated successfully, but these errors were encountered: