Giter Club home page Giter Club logo

Comments (7)

aferriss avatar aferriss commented on May 21, 2024

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

from sdedit.

chenlin9 avatar chenlin9 commented on May 21, 2024

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.

from sdedit.

sorayutmild avatar sorayutmild commented on May 21, 2024

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

from sdedit.

sorayutmild avatar sorayutmild commented on May 21, 2024

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

from sdedit.

xinzi2018 avatar xinzi2018 commented on May 21, 2024

How can you create CelebA-HQ mask?

from sdedit.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.