本机的python环境采用anaconda3创建的python2.7,其中所有安装的依赖和库均在这个虚拟环境中
问题一:
E tensorflow/stream_executor/cuda/cuda_dnn.cc:363] Loaded runtime CuDNN library: 7.0.5 but source was compiled with: 7.1.4. CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library. If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration
原因:说的是cudnn问题,其实是安装的tensorflow版本较高,不兼容cudnn,本及安装的是tensorflow=1.12.0版本的
解决:卸载原有tensorflow ,重新安装tensorflow=1.10
pip uninstall tensorflow-gpu
pip install tensorflow-gpu==1.10
问题2:
出现numpy changed ………………,其原因跟可能是tensorflow降级后,导致numpy跟着降级了
解决:升级numpy
pip install --upgrade numpy
问题三:
找不到 data/VOCdevkit2007/results/VOC2007/Main/xxxxxx.txt
这个原因是配置数据文件的时候,没有完全按照pascal_voc格式准备,未设置result文件价及其内容
应该按照这样的格式严格分配数据
问题4:
【Python问题】ImportError: No module named 'yaml' 的解决方法
解决方法:
pip install pyyaml
注意:pip install yaml无效 ,conda install yaml能成功安装,但是不起作用