{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# Neural Style Transfer"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"ExecuteTime": {
"end_time": "2019-04-02T23:50:09.774678Z",
"start_time": "2019-04-02T23:50:08.950870Z"
}
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"import d2l\n",
"from mxnet import autograd, gluon, image, init, nd\n",
"from mxnet.gluon import model_zoo, nn\n",
"import time"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"## Read the Content and Style Images"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"ExecuteTime": {
"end_time": "2019-04-02T23:50:11.489117Z",
"start_time": "2019-04-02T23:50:11.101726Z"
},
"attributes": {
"classes": [],
"id": "",
"n": "1"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n",
"\n"
],
"text/plain": [
"