bkyan / StyleThief / 0.2.13

StyleThief (Open Source)

Royalty Free
Anish Athalye's Neural Style Transfer Using TensorFlow
Python 2.x
API Calls - 16,277 Avg call duration - N/A
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

"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 the Algorithmia CLI client by running:

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

Then authenticate by running:

          $ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI install docs


    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