Skip to content

Commit 8c27d80

Browse files
Added fast-style-transfer
1 parent 2469254 commit 8c27d80

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The examples are quite minimal and shouldn't be considered comprehensive tensorf
2525
* for the **most basic example** of loading a model, feeding it data and fetching the results (using just a [low level C API](https://github.com/memo/ofxMSATensorFlow/blob/master/src/ofxMSATFUtils.h)), see *example-basic*
2626
* for a **very simple barebones Image-to-Image example** (loading a model, feeding it an image, and fetching an image using a [higher level C++ API](https://github.com/memo/ofxMSATensorFlow/blob/master/src/ofxMSATFSimpleModel.h)) see *example-pix2pix-simple* - **This is probably the best minimal template for other examples**
2727
* for more complex **Image-to-Image** examples (with **Conditional Generative Adversarial Networks**) see *example-pix2pix* or *example-pix2pix-webcam*
28+
* for **style transfer** see *example-style-transfer*
2829
* for **image classification** see *example-mnist* or *example-inception3*
2930
* for **sequence generation of *discrete* data** such as text (with **stateful LSTM/RNN**, where LSTM state is retrieved and passed back in at every time-step) see *example-char-rnn*
3031
* for **sequence generation of *continuous* data** such as handwriting (with **Recurrent Mixture Density Networks**) see *example-handwriting-rnn*
@@ -56,6 +57,21 @@ This is the simplest pix2pix example with no interaction. The purpose of this ex
5657

5758
---
5859

60+
### example-style-transfer
61+
Fast Style Transfer from [Logan Engstrom](https://github.com/lengstrom/fast-style-transfer). This realtime webcam openFrameworks example is by [Ole Kristensen](http://ole.kristensen.name) who also modified the python evaluate.py script to export a graph in protobuf format for use with the c++ TF implementation. [Ole has a fork of Enstroms repo](https://github.com/olekristensen/fast-style-transfer), that will do the ugly varhack tricks to restore the graph variables for you. Note that when you want to use your own models you have to evaluate (style) one image of the same resolution as the one you want to feed in your openFrameworks app. You do this for evaluate.py to export an of.pb file for you to load from your ofApp.
62+
63+
```
64+
@misc{engstrom2016faststyletransfer,
65+
author = {Logan Engstrom},
66+
title = {Fast Style Transfer},
67+
year = {2016},
68+
howpublished = {\url{https://github.com/lengstrom/fast-style-transfer/}},
69+
note = {commit xxxxxxx}
70+
}
71+
```
72+
73+
---
74+
5975
### example-handwriting-rnn
6076
![](https://cloud.githubusercontent.com/assets/144230/23376150/08a3f866-fd23-11e6-9d9f-45738b1e9b2e.gif)
6177

0 commit comments

Comments
 (0)