XingangPan / DragGAN

Official Code for DragGAN (SIGGRAPH 2023)
https://vcai.mpi-inf.mpg.de/projects/DragGAN/
Other
35.65k stars 3.44k forks source link

question for the code of draggan? #392

Open SYSUykLin opened 1 year ago

SYSUykLin commented 1 year ago

relis, reljs = torch.where(distance < round(r1 / 512 * h))

r = round(r2 / 512 * h)

Why do I need to divide 512?