Skip to content

Commit

Permalink
compute ms ssim in test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidtronix committed Jan 24, 2025
1 parent 7e58456 commit 8d4e234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml4h/tensormap/ukb/mri_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def random_mni_slice_tensor(tm, hd5, dependents={}):
tm.dependent_map.shape,
dtype=np.float32,
)
dependents[tm.dependent_map][0] = float(slice_index) / 182.0
dependents[tm.dependent_map][0] = (float(slice_index) - 96) / 8.0
return tensor
return random_mni_slice_tensor

Expand Down

0 comments on commit 8d4e234

Please sign in to comment.