Loading weights from a lower resolution model to a higher resolution model within the same model format

Want to understand the training process better? Got tips for which model to use and when? This is the place for you


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved with Training a Faceswap model.

If you have found a bug are having issues with the Training process not working, then you should post in the Training Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
vichitra5587
Posts: 17
Joined: Fri Aug 19, 2022 5:08 am
Location: India
Has thanked: 7 times
Been thanked: 4 times

Loading weights from a lower resolution model to a higher resolution model within the same model format

Post by vichitra5587 »

Is it possible to load weights from a DNY 256 model to DNY 512 model because
when i try to do so, I get the following warning :-

09/09/2022 10:35:10 WARNING The weights for layer 'fs_dny_enc_convblk_6_1_conv2d' are of incompatible shapes. Skipping.
09/09/2022 10:35:10 WARNING The weights file 'E:\Executables\Backups\Deep Learning Labs\Disney 256\phaze_a.h5' for layer 'encoder' does not contain weights for 'fs_dny_enc_convblk_7_conv2d'. Skipping
09/09/2022 10:35:10 WARNING The weights file 'E:\Executables\Backups\Deep Learning Labs\Disney 256\phaze_a.h5' for layer 'encoder' does not contain weights for 'fs_dny_enc_convblk_7_1_conv2d'. Skipping
09/09/2022 10:35:10 WARNING 3 weight(s) were unable to be loaded for your model. This is most likely because the weights you are trying to load were trained with different settings than you have set for your current model.

09/09/2022 10:35:10 INFO Freezing weights for 'encoder' in model 'phaze_a'
09/09/2022 10:35:10 INFO Loading Trainer from Original plugin...
........
& then the training starts.

Is there a way to rectify this error & load weights from DNY 256 model to DNY 512 model ?

I was thinking of quickly completing my training in DNY 256 model & then use its weights to fast train
my DNY 512 model for higher resolution output.

Ex-Dunning Kruger-ian

User avatar
torzdf
Posts: 2681
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 133 times
Been thanked: 625 times

Re: Loading weights from a lower resolution model to a higher resolution model within the same model format

Post by torzdf »

That is "Progressive growth". It is not directly supported, no.

My word is final

Locked