mpatacchiola / deepgaze

Computer Vision library for human-computer interaction. It implements Head Pose and Gaze Direction Estimation Using Convolutional Neural Networks, Skin Detection through Backprojection, Motion Detection and Tracking, Saliency Map.
MIT License
1.78k stars 479 forks source link

Problem with tensorflow version #97

Closed forwitai closed 4 years ago

forwitai commented 4 years ago

Hello everyone,

I've just installed DeepGaze to use the head pose estimation code, but I first got this error : "module 'tensorflow' has no attribute 'Session'". I've fixed it by using : " import tensorflow.compat.v1 as tf tf.disable_v2_behavior() " But then I got another error : "module 'tensorflow' has no attribute 'placeholder'". I tried to downgrade my tensorflow version to 1.15.0 but nothing seems to work. Can someone help me please ?