Closed jweihe closed 2 years ago
Do you have the pytorch version of this part? I don't quite understand the author's approach
The pretrained face segmentation model is here. I attatch the link in the Localized channels section.
The gradient computation takes time. It also takes me around 40 mins per image since the stylegan2 in 1024x1024 is very big. I use many gpu to compute the gradient. Each gpu will be assigned with 4 images. You can change this parameter.
I have torch version of codes for single channel manipulation in S space. But I dont have gradient computation codes for torch version.
thank you,I have implemented the code myself~
thank you,I have implemented the code myself~
Can you share your pytorch code ?
thank you,I have implemented the code myself~ Can you share your pytorch code ?
We implement the single channel manipulation in torch, pls take a look of here.
We implement the single channel manipulation in torch, pls take a look of here. thank you!
By the way, zongze, can you share your pretrained face segmentation model? @betterze And, how about the speed of gradient computation (I see that you use 1K images to compute gradient)? I find in my experiments, the speed of only an image using your code is very slow... (maybe 1 image need 40 minutes), thus do you have any ways to speed it up?
Originally posted by @sunpeng1996 in https://github.com/betterze/StyleSpace/issues/4#issuecomment-826317931