mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-15 13:54:33 +00:00
Is there any way to improve inference speed? #320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bruedream on GitHub (Mar 4, 2023).
I want to do real-time image processing. Is there any way to improve inference speed? Or can we reduce the size of the avatar from 512x512 to 256x256? I tried to modify several places in the code, changing 512 to 256, but I kept running errors. I don't know if it is related to the pre-training model? Which great god can guide you?
我想做图像的实时处理,有没有办法提升推理速度?或者可不可以把头像大小从512x512降低到256x256? 我尝试修改了代码中的几个地方,把512 改成了 256,但是一直运行错误,不知道是不是和预训练模型有关?哪位大神可以指导下?