Open chilian1996 opened 5 years ago
When I run the training file, it shows as below:
File "FaceSwap_GAN_v2.2_train_test.py", line 294 global train_batchA, train_batchB ^ SyntaxError: name 'train_batchA' is used prior to global declaration
just delete the global statement if it's outside a function. Only inside-function global statements have effect.
@zikuicai thank you your solution worked
When I run the training file, it shows as below:
File "FaceSwap_GAN_v2.2_train_test.py", line 294 global train_batchA, train_batchB ^ SyntaxError: name 'train_batchA' is used prior to global declaration