a312863063 / SimSwapHD

Reimplement of SimSwap training code
Other
171 stars 47 forks source link

NameError: name 'img_id' is not defined #20

Closed netrunner-exe closed 2 years ago

netrunner-exe commented 2 years ago
Traceback (most recent call last):
  File "test_video_swapsingle.py", line 72, in <module>
    no_simswaplogo=opt.no_simswaplogo,use_mask=opt.use_mask, name=opt.name)
  File "/content/SimSwap-train/util/videoswap.py", line 82, in video_swap
    swap_result = swap_model(img_id, input_norm, id_vetor, None)[0]
NameError: name 'img_id' is not defined
a312863063 commented 2 years ago

Hi, I'm sorry I uploaded a wrong version. I fixed it and update the Readme.md. Thank you!