All Projects → puneet29 → stylizeapp

puneet29 / stylizeapp

Licence: LGPL-3.0 License
A flask website for style transfer

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to stylizeapp

Neural-Tile
A better tiling script for Neural-Style
Stars: ✭ 35 (+2.94%)
Mutual labels:  transfer, style
Neural Tools
Tools made for usage alongside artistic style transfer projects
Stars: ✭ 150 (+341.18%)
Mutual labels:  transfer, style
bert experimental
code and supplementary materials for a series of Medium articles about the BERT model
Stars: ✭ 72 (+111.76%)
Mutual labels:  deeplearning
qaffeine
Decaffeinate your JS-powered CSS stylesheets
Stars: ✭ 22 (-35.29%)
Mutual labels:  style
SESR
SESR: Single Image Super Resolution with Recursive Squeeze and Excitation Networks
Stars: ✭ 26 (-23.53%)
Mutual labels:  deeplearning
MTMT
Code for the CVPR 2020 paper "A Multi-task Mean Teacher for Semi-supervised Shadow Detection"
Stars: ✭ 66 (+94.12%)
Mutual labels:  deeplearning
coursera-ai-for-medicine-specialization
Programming assignments, labs and quizzes from all courses in the Coursera AI for Medicine Specialization offered by deeplearning.ai
Stars: ✭ 80 (+135.29%)
Mutual labels:  deeplearning
terminal-style
🎨 Return your terminal message in style! Change the text style, text color and text background color from the terminal, console or shell interface with ANSI color codes. Support for Laravel and Composer.
Stars: ✭ 16 (-52.94%)
Mutual labels:  style
deeptrolldetector
Deep troll uses a deep learning model that identifies whether an audio contains the Gemidao troll (AAAWN OOOWN NHAAA AWWWWN AAAAAH).
Stars: ✭ 20 (-41.18%)
Mutual labels:  deeplearning
EasyFileTransfer
An easy way to transfer file with any size on network with tcp protocol.
Stars: ✭ 30 (-11.76%)
Mutual labels:  transfer
prettype
An easy to use text stylizer for your desktop!
Stars: ✭ 14 (-58.82%)
Mutual labels:  style
svelte-style-directive
A custom Svelte preprocessor to add support for style directive.
Stars: ✭ 19 (-44.12%)
Mutual labels:  style
react-cx
Combine styles from CSS Modules with a `cx` prop.
Stars: ✭ 24 (-29.41%)
Mutual labels:  style
Satellite-Image-Forgery-Detection-and-Localization
No description or website provided.
Stars: ✭ 17 (-50%)
Mutual labels:  deeplearning
HandySub
Download Subtitle from Subscene and other sources
Stars: ✭ 42 (+23.53%)
Mutual labels:  style
deep-improvisation
Easy-to-use Deep LSTM Neural Network to generate song sounds like containing improvisation.
Stars: ✭ 53 (+55.88%)
Mutual labels:  deeplearning
illuminate
Yii2 to Laravel Migration Package
Stars: ✭ 71 (+108.82%)
Mutual labels:  transfer
dnd
A web based drag and drop file transfer tool for sending files across the internet.
Stars: ✭ 18 (-47.06%)
Mutual labels:  transfer
dd performances
DeepDetect performance sheet
Stars: ✭ 92 (+170.59%)
Mutual labels:  deeplearning
ML4Sec-papers
Research papers on ML for security
Stars: ✭ 27 (-20.59%)
Mutual labels:  deeplearning

Style Transfer Website

A website that applies artistic styles to your photo. Based on the Artistic Style Transfer using Neural Networks. This project is an extension of Style transfer app

Live at bit.ly/stylizeapp

Hosted using AWS EC2, AWS S3, Gunicorn and Flask.

Architecture

AWS Architecture

Quick Start

Running locally

  1. Clone the repository

    git clone https://github.com/puneet29/stylizeapp.git
    cd stylizeapp
  2. Create new virtual environment

    • On windows:

      py -3 -m venv venv
    • On Linux:

      python3 -m venv venv
  3. Activate virtual environment

    • On windows:

      venv\Scripts\activate
    • On Linux:

      . venv/bin/activate
  4. Install all the dependencies

    pip3 install -r requirements
  5. Change the secret key in __init__.py at #19. Replace os.urandom(24) with actual bytes value.

  6. Run Web App

    gunicorn -w 4 -t 600 __init__:app

Running on server

Follow the same procedure, except 6th step. While running webapp we want the process to be daemonized, so that it runs in the background. For that:

  • Run Web App

    gunicorn -b 0.0.0.0:80 -w 4 -t 600 __init__:app -D

We bind our application to all HTTP IPv4 addresses on the server using 0.0.0.0:80 and run 4 gunicorn processes that serve our application. The timeout for each gunicorn worker is set to 600 seconds, to account for 10 min delay during uploading process. -D option daemonizes the process.

Refer to this medium article on how I built this app. Also refer to this gist on how to setup an AWS EC2 instance.

Libraries used

  • Pytorch
  • Flask
  • Scipy
  • Gunicorn
  • Boto3
  • Beautiful Soup 4
  • Requests

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].