wty-ustc / HairCLIP

[CVPR 2022] HairCLIP: Design Your Hair by Text and Reference Image
GNU Lesser General Public License v2.1
541 stars 68 forks source link

Add web demo & Docker environment #16

Closed chenxwh closed 2 years ago

chenxwh commented 2 years ago

Hey @wty-ustc! 👋

This pull request makes it possible to run your model inside a Docker environment, which makes it easier for other people to run it. We're using an open source tool called Cog to make this process easier.

This also means we can make a web page where other people can try out your model! View it here: https://replicate.com/wty-ustc/hairclip. You can find the docker file under the tab ‘run model with docker’. Currently we have implemented the text edit type and have integrated the latent code calculation from e4e so it is easy to just upload any customised image and change the hairstyle and color!

Do claim the page so you can own the page, customise the Example gallery as you like, push any future update to the web demo, and we'll feature it on our website and tweet about it too. You can find the 'Claim this model' button on the top of the page ~

In case you're wondering who I am, I'm from Replicate, where we're trying to make machine learning reproducible. We got frustrated that we couldn't run all the really interesting ML work being done. So, we're going round implementing models we like. 😊