Skip to content

Commit

Permalink
Put back flips.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Aug 22, 2024
1 parent ed6371c commit 2acd2ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lensless/recon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,8 @@ def train_epoch(self, data_loader):
for batch in pbar:

# get batch
flip_lr = None
flip_ud = None
if self.train_random_flip:
X, y, psfs, flip_lr, flip_ud = batch
psfs = psfs.to(self.device)
Expand Down

0 comments on commit 2acd2ad

Please sign in to comment.