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

Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR #166

Open
Varat7v2 opened this issue Aug 4, 2020 · 1 comment
Open

Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR #166

Varat7v2 opened this issue Aug 4, 2020 · 1 comment

Comments

@Varat7v2
Copy link

Varat7v2 commented Aug 4, 2020

When I run it on CPU, it works well but throws CUDNN related error message. I did not find any solution. Why is not running on GPU? The complete error message is as below.

tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[{{node conv2d_1/convolution}}]] [[boolean_mask_53/GatherV2/_2673]]

(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[{{node conv2d_1/convolution}}]] 0 successful operations. 0 derived errors ignored.

Errors may have originated from an input operation. Input Source operations connected to node conv2d_1/convolution:

But when I try to train some model using GPU, it works then.

@fenglinlie
Copy link

tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.

i got this error,
solve:
after yolo.py import …… code,befoer class YOLO(obj)
add:
config = tf.ConfigProto()
config.gpu_options.allow_growth=True
sess = tf.Session(config=config)
K.set_session(sess)

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