bkyan

bkyan / StyleThief / 0.2.13

StyleThief (Open Source)

Royalty Free API Calls - 16,064
Anish Athalye's Neural Style Transfer Using TensorFlow
Language
Python 2.x
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This algorithm uses advanced GPU features.

Run an Example

Input
Output
"Output File Created: default_output.jpg\n\nClick on the Data link of the main Algorithmia navigation, and then look for the bkyan/StyleThief folder within the Algorithm Data section.  The output file will appear in that folder."

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run bkyan/StyleThief/0.2.13 -d '{  
   "source" : "data://bkyan/StyleThief/default_content.jpg",
   "style" : "data://bkyan/StyleThief/default_style.jpg",
   "output" : "default_output.jpg",
   "iterations" : 800,
   "style_layer_weight_exp" : 1,
   "content_weight_blend" : 1,
   "initial_image" : 0,
   "pooling" : "max",
   "preserve_colors" : 0,
   "style_weight" : 500,
   "content_weight" : 5,
   "tv_weight" : 100,
   "learning_rate" : 10,
   "log_channel" : "",
   "log_interval" : 25
}
' --timeout 300
  
CLI Docs