Giter Site home page Giter Site logo

python train_encoder.py about idinvert HOT 9 OPEN

genforce avatar genforce commented on August 13, 2024
python train_encoder.py

from idinvert.

Comments (9)

ShenYujun avatar ShenYujun commented on August 13, 2024

When training the encoder, we do not need progressive training. So, you should only specify one file for the dataset (i.e., the one with the highest resolution) instead of a directory of datasets from all resolutions.

from idinvert.

leoffx avatar leoffx commented on August 13, 2024

It would be nice if this was added to the README. Also adding information about using the dataset_tool.py could be useful for people who never used StyleGAN before.

from idinvert.

ShenYujun avatar ShenYujun commented on August 13, 2024

Good suggestion! We will update the README soon. Thanks!

from idinvert.

bigorange-1 avatar bigorange-1 commented on August 13, 2024

Thanks for your great job. Recently, i am reading your code. However, i am struggling in a problem. Why not fix the discriminator “D” while training the encoder “E”? Because, from what I understand, I found, that the generator “G” is fixed. But why, the subsequent discriminator “D” can be updated? Can you help me ?

from idinvert.

zhujiapeng avatar zhujiapeng commented on August 13, 2024

Because the image output from the G is dynamically changing i.e., from the initial reconstruction to good reconstruction. Hence, the D needs to be updated.

from idinvert.

bigorange-1 avatar bigorange-1 commented on August 13, 2024

So, we can still see the training process of D and E as adversarial trainingg, is it right?

from idinvert.

zhujiapeng avatar zhujiapeng commented on August 13, 2024

Yes.

from idinvert.

bigorange-1 avatar bigorange-1 commented on August 13, 2024

Thank you very much.

from idinvert.

bigorange-1 avatar bigorange-1 commented on August 13, 2024

Hello, I have another question. In perceptual_model.py,i saw that you used VGG16. However, i can't find any training about it. Don’t we need to fine-tune it when we use it? Will directly using the officially provided pre-trained weights have an impact on our results? Or maybe I'm wrong. Missing some key information in your code?Could you tell me? Thank you.

from idinvert.

Related Issues (20)

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.