Add Docker environment & web demo #101

Merged
bfirsh merged 2 commits from cog into main 2021-08-30 16:04:12 +02:00
bfirsh commented 2021-08-25 02:32:09 +02:00 (Migrated from github.com)

Hey @neuralchen! 👋

Fantastic work. I had real fun playing around with your model.

This pull request makes it possible to run it inside a Docker environment, which makes it easier for other people to run. We're using an open source tool called Cog that handles all the complex stuff like Dockerfile, configuring CUDA, etc.

You can run commands inside the Docker environment:

cog run python test_one_image.py ...

Or, a prediction:

cog predict -i source=@source.jpg -i target=@target.jpg

This also means we can make a web page where other people can try out your model! View it here: https://replicate.ai/neuralchen/simswap-image

If you claim your page by signing in with GitHub, then we'll feature it on our site.

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. :)

Hey @neuralchen! 👋 Fantastic work. I had real fun playing around with your model. This pull request makes it possible to run it inside a Docker environment, which makes it easier for other people to run. We're using an open source tool called [Cog](https://github.com/replicate/cog) that handles all the complex stuff like `Dockerfile`, configuring CUDA, etc. You can run commands inside the Docker environment: cog run python test_one_image.py ... Or, a prediction: cog predict -i source=@source.jpg -i target=@target.jpg This also means we can make a web page where other people can try out your model! View it here: https://replicate.ai/neuralchen/simswap-image If you claim your page by signing in with GitHub, then we'll feature it on our site. In case you're wondering who I am, I'm from [Replicate](https://replicate.ai/home), 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. :)
neuralchen commented 2021-08-30 16:06:06 +02:00 (Migrated from github.com)

Thanks for your excellent work.
We believe that this effort can significantly improve our respository.

Thanks for your excellent work. We believe that this effort can significantly improve our respository.
bfirsh commented 2021-09-02 21:35:50 +02:00 (Migrated from github.com)

I'm so glad to hear it's helpful. 😄

You can sign in with GitHub here to claim the page so you can add more examples, a description, etc. We'll also feature it on our home page and tweet about it. :)

I'm so glad to hear it's helpful. 😄 [You can sign in with GitHub here](https://replicate.ai/login/github/?next=/neuralchen/simswap-image?published=1) to claim the page so you can add more examples, a description, etc. We'll also feature it on our home page and tweet about it. :)
zeke commented 2021-09-17 23:34:30 +02:00 (Migrated from github.com)

What's better than Robert Downey Jr? Three Robert Downey Jrs!

image

@neuralchen we'd love to feature this model on replicate.ai and tweet about it. If you're okay with that, you can claim your model here.

What's better than Robert Downey Jr? **Three** Robert Downey Jrs! ![image](https://user-images.githubusercontent.com/2289/133855825-b9066202-ba71-481e-acae-71c1ad0b11f3.png) @neuralchen we'd love to feature this model on replicate.ai and tweet about it. If you're okay with that, you can [claim your model](https://replicate.ai/login/github/?next=/neuralchen/simswap-image?published=1) here.
Sign in to join this conversation.