Skip to content

Commit

Permalink
neural style added
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchoi86 committed Jul 26, 2016
1 parent b3ff9f8 commit 289ae23
Show file tree
Hide file tree
Showing 5 changed files with 714 additions and 7 deletions.
16 changes: 9 additions & 7 deletions notebooks/demo_Hangul.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -43,7 +43,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {
"collapsed": true
},
Expand Down Expand Up @@ -76,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -105,7 +105,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {
"collapsed": true
},
Expand All @@ -122,7 +122,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 8,
"metadata": {
"collapsed": false
},
Expand All @@ -139,8 +139,10 @@
}
],
"source": [
"parsed_txt = dump_file(tofile).encode(\"utf8\") # For python2\n",
"# parsed_txt = dump_file(tofile) # For python2\n",
"if sys.version_info.major == 2:\n",
" parsed_txt = dump_file(tofile).encode(\"utf8\") \n",
"else:\n",
" parsed_txt = dump_file(tofile) \n",
"print (\"Parsing %s done\" % (tofile))\n",
"print (parsed_txt[:100])"
]
Expand Down
Binary file added notebooks/images/flash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/images/style1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/images/style2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
705 changes: 705 additions & 0 deletions notebooks/neural_style.ipynb

Large diffs are not rendered by default.

0 comments on commit 289ae23

Please sign in to comment.