1. 安装 Anaconda3  

2  .设置 系统变量 path

X:\Anaconda3
x:\Anaconda3\Scripts
X:\Anaconda3\Library\bin;
X:\Anaconda3\Library\mingw-w64\bin;

3.创建虚拟化境!

conda create -n jiabin python=3.7

4.安装 cuda

5.把cudnn 复制过去!

6.用 Anaconda Navigator 安装 keras-gpu

keras-gpu

7.删除 faceswap\lib\cli.py 里的

test_for_tf_version(): 函数中的

        tf_ver = float(".".join(tf.__version__.split(".")[:2]))

        。。。。。。。。。。。 

       logger.debug("Installed Tensorflow Version: %s", tf_ver) 中间行!

 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐