pbaylies / stylegan-encoder

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

Update align_images.py #12

Closed shawwn closed 5 years ago

shawwn commented 5 years ago

I was running into some exceptions when aligning images. This PR removes the try/except and adds some console output.

pbaylies commented 5 years ago

The try / except is there so that the alignment step doesn't get stopped by a rogue bad image. More verbosity and checking is fine, but the script still needs to not die in case of failure!