Closed jo-dean closed 2 years ago
Please check the forward function of swapper: https://github.com/zyainfal/One-Shot-Face-Swapping-on-Megapixels/blob/edfb9c85120fb9fd32386dca1465a70694b1207c/inference/megafs.py#L417-L435 where https://github.com/zyainfal/One-Shot-Face-Swapping-on-Megapixels/blob/edfb9c85120fb9fd32386dca1465a70694b1207c/inference/inference.py#L73 which means the lower 4 latents are not used by FTM but other 14 latents are used.
thank you! It's my fault.
Hello,when i debug the inference.py, in the line
swapped_lats = self.swapper(idd_lats, att_lats)
I found the dim of idd_lats and att_lats is [1,18,512]. but in the paper,_Lshigh and _Lthigh are the input of FTM, the dim is [1,14,512],did't include the _Ltlow