pbaylies / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
740 stars 180 forks source link

Encoding process stops too early #43

Closed jkyndir closed 4 years ago

jkyndir commented 4 years ago

Sorry if this seems to be a stupid question. I'm running this project in google colab. When encode_images.py is running, it always stops at about 20 iterations even though I set it to run 200 iterations. This is the command I used: !python encode_images.py --batch_size=2 --output_video=True --load_resnet='data/finetuned_resnet.h5' --lr=0.01 --decay_rate=0.2 --iterations=200 --use_l1_penalty=0.1 aligned_images/ generated_images/ latent_representations/

jkyndir commented 4 years ago

So I kinda figured it out. I set the --early_stopping==False. Then it runs until reaching the pre-set iteration limit. Sorry for asking stupid questions.