1. 程式人生 > >tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 錯誤的解決辦法

tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 錯誤的解決辦法

tensorflow 1.4 cuda8.0 cudnn 6.0
執行gpu版本的 MNIst 時候報錯:

E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM

F tensorflow/core/kernels/conv_ops.cc:672] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)

試了很多辦法

(1):
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.333)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
這個方法對我來說不管用,還是之前的錯誤;

(2):執行 sudo rm -f ~/.nv 解決問題

相關推薦

tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 錯誤解決辦法

tensorflow 1.4 cuda8.0 cudnn 6.0 執行gpu版本的 MNIst 時候報錯: E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn

tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 錯誤解決辦法

tensorflow 1.4  cuda8.0 cudnn 6.0 執行gpu版本的 MNIst 時候報錯: E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn handle:

could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

could not create cudnn handle:CUDNN_STATUS_INTERNAL_ERROR 在CPU下執行沒有問題,但是在GPU版本下,一直執行不成功。可以嘗試限制一下GPU的執行資源,新增如下程式碼: config = tf.ConfigPr

啟動eclipse報錯 Could not create the Java Virtual Machine 解決辦法

今天下載了eclipse neon,但是啟動的時候報瞭如下的錯誤: 網上查詢了下,說這是系統為eclipse分配的記憶體不足,需要修改eclipse.ini檔案。 eclipse.ini是eclipse 記憶體分配之類的配置檔案,對java虛擬機器的記憶體管理

Godaddy伺服器傳送郵件出現Could not connect to SMTP host錯誤 解決辦法

解決辦法: 在 class.phpmailer.php 中,將 function IsSMTP() { $this->Mailer = 'smtp'; } 改成: function IsSMTP() { $this->Mailer = 'SMTP

win7下設定jar包關聯方法/could not create the java virtual machine 解決方法

首先 右鍵 .jar 字尾檔案 - 開啟方式 - 選擇預設程式 - 瀏覽 - 找到你的jdk安裝目錄(我的是D:\Java\jdk1.7.0_04\) - 找到bin資料夾 - 選中javaw.exe 然後點開啟 但是注意 此時仍是無法執行jar包的 還需要 按Win + R 輸入rege

Could not write JSON: Infinite recursion (StackOverflowError)解決辦法

以系統管理中,使用者和角色多對多的關係為例 問題部分程式碼: UserEntity: @ManyToMany @JoinTable(name = "user_role", joinColumns = {@JoinColumn(name = "user_id", referencedCo

redis連線:Could not get resource from the pool解決辦法

用jedis連線redis一直報Could not get resource from the pool的錯誤,埠防火牆的什麼檢查完都沒發現問題,不知道為什麼死活報這個錯。 然後給redis加了個一個密碼,連線那配置上了連線密碼,然後一下子就通了。也不知道為什麼當初redi

lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found, torch nn安裝錯誤解決辦法

問題:    [email protected]:~/liujie/luarocks-2.1.0$ sudo luarocks install nn    Installing https://rocks.moonscript.org/nn-1.0.4-1.src.

springMVC Ajax非同步上傳檔案(報錯:Could not parse multipart servlet request)解決辦法

1.applicaitonContext.xml的配置。配置CommonsMultipartResolver<!-- 配置spring自帶上傳工具,處理器配置 --><bean class="org.springframework.web.multipart

RuntimeError: Python is not installed as a framework 錯誤解決辦法

install atp 錯誤解決辦法 pip3 font 需要 macbook ken work 因為我是macbook,mac是自帶的python 2.7,但是我開發需要使用到的是python3,所以先使用pip3 install matplotlib 然後在交互頁面鍵入

Android編譯出現com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536錯誤解決辦法

踩過的坑, 以下操作,必須在app module中進行。 ========================================== ** Android編譯出現com.android.dex.DexIndexOverflowException: method ID not i

eclipse oxygen 版本(即為4.7版本)打開 could not create the java virtual machine問題

bin serve 問題 pre ava user jdk creat args 1.問題: could not create the java virtual machine 2.解決辦法: 找到eclipse目錄下的eclipse.ini文件。打開找到以下內容:

SVN報錯1——Could not create the view: org.tigris.subversion.subclipse.ui.repository.RepositoriesView

報錯如圖: 解決方法: A.重新安裝svn B. 關閉正在執行的myeclipse,然後開啟myeclipse安裝路徑(我的安裝在D盤): > D:\MyEclipse\MyEclipse 10\configuration > 將org.ecli

mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project lin: Could not create connect

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project lin: Could not create

java virtual machine launcher Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Program will exit.

exc 出現 mac occurred error: exe 全局 log reat Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Progr

Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083

找不到 分享 res es2017 service alt not store src 遇到這種情況大家都找不到頭緒,是因為你開始運行了hive的metastore,可以輸入jps 然後出現如下: 紅線所示就是hive metastore的進程 為了重新啟動,需要把這

linux中ftp提示--553 Could not create file

col 阿裏 nbsp pre log 原因 ould eat span 今天在阿裏雲的linux上搭建ftp服務的時候,搭建成功之後,上傳文件時總提示553 Could not create file,找了半天原因,終於解決了 ftp主目錄為/home/myftp ch

ERROR: Could not create or update '/usr/local/nagios/var/nagios.configtest'

ren family 試用 span tin pda -s body 再次 [root@tomcat ~]# service nagios start Starting nagios:This account is currently not available. ERRO

ISCSI報錯:Could not create NetworkPortal in configFS

ISCSI linux 共享存儲 ISCSI報錯:Could not create NetworkPortal in configFS的解決辦法 通過查找相關的資料,發現在啟用端口3260和IP監聽的時候,已經存在了一個IP和端口,此時需要手動刪除。 報錯及解決截圖如下: ISCSI報錯:C