Skip to content

edit_one_image function #2

@zerojin0603

Description

@zerojin0603

Hello,

Thank you for sharing the code. I have a question regarding the edit_one_image function for makeup transfer.

Based on the instructions provided, it seems that running the command:
python main.py --edit_one_image_MT --config celeba.yml --exp ./runs/test --n_iter 1 --t_0 60 --n_inv_step 20 --n_train_step 6 --n_test_step 6 --img_path {IMG_PATH} --model_path {MODEL_PATH}
should generate an adversarial makeup image for the file specified in {IMG_PATH}.
However, after reviewing & running the implementation, I couldn’t find where the adversarial optimization is carried out within the edit_one_image function.

Am I misunderstanding the purpose of the edit_one_image function, or is it not intended to generate an adversarial makeup image? If it’s not, could you please advise on how I might apply your method to my custom dataset?

Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions