1. TensorFlow 版本不兼容
参考:Installing Tensorflow 1.15 with CUDA and cuDNN using Conda: A Guide | Saturn Cloud Blog、
2. Pretrain参数无法联网下载
直接将pkl文件下载到本地,下载地址:https://drive.google.com/uc?id=1MEGjdvVpUsu1jB4zrXZN7Y4kBBOzizDQ
with open('E:/stylegan-master/karras2019stylegan-ffhq-1024x1024.pkl', "rb") as f:
改为本地调用