Skip to content

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

@VAJHAHARIKA

Description

@VAJHAHARIKA

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions