Skip to content

Commit

Permalink
Remove print statements from lensing_encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
timwhite0 committed Aug 19, 2024
1 parent 134aaf8 commit 93b1beb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions case_studies/weak_lensing/lensing_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ def _compute_loss(self, batch, logging_name):
batch_size, _, _, _ = batch["images"].shape[0:4]

target_cat = BaseTileCatalog(batch["tile_catalog"])
print("shear", target_cat["shear"].shape)
print("convergence", target_cat["convergence"].shape)
print("ellipticity", target_cat["ellip_lensed"].shape)
print("shear nans: ", torch.isnan(target_cat["shear"]).any())

# multiple image normalizers
input_lst = [inorm.get_input_tensor(batch) for inorm in self.image_normalizers]
Expand Down

0 comments on commit 93b1beb

Please sign in to comment.