GithubHelp home page GithubHelp logo

Comments (8)

ShenYujun avatar ShenYujun commented on July 16, 2024

It is simply a classification model based on ResNet.

from interfacegan.

xiaohaipeng avatar xiaohaipeng commented on July 16, 2024

i trained a classification on resnet with FFHQ dataset,for age attribute, i label persons younger than 10 years old with 0,and older than 10 years old with1.When training svm with 100k synthesized images, valid accuracy and all accuracy are very closed,94.6% for age,higher than data in your paper,but manipulation results are not as good as using your age_boundary, what is your advice?

from interfacegan.

ShenYujun avatar ShenYujun commented on July 16, 2024

How much data have you synthesized for boundary searching? Also, which latent space do you use? I would recommend generating more than 500K images and then only use those with high confidence scores for boundary searching. Also, W space works better than Z space from the manipulation aspect.

from interfacegan.

xiaohaipeng avatar xiaohaipeng commented on July 16, 2024

i synthesized 100k images,and used 5600positive 5600negative for svm boundary search.The latent space i used is w space.The most different from your paper is that your valid accurary and all accuracy are not closed, a little strange.And what do you think of the value of stylegan in face attribute manipulation,can do better ?

from interfacegan.

ShenYujun avatar ShenYujun commented on July 16, 2024

Then it should work! Our attribute model is trained on CelebA dataset, which may not be that accurate since the attribute classification is not the main part we focus on. However, even with an imperfect attribute model, we can still find a good boundary.

My gut feeling is that only labeling children as positive samples may be the problem? I actually have no idea how many child images are there in FFHQ dataset. And the boundary that separates children from adults may not correspond to age semantic in real sense. Sorry, but I really don't know what reason causes your problem.

from interfacegan.

imlixinyang avatar imlixinyang commented on July 16, 2024

I have a question about the classifier, too. So the training of the classifier use the binary cross entropy, right? How to get the score? Did you just use the output without the sigmoid layer?

from interfacegan.

xiaohaipeng avatar xiaohaipeng commented on July 16, 2024

for two classes,use full connected with softmax to output a 2-d vector,then you can use the larger one as score

from interfacegan.

imlixinyang avatar imlixinyang commented on July 16, 2024

ok, I get it, thank you very much!

from interfacegan.

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.