Closed ytz123456 closed 1 year ago
This code is based on the pSp and I used their convention to define the source and target paths. Since our source and targets are the same in this task, I set them to the same path. In pSp they perform image-to-image between two different domains and therefore the source and target can be different. Regarding the ID loss, this is also taken from pSp's face normalization task. You are correct that this is unneeded for this task. Note that this isn't used to compute the loss and is only used for logging.
Thank you for the quick reply!
Hi @yuval-alaluf , thank you for the amazing work! It inspired me a lot. When I read your code, I found the source and target points to the same directory, thus same data. I wonder why we need source and target since they are the same? For the id loss, why we even need diff_view since it ought to be zero?