datitran / face2face-demo

pix2pix demo that learns from facial landmarks and translates this into a face
https://medium.com/@datitran/face2face-a-pix2pix-demo-that-mimics-the-facial-expression-of-the-german-chancellor-b6771d65bf66
MIT License
1.44k stars 423 forks source link

Updated run_webcam.py to run on Tensorflow V2 #45

Open AnirbanMukherjeeXD opened 1 year ago

AnirbanMukherjeeXD commented 1 year ago

tf.GraphDef() -> tf.compat.v1.GraphDef() tf.gfile.GFile() -> tf.compat.v2.io.gfile.GFile() tf.Session() -> tf.compat.v1.Session()