Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpen 模型是用哪个版本保存的,是不是有错误 #12

Closed
ziyoujiyi opened this issue Jan 10, 2022 · 5 comments
Closed

gpen 模型是用哪个版本保存的,是不是有错误 #12

ziyoujiyi opened this issue Jan 10, 2022 · 5 comments

Comments

@ziyoujiyi
Copy link

[01/10 10:12:33] ppgan INFO: Found /root/.cache/ppgan/GPEN-512.pdparams
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/paddle/framework/io.py", line 936, in load
load_result = pickle.load(f)
_pickle.UnpicklingError: pickle data was truncated

@JiehangXie
Copy link
Owner

可以给更详细的报错信息吗?
最好能附上输入的图片格式和分辨率大小,谢谢

@ziyoujiyi
Copy link
Author

https://aistudio.baidu.com/aistudio/projectdetail/3280614?channelType=0&channel=0 按着教程来的,用的 paddlebobo develop 分支,执行 python create_virtual_human.py --config default.yaml 时报错,paddle版本 2.2.1 ,用的是官方镜像,cpu 版本
image

@JiehangXie
Copy link
Owner

感觉是模型下载中断失败了,你尝试下删除/root/.cache/ppgan/GPEN-512.pdparams再运行程序重新下载试试?

@ziyoujiyi
Copy link
Author

"No ffmpeg exe could be found. Install ffmpeg on your system, " 这个代码只能在windows上跑么,有没windows运行环境呀

@JiehangXie
Copy link
Owner

"No ffmpeg exe could be found. Install ffmpeg on your system, " 这个代码只能在windows上跑么,有没windows运行环境呀

这个应该是ffmpeg没有被加进系统的环境变量,具体可参考
Win: https://www.jianshu.com/p/2b609afb9800
Linux: https://blog.csdn.net/qq_38631503/article/details/80007128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants