在参考各位大神但教程后在Mac上配置好了环境,列出来自己调试中遇到的问题。
- 准备
代码采用GitHub上的https://github.com/endernewton/tf-faster-rcnn
环境配置:
Anaconda2-5.3.1-MacOSX-x86_64.pkg 官网下载比较慢,下载地址可以使用清华的开源镜像
我是通过在mac创建环境的过程如下:
在terminal上创建一个DL环境 python 版本为2.7
conda create --name DL python=2.7
完成后,激活环境
conda activate DL
然后terminal上命令行的前面会有(DL)的标志。接下来就在该环境下进行库的安装,直接用pip或conda安装tensorflow;easydict;matplotlib;cython;如果pip安装出错就换conda。可以参考我的配置
# packages in environment at /Users/anaconda2/envs/DL:
#
# Name Version Build Channel
absl-py 0.6.1 <pip>
astor 0.7.1 <pip>
backports.functools-lru-cache 1.5 <pip>
backports.weakref 1.0.post1 <pip>
blas 1.0 mkl https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ca-certificates 2018.03.07 0
certifi 2016.2.28 py27_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cloog 0.18.0 0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cmake 3.13.1 <pip>
cycler 0.10.0 <pip>
cycler 0.10.0 py27_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
Cython 0.29.1 <pip>
easydict 1.6 <pip>
enum34 1.1.6 <pip>
freetype 2.5.5 2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
funcsigs