Closed gopowerrangers closed 6 years ago
The weights files are not compatible with deepfakes’. But it will overwrite encoder.h5 in ./models once it starts trainung.
A quick solution is to set use_mixup=False
in config., this will use slightly different objective functions during training. Regarding the error, I think it has something to do with math operations on tensors (perhaps the lam
or real_A
variable). You can call netGA.summary() to see what exactly input_8 tensor is. Which version is your tensorflow/keras?
I followed the FaceSwap_GAN_github notebook pretty closely. I was able to install all the packages expect dlib, which I believe we don't need for training.
I have two issues: 1) During "Load Models" it is throwing an error, saying that the model input has 7 layers but expects 8. I just copied over my fakeapp model. I moved on because I assumed that the program would create a new model later on. 2) During the
loss_DA, loss_GA = define_loss(netDA, real_A, fake_A, vggface_feat)
function, I am getting the following error stack. I would love some feedback, I am fairly new to all of this.`--------------------------------------------------------------------------- TypeError Traceback (most recent call last)