so i have studyed your code.
it is very interesting as replication of INSWAPPER, but right now it is only distillation of inswapper. this will limit this model.
we can use this replication as initialization point for generator
we must need to use GAN architecture, because inswapper is derive from SimSwap.
We can use new SimSwapPlus architecture: https://www.scribd.com/document/784359864/SimSwap-Towards-Faster-and-High-Quality-Identity-Swapping
Inswapper original is base on simswap GAN. we can build replication with GAN of SimSwapPlus
so i have studyed your code.
it is very interesting as replication of INSWAPPER, but right now it is only distillation of inswapper. this will limit this model.
we can use this replication as initialization point for generator
we must need to use GAN architecture, because inswapper is derive from SimSwap.
We can use new SimSwapPlus architecture: https://www.scribd.com/document/784359864/SimSwap-Towards-Faster-and-High-Quality-Identity-Swapping
Inswapper original is base on simswap GAN. we can build replication with GAN of SimSwapPlus