shaoanlu / faceswap-GAN

A denoising autoencoder + adversarial losses and attention mechanisms for face swapping.
3.39k stars 841 forks source link

AsserstionError #177

Open varunp2k opened 3 years ago

varunp2k commented 3 years ago

'''' AssertionError Traceback (most recent call last)

in () 14 15 model.build_pl_model(vggface_model=vggface, before_activ=loss_config["PL_before_activ"]) ---> 16 model.build_train_functions(loss_weights=loss_weights, **loss_config) 2 frames /usr/local/lib/python3.7/dist-packages/keras/legacy/interfaces.py in get_updates_arg_preprocessing(args, kwargs) 652 kwargs['params'] = params 653 return [opt], kwargs, [] --> 654 elif len(args) == 3: 655 if isinstance(args[1], (list, tuple)): 656 assert isinstance(args[2], dict) AssertionError: '''