From bf2b959c74162a288c035e8dc3a128783904bc39 Mon Sep 17 00:00:00 2001 From: Daniel Bourke Date: Fri, 22 Jul 2022 14:05:38 +1000 Subject: [PATCH] add walk through dir --- helper_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper_functions.py b/helper_functions.py index ca2de3d5..88f65521 100644 --- a/helper_functions.py +++ b/helper_functions.py @@ -33,7 +33,7 @@ def walk_through_dir(dir_path): name of each subdirectory """ for dirpath, dirnames, filenames in os.walk(dir_path): - print(f"There are {len(dirnames)} directories and {len(filenames)} images in '{dirpath}'.") + print(f"There are {len(dirnames)} directories and {len(filenames)} images in '{dirpath}'.") def plot_decision_boundary(model: torch.nn.Module, X: torch.Tensor, y: torch.Tensor): """Plots decision boundaries of model predicting on X in comparison to y.