Git Product home page Git Product logo

Comments (3)

alcanunsal avatar alcanunsal commented on May 22, 2024 3

Thanks a lot for the responses, @AlexanderGroshev , they helped a lot!
I have another question in mind about the dataset. In the parameters in train.py, we have --vgg, --same_person and --same_identity. I would like to train using a combination of VGGFace2, CelebAHQ and FFHQ datasets. Should I have --vgg parameter True? If so, how did you obtain the --same_person and --same_identity parameters? Are these statistics about the dataset you used or some probability you set yourself in order to perform swap with same target and source images during training? Thanks in advance

from ghost.

AlexanderGroshev avatar AlexanderGroshev commented on May 22, 2024 2

Hi, @alcanunsal, sorry for the late response!

We trained model in 2 steps. For first step we did not use eye loss and set other weights as follows: weight_adv 1 --weight_attr 10 --weight_id 15 --weight_rec 10 . For second training part we changed identity loss weight to 70 and set eye loss as --weight_eyes 1200. To make source person attributes stronger you should increase weights for id and eye losses.
We trained the model for 8 epochs and 2 epochs, respectively.

from ghost.

LyazS avatar LyazS commented on May 22, 2024

@AlexanderGroshev could u please tell me the train time? I set batch size=32 and run on V100, it takes 16 hours for one epoch. 8+2=10 epochs mean that it will take 6 days to finish.
I'd really appreciate it if u can upload training logs.

from ghost.

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.