Imageai: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

Created on 23 Sep 2019  路  5Comments  路  Source: OlafenwaMoses/ImageAI

I use docker to run example, and I find a bug,
娣卞害鎴浘_20190923231224

I find this link to resolve the problem, but how to set tensorflow gpu operation in imagiai?
https://github.com/tensorflow/tensorflow/issues/24496

Most helpful comment

Every solution in that thread requires the modification of tf session (which is controlled by ImageAI), but it's also possible to do it with an envrionmental variable: TF_FORCE_GPU_ALLOW_GROWTH=true

All 5 comments

how to set tensorflow gpu operation in imagiai?

It is already set by default.

Are you sure that your tensorflow instalation/configuration is ok?

I was exec in docker, the images: nwpu/imageai-gpu:local
the Dockerfile : https://github.com/yywf/dev-env/blob/local/imageai-gpu.df

You should look at this issue

Every solution in that thread requires the modification of tf session (which is controlled by ImageAI), but it's also possible to do it with an envrionmental variable: TF_FORCE_GPU_ALLOW_GROWTH=true

Hey there

Hope you'all doing well :)

I am also getting same error message, even after setting GPU_ALLOW_GROWTH=true and process_gpu_memory_fraction limit, issue persists. May I know any other way to get rid of this issue, and use gpu to run imageai code.

Thanks in advance

Best regards

Was this page helpful?
0 / 5 - 0 ratings

Related issues

palacinka picture palacinka  路  3Comments

letchfordnicholas picture letchfordnicholas  路  6Comments

shivam9804 picture shivam9804  路  3Comments

NikolayTV picture NikolayTV  路  5Comments

huangl6 picture huangl6  路  6Comments