Comments (10)
Those are both w+, all truncation does is pull it more towards the center of the distribution.
from stylegan-encoder.
I'm not quite sure what you're proposing, but I'm welcome to proofs of concept or code! The resnet is mainly used to provide an estimate of the latents as a starting point for encoding.
from stylegan-encoder.
i mean after you have an estimate of the latents,connect the resnet and genarator , finetune resnet to get the best latents.
and i find after optimize the latent,generated-image looks blurry compared to the image generated by stylegan,does loss function lead to the effect?
from stylegan-encoder.
You could try that, but you'd just end up with a resnet model that's fine-tuned for a single image.
from stylegan-encoder.
@pbaylies line 125 in perceptual_model.py,why sess.run([self.features_weight.initializer, self.features_weight.initializer]) twice?
from stylegan-encoder.
For better or for worse, this was in @Puzer's original code as well.
from stylegan-encoder.
@pbaylies and i also want you help me make sure some details about stylegan:for images of1024 size,the w space is of[batchsize,18,512],after truncation ,get w+space of the same shape,how different of the two spaces?
from stylegan-encoder.
and,why do you use L1 loss on vgg features but use L2 loss on image pixels?what is your considerations when you design the five losses?
from stylegan-encoder.
Trial and error :)
from stylegan-encoder.
haha,you must try much losses.and images generated by stylegan always have defects or flaws,what reason do you think cause that?
from stylegan-encoder.
Related Issues (20)
- Trianing error about launch failed
- Error running encode_images.py on Colab HOT 2
- Error while running encode_images.py #41
- google drive exceeded encode_images.py
- Two bugs found HOT 2
- AttributeError: module 'tensorflow' has no attribute 'Dimension' HOT 2
- Face Alignment results in exception error
- Compatibility with pretrained stylegan2 model? HOT 7
- train encoder directly HOT 1
- requirements.txt empty and compatibility issues HOT 1
- assert img.shape == self.shape Assertion Error HOT 6
- How to interpolate a one region of two faces? HOT 1
- Why can't we find the vector Z and have to use W ? HOT 2
- runing StyleGAN_Encoder sehape error HOT 2
- Weird error, how do I fix it???'
- Why requirments.txt is empty HOT 1
- Getting error while run the 'encode_images.py' file
- 'latent_training_data' is no longer available HOT 1
- PreTrained Model HOT 1
- tf compatibility issue
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 stylegan-encoder.