论文:PFGM++: Unlocking the Potential of Physics-Inspired Generative Models
Code is available at https://github.com/Newbeeer/pfgmpp
问题,学习官方代码后,生成数据会有以下报错
解决方案:将generate.py中的
调整为
调整后即可正常运行,并生成图片
相关参考
Python *args 和 **kwargshttp://markmiyashita.com/blog/python-args-and-kwargs/
Python中*和**的区别
Python中*和**的区别 - 北洛 - 博客园 (cnblogs.com)
标签:泊松流,GitHub,PFGM,Python,args,生成,++,com From: https://blog.csdn.net/lzlzlzLZlzlzlzA/article/details/139232059