matlab-deep-learning / pix2pix

Image to Image Translation Using Generative Adversarial Networks
Other
30 stars 12 forks source link

training a previously trained network #20

Open swestland opened 2 years ago

swestland commented 2 years ago

I notice that one of the options is

options.ResumeFrom

which makes me think that we can train the network for say 100 epochs and test it, and then save it for say another 100 epochs. This would be very useful. But what form does options.ResumeFrom take?

Steve

justinpinkney commented 2 years ago

Should be a file path to a checkpoint file:

https://github.com/matlab-deep-learning/pix2pix/blob/dec1f666edf0858acee990701ea601376f756435/code/%2Bp2p/trainingOptions.m#L28-L29

By default checkpoints are written to ./checkpoints