Git Product home page Git Product logo

Comments (5)

HackerPoet avatar HackerPoet commented on July 24, 2024

There's a couple options:

One way is to simply use an auto-encoder rather than an embedding layer as the encoder part. I've tried it and it works about as well as the embedding, but it's twice as slow to train since you need the encoder and decoder in the network.

The other option is to just make another CNN that learns to directly map the faces to the latent space after the embedding was already trained. This means you don't have to retrain the generator side, but I don't know how accurate that mapping would be...

from faceeditor.

florian-hoenicke avatar florian-hoenicke commented on July 24, 2024

Thanks a lot for your response.
This is really interesting. I will try to implement the autoencoder as well.
Your data generator creates noisy images and stores it in x_data. Why were you creating these pictures? Has it something to do with the autoencoder you implemented before?
Greetings Florian

from faceeditor.

HackerPoet avatar HackerPoet commented on July 24, 2024

I'm not sure if I understand the question, but no, an autoencoder is not required. The latent space is only noisy during initialization. Once the network starts training, those vectors start moving to their optimal locations in the latent space (that's what the embedding layer does).

from faceeditor.

florian-hoenicke avatar florian-hoenicke commented on July 24, 2024

There is a file named "datagen.py" which creates a file "x_data.npy".
x_data.npy contains the detected edges of the training images.
I was wondering why this is created, since it is not used by the encoder.py.

from faceeditor.

HackerPoet avatar HackerPoet commented on July 24, 2024

Oh sorry. 'x_data' is actually used for DeepDoodle since both projects share that file "datagen.py". You can ignore it for this project, its not used. If you want to try an auto-encoder, the input and output are both y_train.

from faceeditor.

Related Issues (9)

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.