stylegan2-pytorch
stylegan2-pytorch copied to clipboard
What does happen if I train with say less than 500 images
What does happen if I train with low number of images less than 500.
I need to ask this because I still dont know, the generated comes from the learning of this data, but how samples of outputs of stylegan2 show say a "source image" on the left and target images as headers, so you get new images from the style of the "source image" applied to each one of the columns.
So if the generated images comes from the learning of the data only, how can you plot this? if they are generated without me inputing the targets image?
Also been trainning with flowers dataset and trained it to 100% with stylegan2_pytorch --name sg2_0 --data '/data/oxford-102-flowers/jpg' --aug-prob 0.25 --results_dir /results --models_dir /to/models
So if I do
stylegan2_pytorch --name sg2_0 --generate
continuing from previous epoch - 0
sample images generated at ./results/sg2_0/generated-08-04-2020_10-26-54
I got this
Even that when training it generated something like this?
The first epochs it was this
But started to give something "good" at
So why generate gives this?
Hi, I came across the same problem. Have you fix this problem?
Hi, I've fixed the problem. I noticed that you used
stylegan2_pytorch --name sg2_0 --data '/data/oxford-102-flowers/jpg' --aug-prob 0.25 --results_dir /results --models_dir /to/models
to train your network, but when you generate you executed (without specifying paths):
stylegan2_pytorch --name sg2_0 --generate
It seems that the program looked for models in the default models path.
I suggest you use the command below:
stylegan2_pytorch --name sg2_0 --generate --models_dir /to/models
Oh yeah, you know what the files with -ema
and -mr
mean?.
Have you found how to generate only 1 image not the grid?
Hi, I've fixed the problem. I noticed that you used
stylegan2_pytorch --name sg2_0 --data '/data/oxford-102-flowers/jpg' --aug-prob 0.25 --results_dir /results --models_dir /to/models
to train your network, but when you generate you executed (without specifying paths):stylegan2_pytorch --name sg2_0 --generate
It seems that the program looked for models in the default models path.I suggest you use the command below:
stylegan2_pytorch --name sg2_0 --generate --models_dir /to/models
I use a combination of --load_from
and --name
, it seems to do the job
Oh yeah, you know what the files with
-ema
and-mr
mean?.Have you found how to generate only 1 image not the grid?
@tyoc213 The author had mentioned about -ema
and -mr
in another issue. -ema
means exponential moving average, and -mr
stands for mixing regularity. A more detailed explanation please refer to What does "ema" and "mr" mean in simple terms? #31
For generate only 1 image, I think you can set the parameter by --num_image_tiles 1
...