Joker316701882 / Salient-Object-Detection

This is tensorflow implementation for cvpr2017 paper "Deeply Supervised Salient Object Detection with Short Connections"
443 stars 139 forks source link

Error running code. #20

Open usalexsantos opened 5 years ago

usalexsantos commented 5 years ago

When I tried running this code I got this error.

D:\Salient_Object_Detection>python inference.py --rgb_folder=./test Traceback (most recent call last): File "inference.py", line 65, in main(parse_arguments(sys.argv[1:])) File "inference.py", line 19, in main gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction = args.gpu_fraction) AttributeError: module 'tensorflow' has no attribute 'GPUOptions'

Can you help me?

hiSyukri commented 1 year ago

When I tried running this code I got this error.

D:\Salient_Object_Detection>python inference.py --rgb_folder=./test Traceback (most recent call last): File "inference.py", line 65, in main(parse_arguments(sys.argv[1:])) File "inference.py", line 19, in main gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction = args.gpu_fraction) AttributeError: module 'tensorflow' has no attribute 'GPUOptions'

Can you help me?

Hi.. have you solved this?