forked from Puzer/stylegan-encoder
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
Thanks for sharing this work.
Got a questing regarding this line
| preprocessed_images = (preprocessed_images - drange[0]) * ((drange[1] - drange[0]) / 255) + drange[0] |
I guess the purpose is to normalize reference image to [-1,1] because the discriminator requires it. The bug described in
| # ("+ drange[0]" at the end is a fix of a bug in tflib.convert_images_from_uint8()) |
generator_output_tensor, not generated_image_tensor is fed into the discriminator, as specified in | return generator_output_tensor |
preprocessed_images * ((drange[1] - drange[0]) / 255) + drange[0].
Please correct me if I miss something else.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels