Model will no longer train after reinstaling faceswap

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here


Forum rules

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

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

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

Locked
User avatar
Nightwatch
Posts: 5
Joined: Wed May 06, 2020 2:38 pm

Model will no longer train after reinstaling faceswap

Post by Nightwatch »

I have recently re-installed Windows and Facewap on my computer (No, I have not made any hardware changes regarding GPU or CPU), and now all of old models refuse to train, nor will loading weights from existing models into new models, giving the error:

Code: Select all

TypeError: __init__() got an unexpected keyword argument 'ragged'

. I've attached the resultant crash log to this post.

Attachments
crash_report.2021.08.14.160013771200.log
(43.19 KiB) Downloaded 237 times
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Model will no longer train after reinstaling faceswap

Post by torzdf »

This error happens when a model is trained with tf.keras and you attempt to load it in Keras. As AMD cards do not use tf.Keras, I can only assume that this model was created on an Nvidia card or on CPU and you are now attempting to load it on to an AMD device.

My word is final

Locked