Skip to content

Commit

Permalink
Forgotten print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyiasemis committed Sep 25, 2023
1 parent 65e737b commit 6c87021
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion direct/common/subsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ def mask_func(
num_cols = shape[-2]

num_center_lines, acceleration = self.choose_acceleration()
print(num_center_lines, acceleration)

mask = self.center_mask_func(num_cols, num_center_lines)

Expand Down
2 changes: 1 addition & 1 deletion direct/data/mri_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def __call__(self, sample: Dict[str, Any], coil_dim: int = 0) -> Dict[str, Any]:
seed = None if not self.use_seed else tuple(map(ord, str(sample["filename"])))
kspace_shape = tuple(sample["kspace"].shape[-3:])
acs_mask = self.mask_func(shape=kspace_shape, seed=seed, return_acs=True)
print(acs_mask.shape)

kspace = acs_mask * kspace + 0.0
dim = self.spatial_dims["2D"] if kspace.ndim == 4 else self.spatial_dims["3D"]
acs_image = self.backward_operator(kspace, dim=dim)
Expand Down

0 comments on commit 6c87021

Please sign in to comment.