Skip to content

ainize-team/ainize-run-style-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ainize-run-style-transfer

Run on Ainize

Docker build

docker build -t style-transfer .

Docker run

docker run -t style-transfer

How to request using cURL

First of all, you should download sample-base-image.jpg and sample-style-image.jpg.

  1. Try on ainized sample service
curl -X POST "https://master-ainize-run-style-transfer-ainize-team.endpoint.ainize.ai/transfer" -H "accept: images/*" -H "Content-Type: multipart/form-data" -F "[email protected];type=image/jpeg" -F "[email protected];type=image/jpeg" -o result.jpg
  1. Try on your localhost
curl -X POST "http://localhost:80/transfer" -H "accept: images/*" -H "Content-Type: multipart/form-data" -F "[email protected];type=image/jpeg" -F "[email protected];type=image/jpeg" -o localhost-result.jpg

References

  1. Neural style transfer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published