Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running code. #20

Open
usalexsantos opened this issue Feb 27, 2019 · 1 comment
Open

Error running code. #20

usalexsantos opened this issue Feb 27, 2019 · 1 comment

Comments

@usalexsantos
Copy link

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants