Skip to content

Commit

Permalink
add walk through dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdbourke committed Jul 22, 2022
1 parent cea2703 commit bf2b959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bf2b959

Please sign in to comment.