From 999d73f7ab4d599b26d8f75d95d43c274cd637c6 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Mon, 15 Jan 2024 20:11:54 +0000 Subject: [PATCH] prep for search --- main.py | 4 ++-- search.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index f840686..513b79f 100644 --- a/main.py +++ b/main.py @@ -71,14 +71,14 @@ if __name__ == "__main__": ) save_img_callback = SaveImageCallback( - save_interval=1, + save_interval=0, final_dir="out", ) # Initialize data loader with parsed arguments # named_data_loader also has grayscale extras. TODO: remove unnamed train_dataloader = create_dataloader( - N=1e8, + N=1e7, batch_size=args.bs, shuffle=True, num_workers=args.num_workers, diff --git a/search.py b/search.py index deb3f89..05b577b 100644 --- a/search.py +++ b/search.py @@ -20,7 +20,7 @@ NUM_JOBS = 100 # Define the ranges or sets of values for each hyperparameter # alpha_values = list(np.round(np.linspace(2, 4, 21), 4)) # learning_rate_values = list(np.round(np.logspace(-5, -3, 21), 5)) -learning_rate_values = [1e-3] +learning_rate_values = [1e-2, 1e-3] alpha_values = [0, 1, 2] widths = [64, 128, 256, 512] # learning_rate_values = [5e-4]