Unofficial Implementation of DragGAN - "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold" (DragGAN 全功能实现,在线Demo,本地部署试用,代码、模型已全部开源,支持Windows, macOS, Linux)
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
SYSUykLin opened this issue 10 months ago · comments
I note that the drag_gan function at draggan.py have a parameter "mask", and it did not use.
And # if mask is not None: # loss += ((F - F0) * (1 - mask)).abs().mean() * lam has been mask“#”
# if mask is not None: # loss += ((F - F0) * (1 - mask)).abs().mean() * lam