Skip to content

About editing #99

Open
Open

Description

@JNash123

I can get latent code by using encoder network to invert real image, and then put it into pre-train StyleGAN2, I can get reconstruction result. It works well.
But I save this latent code as .npy and use :
python edit.py -m stylegan_celebahq -b boundaries/stylegan_celebahq_eyeglasses_boundary.npy -i MY_LATENT_CODES_FILE.npy -o results/my_image -s wp

picture is strange, like this:
000_000

Activity

  1. Jolllly-bot commented on Jul 16, 2022

    @Jolllly-bot

    Me too, did you find a working encoder? I wonder what differences cause this problem

  2. ytz123456 commented on Jul 25, 2022

    @ytz123456

    Hi @JNash123 , you can refer to #35 , the solution there works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions