Skip to content

Commit

Permalink
Reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Aug 9, 2024
1 parent aa192ef commit 542fe9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lensless/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ def _get_images_pair(self, idx):
lensless_np = np.array(self.dataset[idx]["lensless"])
lensed_np = np.array(self.dataset[idx]["lensed"])
background_np = np.array(self.dataset[idx]["ambient"]) if self.measured_bg else None

if self.force_rgb:
if len(lensless_np.shape) == 2:
warnings.warn(f"Converting lensless[{idx}] to RGB")
Expand Down

0 comments on commit 542fe9a

Please sign in to comment.