Page 1 of 1

Model will no longer train after reinstaling faceswap

Posted: Sat Aug 14, 2021 6:28 am
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.


Re: Model will no longer train after reinstaling faceswap

Posted: Sat Aug 14, 2021 9:40 am
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.