Giter VIP home page Giter VIP logo

neural-style-azure's Introduction

neural-style-azure

This is a docker wrapper of a tensorflow implementation with azure storage connection of several techniques described in the papers:

the main goal of project is to create a docker container running on a gpu host that connects itself to an azure storage queue waiting for new jobs. If there is a new job it will download all needed images from an azure storage blob storage and uses the jobs transformation parameter to create the neural style image. It will create two images. the first uses the colors of the style image. the seconds uses the color of the original image. both results are then uploaded to another azure blob storage. With this approach you can run several pysical nvidia gpu machines (or azure n-series gpu machines) to create a whole cluster to process batch neural style transformations.

Requirements

for host computer

  • nvidia drivers
  • nvidia cuda
  • nvidia docker
  • docker

for running the container

Setup Host

detailed instructions to setup a host environment How to setup the host

Run the conainer

Important!!! Make sure the environment variable "AzureStorageConnectionString" contains the connection string for the required azure storage account

There are two possibilities how to start up the container

1. using docker command

you can use the nvidia-docker command to start up the container. the image is available on public host sbetzin/neural-style-tensorflow

sudo nvidia-docker run -d -e AzureStorageConnectionString --name neural-style-tensorflow --restart=unless-stopped  sbetzin/neural-style-tensorflow

this command downloads the image from the public repository and starts it as deamon (-d --restart=unless-stopped)

2. clone repository and use make

if you downloaded this repository as described in the setup host instructions then you can just change to the docer repository

cd neural-style-azure/docker/neural-style-tensorflow-docker

and then just start it with

sudo make start

please note that the make file has other commands as well.

neural-style-azure's People

Contributors

sbetzin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cagan22

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.