Comments (5)
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.
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.
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.
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.
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)
- Scaling the unit covariance gaussian to the PCA space HOT 1
- Missing module 'custom_layers' HOT 2
- Data files HOT 1
- Save button functionality
- Requirements HOT 1
- Replacing Humans with Animals for a Cursed Image Generator
- How do you use a custom training data set?
- Save and load slider values on the web from a location hash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faceeditor.