Code Monkey home page Code Monkey logo

Comments (4)

cassiePython avatar cassiePython commented on August 28, 2024

Hi, thank you for your work!

I like your approach with fixing the same style space for different domains and would have liked to reproduce it. So I want to be sure about what exactly was your approach.

To keep the latent consistency across all generators, we freeze the network layers relevant to latent embedding. To be specific, since we use the style space 𝒮, all style convolution layers and tRGB layers, Menglei: i.e., the affine transformation layers, are fixed during the finetuning.

Hence, all the affine layers are freezed together with all tRGB layers?

 Besides that, we use exactly the same loss functions and hyper-parameters as in StyleGAN2

Would it affect the result if stylegan-ada is used for finetuning a new model?

Looking forward to hearing from you!

  1. For fixed layers: You are right. If you want to reproduce the results, please adopt the training technique of FreezeG (https://github.com/bryandlee/FreezeG/blob/master/stylegan2/train.py). These layers are fixed during updating the discriminator.
  2. For StyleGAN-Ada: I haven't tried StyleGAN-Ada, but I think it can replace StyleGAN2 in our work and I recommend to use it for Data Preparation(Step 0) to make the latent space consistency.

Thanks.

from cddfm3d.

backpass avatar backpass commented on August 28, 2024

@cassiePython Thank you for your answer!

  1. I haven't run into this approach yet, do you mean freezing only specific layers for discriminator update as in this line? Which layers have you frozen?
  2. What do you mean by Data Preparation?

Thanks in advance.

from cddfm3d.

cassiePython avatar cassiePython commented on August 28, 2024

@backpass

  1. Yes. Freezing the layers that transfer W+ Space to StyleSpace (You can find these layers through reading code in 'stylegan2-pytorch/model.py' ) while updating the discriminator.
  2. Please refer to '1. Data Preparation' in Readme.

from cddfm3d.

backpass avatar backpass commented on August 28, 2024

Thank you!

from cddfm3d.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.