AISangam / Facenet-Real-time-face-recognition-using-deep-learning-Tensorflow

Facenet-Real-time-face-recognition-using-deep-learning-Tensorflow
159 stars 104 forks source link

AttributeError: module 'tensorflow' has no attribute 'GPUOptions' #33

Open VAJHAHARIKA opened 4 years ago

VAJHAHARIKA commented 4 years ago

I have changed nothing, I just tried running data_preprocess and I solved all the errors that occurred except this.. can you help?

Reloaded modules: preprocess, facenet, detect_face Traceback (most recent call last):

File "D:\Projects\Mini Project\Facenet-Real-time-face-recognition-using-deep-learning-Tensorflow\data_preprocess.py", line 5, in nrof_images_total,nrof_successfully_aligned=obj.collect_data()

File "D:\Projects\Mini Project\Facenet-Real-time-face-recognition-using-deep-learning-Tensorflow\preprocess.py", line 23, in collect_data gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.5)

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

anhanhtdh01 commented 3 years ago

pip3 install tensorflow==1.14.0