stylegan环境配置

Posted rainsoul

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了stylegan环境配置相关的知识,希望对你有一定的参考价值。

conda创建虚拟环境:

conda create -n stylegan pip python=3.6

激活虚拟环境

source activate

安装tensorflow

conda install tensorflow-gpu==1.12.0

安装keras

启动jupyter

/root/anaconda3/envs/stylegan/bin/jupyter notebook --ip=xxxx --allow-root --port=8081

需要指定该jupyter可执行文件的路径,否则还是会自动启动环境变量默认的jupyter,导致很多东西import失败

 

以上是关于stylegan环境配置的主要内容,如果未能解决你的问题,请参考以下文章