Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XIE Binghui committed Apr 11, 2024
1 parent 379a919 commit 93b98b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WILDS/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ def train_pair(train_loader, epoch, agg):
running_losses = []
while sum([l > 1 for l in train_loader.dataset.batches_left.values()]) >= args.meta_steps:
model.train()
args.eval_iters = 5
i += 1
# sample `meta_steps` number of domains to use for the inner loop
domains = sample_domains(train_loader, args.meta_steps, args.stratified).tolist()
Expand Down

0 comments on commit 93b98b3

Please sign in to comment.