Giter Club home page Giter Club logo

image_transfer's Introduction

์ด๋ฏธ์ง€์— ํ™”๊ฐ€์˜ ํ™”ํ’ ์ž…ํžˆ๊ธฐ

์œ ๋ช…ํ™”๊ฐ€์˜ ์ž‘ํ’ˆ์„ ์„ ํƒํ•˜์—ฌ, ํ•ด๋‹น ์ž‘ํ’ˆ์˜ ํ™”ํ’์œผ๋กœ ์ด๋ฏธ์ง€๋ฅผ ๋ณ€ํ™˜์‹œ์ผœ์ฃผ๋Š” ํ”„๋กœ๊ทธ๋žจ์ž…๋‹ˆ๋‹ค.

๊ธฐ๋Šฅ ์†Œ๊ฐœ

tensorflow ๋ฐ tensorflowhub - magenta/arbitrary-image-stylization-v1-256 ๋ชจ๋ธ์„ ํ™œ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€๋ฅผ ์œ ๋ช…ํ™”๊ฐ€์˜ ์ž‘ํ’ˆ์˜ ํ™”ํ’์œผ๋กœ ๋ณ€ํ™˜์‹œ์ผœ์ค€๋‹ค.

Introduce

How To Use

ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•˜์—ฌ ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•œ๋‹ค.

python style_transfer.py --content_img="./image/content/sample.png" --style_img="./image/portrait/sample_1.jpg"

ํŒŒ๋ผ๋ฏธํ„ฐ ์˜ต์…˜ ์„ค์ •

  • --content_img=[์ปจํ…์ธ  ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ]
  • --style_img=[์Šคํƒ€์ผ ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ]
  • --output_img=[๊ฒฐ๊ณผ ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ]
  • --resize_width=[๊ฒฐ๊ณผ ์ด๋ฏธ์ง€ ํฌ๊ธฐ]
  • --model=[๋ชจ๋ธ ๋ฒ„์ „]

์‹คํ–‰ ํ™˜๊ฒฝ

๋‹ค์Œ ํ™˜๊ฒฝ ๋ฐ ๋ชจ๋“ˆ์ด ์„ค์น˜๋˜์–ด์•ผ ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์–ธ์–ด

  • Python 3.8 ์ด์ƒ

์‚ฌ์šฉ ๋ชจ๋“ˆ

  • TensorFlow 2.2 ์ด์ƒ
  • TensorFlow_Hub
  • numpy
  • pillow

์ถœ์ฒ˜

image_transfer's People

Contributors

chomh96 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.