Skip to content

Commit

Permalink
Move auxiliary files to res(ources)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atcold committed Oct 30, 2019
1 parent 6ab5280 commit 3c1fec6
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 01-tensor_tutorial.ipynb
Expand Up @@ -706,7 +706,7 @@
"outputs": [],
"source": [
"# Set default plots\n",
"from plot_lib import set_default\n",
"from res.plot_lib import set_default\n",
"from matplotlib import pyplot as plt\n",
"set_default()"
]
Expand Down
2 changes: 1 addition & 1 deletion 02-space_stretching.ipynb
Expand Up @@ -9,7 +9,7 @@
"# Load libraries\n",
"import torch\n",
"import torch.nn as nn\n",
"from plot_lib import set_default, show_scatterplot, plot_bases\n",
"from res.plot_lib import set_default, show_scatterplot, plot_bases\n",
"from matplotlib.pyplot import plot, title, axis"
]
},
Expand Down
2 changes: 1 addition & 1 deletion 04-spiral_classification.ipynb
Expand Up @@ -26,7 +26,7 @@
"metadata": {},
"outputs": [],
"source": [
"from plot_lib import plot_data, plot_model, set_default"
"from res.plot_lib import plot_data, plot_model, set_default"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 05-regression.ipynb
Expand Up @@ -27,7 +27,7 @@
"metadata": {},
"outputs": [],
"source": [
"from plot_lib import plot_data, plot_model, set_default\n",
"from res.plot_lib import plot_data, plot_model, set_default\n",
"from matplotlib import pyplot as plt"
]
},
Expand Down
2 changes: 1 addition & 1 deletion 06-convnet.ipynb
Expand Up @@ -33,7 +33,7 @@
"metadata": {},
"outputs": [],
"source": [
"from plot_lib import plot_data, plot_model, set_default"
"from res.plot_lib import plot_data, plot_model, set_default"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions 07-listening_to_kernels.ipynb
Expand Up @@ -30,7 +30,7 @@
"outputs": [],
"source": [
"# My input signal x == x[k], sampling of the real, time continuous, x(t)\n",
"x, sampling_rate = librosa.load('./win_xp_shutdown.wav')"
"x, sampling_rate = librosa.load('./res/win_xp_shutdown.wav')"
]
},
{
Expand All @@ -55,7 +55,7 @@
"outputs": [],
"source": [
"# Loading interactive visualisation...\n",
"from plot_lib import set_default\n",
"from res.plot_lib import set_default\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np"
]
Expand Down Expand Up @@ -126,7 +126,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"![score](score.png)"
"![score](res/score.png)"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions 08-seq_classification.ipynb
Expand Up @@ -37,7 +37,7 @@
"metadata": {},
"outputs": [],
"source": [
"from sequential_tasks import TemporalOrderExp6aSequence"
"from res.sequential_tasks import TemporalOrderExp6aSequence"
]
},
{
Expand Down Expand Up @@ -239,7 +239,7 @@
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"from plot_lib import set_default"
"from res.plot_lib import set_default"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 09-echo_data.ipynb
Expand Up @@ -15,7 +15,7 @@
"metadata": {},
"outputs": [],
"source": [
"from sequential_tasks import EchoData\n",
"from res.sequential_tasks import EchoData\n",
"import torch\n",
"import torch.nn as nn\n",
"# import torch.nn.functional as F\n",
Expand Down
2 changes: 1 addition & 1 deletion 13-bayesian_nn.ipynb
Expand Up @@ -9,7 +9,7 @@
"import torch\n",
"from torch import nn, optim\n",
"from matplotlib import pyplot as plt\n",
"from plot_lib import set_default"
"from res.plot_lib import set_default"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions 14-truck_backer-upper.ipynb
Expand Up @@ -27,8 +27,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Car-trailer diagram (inverted image `car-trainer-k.png` available as well):\n",
"![car-trailer](car-trailer-w.png)\n",
"Car-trailer diagram (inverted image `res/car-trainer-k.png` available as well):\n",
"![car-trailer](res/car-trailer-w.png)\n",
"\n",
"Car-trailer equation:\n",
"\\begin{align}\n",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit 3c1fec6

Please sign in to comment.