Comments (4)
- Could I use the pretrained model you provided (showing below) on several different dataset that I collected them myself.
Yes. You don't need to pretrain another model.
This model is pretrained on FFHQ, independent of the extrinsic styles, thus it can be applied to any extrinsic styles.
- I only find out stage 2 codes in pretrain_dualstylegan.py. Could you showd me codes of Stage 1 in pretrain_dualstylegan.py?
Stage 1 initializes the extrinsic style path, which I directly put in the model initialization function __init__()
:
DualStyleGAN/model/dualstylegan.py
Lines 33 to 36 in 39a9e9e
DualStyleGAN/model/dualstylegan.py
Lines 69 to 72 in 39a9e9e
- I am not understand stage1 very well from paper. In stage 1, you trained color transform blocks with style mixing FFHQ images?
The purple hair in following figure you showed it on purpose. In most cases, it is regular hair color (black, yellow, ...) when we train model in stage1, right?
Stage I only initializes the extrinsic style path to make the initialized model can naturally follow the original StyleGAN to perform color transfer.
Yes. the purple hair is just for easy visualization of color transfer. In most cases, the sampled faces have regular hair color.
- In stage 2, you mentioned you sampled z2~ from {z2,E(g(z2))}. Could I know why you do it this way instead of only z2 or E(g(z2)).
Because we want the extrinsic style path to work for both the randomly sampled latent code or latent code embeded from style image. These two kinds of latent codes have different distributions.
from dualstylegan.
Thank you for quick and clear reply.
Based on your reply, Stage 1 doesn't involve any training, am I right?
from dualstylegan.
Yes. No training is required.
from dualstylegan.
Thank you for answering
from dualstylegan.
Related Issues (20)
- 我想使用生成的风格图像进行风格迁移,应该如何操作呢? HOT 1
- Why " W+ " encoder giving fully different style transformation ? HOT 23
- How to use this code in mac OS and building in IOS Device ? HOT 1
- 卡通化的人物可以保留人物的真实感吗? HOT 1
- Why dose the destylization process work? HOT 3
- 灌篮高手风格模型 HOT 1
- """Add --wplus in style_transfer.py to use original w+ pSp encoder rather than z+.""" integrate in demo of Hf spaces HOT 3
- Toon images HOT 2
- integrate stable diffusion pretrained models
- How is this picture drawn? HOT 1
- Memory issue while toonifying the image using "VToonify" but not while style transfering the image using "DualStyleGAN" why ?
- AttributeError: module 'model.stylegan' has no attribute 'lpips' HOT 1
- RuntimeError: mat1 dim 1 must match mat2 dim 0 HOT 1
- RuntimeError: input must be contiguous HOT 2
- pre-train ConditionalDiscriminator HOT 1
- 生成图片的脖子有痕迹 HOT 1
- Error occured when pretraining dualstylegan HOT 2
- Train with w-plus pSp encoder. HOT 2
- the gpu memory usage of finetuning dualstylegan on 8 gpus HOT 2
- Apart from Human images
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 dualstylegan.