Increasing GAN size, lesson 7

In lesson 7 when setting the size of our data, the text says “We’ll begin with a small side and use gradual resizing.” .How does that gradual resizing operate?
I’ve been able to generate decent images with the default 64x64 size, I’d like to scale up to 128x128. Can I somehow append layers to the existing network and keep the old weights? Basically hack together a pro-GAN?

Thank you in advance!

iirc he’s talking about gradually increasing the sizes of the images as he’s talked about in previous lessons.

you get to the point that your network is getting close to overfitting and then create a new databunch with larger images and train some more. at that point it’s like transfer learning on new data with a pre-trained network. you don’t change the size of the net at all.

if you go back and have a look at the lesson again you should find that’s what he’s doing.


Thanks for your reply! The issue is that with GANs the image size is baked into the network when you create the basic_critic and basic_generator The number of layers is a function of image size. Passing data with a different image size then kicks up an error.

i don’t see any gradual resizing in lesson 7 or in the notes.