tensorflow object detection API训练错误解决
生活随笔
收集整理的這篇文章主要介紹了
tensorflow object detection API训练错误解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述
tensorflow object detection API訓練coco數據集時提示錯誤:Windows fatal exception: access violation,如下圖:
The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.Windows fatal exception: access violationCurrent thread 0x00003158 (most recent call first):解決方案
參考了這篇博客,說是要把tensorflow_gpu的版本降到1.12.0,我使用的是python3.7,輸入指令進行安裝:
pip install tensorflow_gpu==1.12.0提示沒有對應版本的tensorflow_gpu與python3.7匹配安裝,最低版本是tensorflow_gpu1.13.1版本,于是抱著試一試的心態進行安裝,成功解決以上bug。
安裝提示
清華鏡像網站tensorflow_gpu版本這個網站里面有各種tensorflow_gpu的安裝文件,下載速度值得一贊,從官網上下載很不穩定而且很慢,在鏡像網站上下載體驗感高多了。
從以上版本中選擇合適配置的安裝文件進行安裝就好了。我安裝的版本是tensorflow_gpu1.13.1版本,安裝指令:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.13.1總結
以上是生活随笔為你收集整理的tensorflow object detection API训练错误解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 轨迹相似性度量方法总结
- 下一篇: 饶毅教授对非升即走的思考