OpenSESAME icon indicating copy to clipboard operation
OpenSESAME copied to clipboard

how to use pre-trained ImageGeneration checkpoint or training for image-to-image translation?

Open SherryXTChen opened this issue 3 years ago • 2 comments

Thanks for your work and code.

I read your paper and it says that for the image-to-image translation task, you use your discriminator and SPADE generator. Since I couldn't find the code of the SPADE generator in this repo, I copied the corresponding code from the SPADE repo(https://github.com/NVlabs/SPADE/blob/master/models/networks/generator.py) but there some parameters that didn't appear in your option code and I am not sure how to change it so I can load your pre-trained weights in the ImageGeneration folder.

Really appreciate your time and help!

SherryXTChen avatar Feb 17 '22 02:02 SherryXTChen

Hello SherryXTChen,

For the training of layout-to-image translation we added our discriminator class to the SPADE code base. I would suggest you try the same. It should be straightforward as we used SPADE as our basis. Just copy the two classes from here to SPADE's discriminator class and change the discriminator options when running the code.

I hope this helps!

entavelis avatar Feb 17 '22 12:02 entavelis

Hello SherryXTChen,

For the training of layout-to-image translation we added our discriminator class to the SPADE code base. I would suggest you try the same. It should be straightforward as we used SPADE as our basis. Just copy the two classes from here to SPADE's discriminator class and change the discriminator options when running the code.

I hope this helps!

Thank you!

SherryXTChen avatar Feb 18 '22 04:02 SherryXTChen