跑cycleGAN的步骤
-
在 anaconda 中使用 conda create -n tensorflow python=3.7 创建 tensorflow 虚拟环境;
-
安装tensorflowgpu==2.1.0
-
安装交互环境(ipykernel) conda install ipykernel
-
激活 tensorflow 虚拟环境, activate tensorflow;
-
将虚拟环境 tensorflow 写入到 Notebook 的 kernel 中: python -m ipykernel install --name tensorflow --display-name “Python tensorflow”
-
调试代码,安装依赖包matplotlib 安装addons,注意版本问题