develop分支有问题(切换master分支就没问题了),运行first-order-demo.py程序出现TypeError: __init__() got an unexpected keyword argument 'image_size'
develop分支有问题(切换master分支就没问题了),运行first-order-demo.py程序出现TypeError: init() got an unexpected keyword argument 'image_size'
you forgot to update ppgan, i guess. make sure you uninstalled the previous version (maybe located in site-packages folder) or update it
你忘了更新 ppgan,我猜。确保您卸载了以前的版本(可能位于 site-packages 文件夹中)或更新它
This does not work, the latest ppgan version is 2.0.0, even if "pip3 install --upgrade ppgan" is executed, the ppgan version is still 2.0.0, the master branch does not have this problem. This is really strange
推荐使用cd PaddleGAN, pip install setup.py develop的方式,这个可以安装develop版本的ppgan
因为目前的 2.0.0 以及 master 分支里面都没有 image_size 参数。直接 pip 安装的是目前最新的2.0.0,但develop代码运行的例子里面有 image_size,所以会报错
问题过于久远,且已经解决,如果有图像和视频生成的需求,可以使用新的跨模态工具: https://github.com/PaddlePaddle/PaddleMIX/tree/develop