betterze / StyleSpace

StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation
309 stars 34 forks source link

About test with my own W #21

Open Byronliang8 opened 2 years ago

Byronliang8 commented 2 years ago

Hi Betterze,

I want to say it is a great work, but I want to know how to test with my own W. Could you share with me the code on how to input my own W?

Best

Byronliang8 commented 2 years ago

I have solved this problem now.

It can use latents=np.load('xx.npy').reshape(1,18,512) M.dlatents=M.W2S(latents)

betterze commented 2 years ago

@Byronliang8 Thanks the great answer.