Skip to content

stapin/style-transfer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Overview

This project implements Neural Algorithm of Artistic Style using pytorch framework according to this guide and wraps it into telegram bot. The algorithm takes two images and generates a new image with content like the first image and style like the second.

There are several examples of how the algorithm works.

Content Image Style Image Result

2. Installation

Prerequisites

  • docker engine / docker desktop
  • git

Installation for CPU oriented model

  1. In terminal write: git clone https://github.com/stapin/style-transfer-bot.git
  2. Change TG_BOT_TOKEN env variable in Dockerfile to your telegram bot token gotten form BotFather
  3. Run in the root of the project this commands:
    1. docker build -t style_transfer_app .
    2. docker run --rm -d style_transfer_app

Installation for GPU oriented model

coming soon...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published