Skip to content

Commit 0c3aed2

Browse files
committed
BUG Update paths to current location of data
1 parent ec128a6 commit 0c3aed2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ch10/figure10.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
# This little script just builds an image with two examples, side-by-side:
1212

13-
text = mh.imread("simple-dataset/text21.jpg")
14-
scene = mh.imread("simple-dataset/scene00.jpg")
13+
text = mh.imread("../SimpleImageDataset/text21.jpg")
14+
scene = mh.imread("../SimpleImageDataset/scene00.jpg")
1515
h, w, _ = text.shape
1616
canvas = np.zeros((h, 2 * w + 128, 3), np.uint8)
1717
canvas[:, -w:] = scene

ch10/simple_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from glob import glob
1313
from edginess import edginess_sobel
1414

15-
basedir = 'simple-dataset'
15+
basedir = '../SimpleImageDataset/'
1616

1717

1818
def features_for(im):

0 commit comments

Comments
 (0)