rename download_and_unzip to make it more specific

This commit is contained in:
rasbt
2024-05-12 08:36:24 -05:00
parent 49306b271f
commit beeaf323f1
4 changed files with 9 additions and 9 deletions

View File

@@ -362,7 +362,7 @@ def evaluate_model(model, train_loader, val_loader, device, eval_iter):
#####################################
def download_and_unzip(url, zip_path, extracted_path, data_file_path):
def download_and_unzip_spam_data(url, zip_path, extracted_path, data_file_path):
if data_file_path.exists():
print(f"{data_file_path} already exists. Skipping download and extraction.")
return