无法获取设备0的设备属性13 [英] Failed to get device attribute 13 for device 0

查看:139
本文介绍了无法获取设备0的设备属性13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行Yolo检测示例时,出现了该错误:

When I'm trying to run Yolo detection examples, I got that error:

2020-02-02 21:39:00.821721: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll                                                                                                                  
WARNING:tensorflow:From C:\Users\Dominux\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\ops\resource_variable_ops.py:1635: calling BaseResourceVariable.__init__ (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version.                                                                        
Instructions for updating:                                                                                                       
If using Keras pass *_constraint arguments to layers.                                                                            
2020-02-02 21:39:03.863436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll                                                                                                                        
2020-02-02 21:39:04.431694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:             
pciBusID: 0000:02:00.0 name: GeForce MX230 computeCapability: 6.1                                                                
coreClock: 1.531GHz coreCount: 2 deviceMemorySize: 2.00GiB deviceMemoryBandwidth: 44.76GiB/s                                     
2020-02-02 21:39:04.437212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll                                                                                                                  
2020-02-02 21:39:04.444498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll                                                                                                                   
2020-02-02 21:39:04.450110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll                                                                                                                    
2020-02-02 21:39:04.453997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll                                                                                                                   
2020-02-02 21:39:04.459404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll                                                                                                                 
2020-02-02 21:39:04.464501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll                                                                                                                 
2020-02-02 21:39:04.477818: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll                                                                                                                     
2020-02-02 21:39:04.480586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0               
2020-02-02 21:39:09.674559: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2                                                                                         
2020-02-02 21:39:09.678508: F tensorflow/stream_executor/lib/statusor.cc:34] Attempting to fetch value instead of handling error 
Internal: failed to get device attribute 13 for device 0: CUDA_ERROR_UNKNOWN: unknown error           

我的堆栈:

  • 赢10,
  • Tensoflow 2.1,
  • 英特尔酷睿I5,
  • Nvidia GeForce MX230 2GB,
  • 8GD DDR4

我检查了类似的问题,但是它们没有解决方案.只是绝望的人... 但是只有他们在TF 1.14上才讨论了这个问题-我没有找到其他 但是您如何在上面的堆栈中注意到我已经在使用TF 2.1

I checked similar issues, but they don't have solutions. Just despaired people... But it problem was talked about by them only with TF 1.14 - I didn't find other But how you could notice at me stack above I'm using TF 2.1 already

请,您能帮我吗! 也许我的驱动程序或CUDA软件有问题? 有什么想法吗?

Please, can you help me! Maybe I've got problems with drivers or CUDA software? Any ideas?

推荐答案

宾果!将我的驱动程序从418.91更新为445.75(最新),现在它栩栩如生.

Bingo! updated my driver from 418.91 to 445.75 (latest) and now it leaps to life.

这篇关于无法获取设备0的设备属性13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆