weight权重不起作用? #412

Open
opened 2026-01-29 21:47:35 +00:00 by claunia · 3 comments
Owner

Originally created by @quanh1990 on GitHub (Oct 31, 2023).

您好,感谢您的团队开源的这个项目

有个问题想咨询您一下,就是推理代码中有一个
parser.add_argument('-w', '--weight', type=float, default=0.5, help='Adjustable weights.')
这个weight在模型前向推理似乎没有起作用,如果我想控制修复程度,有什么建议吗?

Originally created by @quanh1990 on GitHub (Oct 31, 2023). 您好,感谢您的团队开源的这个项目 有个问题想咨询您一下,就是推理代码中有一个 parser.add_argument('-w', '--weight', type=float, default=0.5, help='Adjustable weights.') 这个weight在模型前向推理似乎没有起作用,如果我想控制修复程度,有什么建议吗?
Author
Owner

@liulipeng0538 commented on GitHub (Dec 6, 2023):

+1,同样请问

@liulipeng0538 commented on GitHub (Dec 6, 2023): +1,同样请问
Author
Owner

@leeqiaogithub commented on GitHub (May 14, 2024):

+1,same question.

@leeqiaogithub commented on GitHub (May 14, 2024): +1,same question.
Author
Owner

@Marcophono2 commented on GitHub (Mar 24, 2025):

I could imagine that this is an old (meanwhile useless) setting for the removed Codeformer.
Yes, I know, a bit late this answer. :-)

@Marcophono2 commented on GitHub (Mar 24, 2025): I could imagine that this is an old (meanwhile useless) setting for the removed Codeformer. Yes, I know, a bit late this answer. :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#412