Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CelebA-HQ pth missing #9

Open
ucalyptus2 opened this issue Aug 29, 2021 · 7 comments
Open

CelebA-HQ pth missing #9

ucalyptus2 opened this issue Aug 29, 2021 · 7 comments

Comments

@ucalyptus2
Copy link

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

@aferriss
Copy link

aferriss commented Sep 1, 2021

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

@chenlin9
Copy link
Collaborator

chenlin9 commented Sep 1, 2021

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.

@sorayutmild
Copy link

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

@sorayutmild
Copy link

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

@xinzi2018
Copy link

How can you create CelebA-HQ mask?

@inbarhub
Copy link

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

@hxy-123-coder
Copy link

@xinzi2018 Hello,do you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants