SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

Is model.netArc defined in your released version?

Open B-1368 opened this issue 3 years ago • 1 comments
trafficstars

In the training process, we will only get net_G and net_D. However, when testing it seems another model is required. L57 of test_one_image.py is latend_id = model.netArc(img_id_downsample), but model.netArc is loaded from arcface_checkpoint.tar you share. I cannot find any definition about the model architecture of that. So is it defined in this repo? If not, will you release the architecture? Thanks!

B-1368 avatar Jul 11 '22 22:07 B-1368

This is an interesting question that I'm interested in. While I'm not the author, I believe this checkpoint was trained on a similar network related to pix2pixHD (or some other image to image translation). The part of the code you are referring to is heavily referenced from here, which is probably how this network was trained.

ExponentialML avatar Jul 14 '22 02:07 ExponentialML