SDEdit icon indicating copy to clipboard operation
SDEdit copied to clipboard

CelebA-HQ pth missing

Open ucalyptus2 opened this issue 3 years ago • 7 comments

I could not find for CelebA-HQ in https://github.com/ermongroup/SDEdit/blob/main/functions/process_data.py @junyanz

ucalyptus2 avatar Aug 29 '21 19:08 ucalyptus2

+1 I'd also love to try out the celeba model.

aferriss avatar Sep 01 '21 17:09 aferriss

Thank you for the question.

You can directly load the CelebA-HQ model by using "—config celeba.yml". However, you will need to create your own mask and image, upload the file to the "colab_demo directory", and then change "—npy_name" argument to be the name of the file. More details can be found at https://github.com/ermongroup/SDEdit/blob/main/runners/image_editing.py#L108 We are currently working on an interactive interface for creating masks and editing images.

Let me know if you have any other questions. Thank you.

chenlin9 avatar Sep 01 '21 18:09 chenlin9

@chenlin9 How can we create our own mask and image. Is it .pth file?

sorayutmild avatar Sep 08 '21 06:09 sorayutmild

I've already solved it. just using torch.save() for example. torch.save([test_mask, test_img_tensor], './colab_demo/test_image.pth')

sorayutmild avatar Sep 08 '21 13:09 sorayutmild

How can you create CelebA-HQ mask?

xinzi2018 avatar Mar 05 '22 03:03 xinzi2018

Hi, Can you supply the images from celebA you edit in the paper?

inbarhub avatar Dec 15 '22 11:12 inbarhub

@xinzi2018 Hello,do you solve this problem?

hxy-123-coder avatar May 08 '23 08:05 hxy-123-coder