yuval-alaluf / SAM

Official Implementation for "Only a Matter of Style: Age Transformation Using a Style-Based Regression Model" (SIGGRAPH 2021) https://arxiv.org/abs/2102.02754
https://yuval-alaluf.github.io/SAM/
MIT License
632 stars 151 forks source link

Could you please share more details about PCA? #55

Closed ytz123456 closed 1 year ago

ytz123456 commented 1 year ago

Hi @yuval-alaluf , thank you for the amazing work! Regarding the PCA performed in the paper, could you please share more details? For the 5 different images in Fig.9, did you use their corresponding latent codes as a dataset (a dataset with shape [50, 512] or [50, 18, 512] in this case) and performed PCA on the dataset, or you performed PCA on each individual image (5 datasets with shape [10, 512] or [10, 18, 512] in this case), draw individual paths and then put them in the same figure? Please bear with me if I was wrong.

yuval-alaluf commented 1 year ago

If I recall correctly we performed PCA on all images together. I no longer have the code so I don't recall exactly :)

ytz123456 commented 1 year ago

Thank you for your kind reply!