Comments (2)
If I understood your question correctly ..
The goal is to not have diverse initialization but to show that an algorithm that is robust to the initialization and local-minima can find better solutions.
Adam has a nice property of letting you optimize a single sample. However, Adam is greatly affected by the initialization of latent variable z and therefore it's beneficial to do batched-optimization regardless and take the argmax_zs L(G(zs), y) where zs is the batch of latent variables z.
A more initialization-robust alternative is to use BasinCma/CMA. CMA-based algorithms are natively a batched es-optimizers. The optimizer will update the sampling distribution with the evaluation from the batched-candidates. Resample candidates from the updated distribution and repeat.
In the end, it boils down to what you care about. Speed vs quality of fit.
Adam: very fast + mediocre fit (allows you to optimize with any number of batch-size)
CMA: fast + decent fit (no backward pass required / fixed batch optimization)
BasinCMA: slow + great fit (backward pass required / fixed batch optimization)
from pix2latent.
Thank you for the kind explanation.
That's a perfect explanation.
from pix2latent.
Related Issues (9)
- PerceptualLoss broken HOT 1
- can't fine result using encoder network HOT 2
- Nevergrad vs. HybridNevergrad HOT 2
- Fine-tuning the weights of generative model? HOT 2
- Can't replicate the Face STYLEGAN FFHQ example HOT 1
- remove_spectral_norm?
- NameError: name 'mask' is not defined
- how to apply to images sized 256x256 /stylegan2
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 pix2latent.