StyleGAN-Tensorflow icon indicating copy to clipboard operation
StyleGAN-Tensorflow copied to clipboard

draw_uncurated_result_figure return different colors

Open nbl7 opened this issue 5 years ago • 3 comments

Hello, and thanks for sharing this amazing repo.

I am having an issue while I try to generate images with draw_uncurated_result_figure

post_process_generator_output return images that seems overexposed.

Do you know why this is happening?

During the training the image generated are fine. It gets the correct color. But when I draw the colors are all incorrect.

Thanks a lot

test_fake_img_128_99_589

nbl7 avatar Aug 15 '19 15:08 nbl7

I should mention that I stopped the training and I am trying to draw on an intermediate checkpoint. Could that be the issue?

Thank you

nbl7 avatar Aug 16 '19 10:08 nbl7

Ok, yes. It seems the "problem" is that the checkpoint is at 64px while the final training should be a 128px.

If I change

images = self.sess.run(self.generator(latents, alpha=alpha, target_img_size=self.img_size, is_training=False))

to

images = self.sess.run(self.generator(latents, alpha=alpha, target_img_size=64, is_training=False))

it works.

Is there a way to know at what resolution is the checkpoint loaded?

Thanks!

nbl7 avatar Aug 16 '19 11:08 nbl7

Was this ever solved? THanks man!

I thought when the output written in current res is the current output of the images but it seems that it isnt. When will it reach the target resolution?

rrquizon1 avatar Sep 01 '20 09:09 rrquizon1