Skip to content

Commit

Permalink
remove channel_axis=2 (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Fuji Tsang <cfujitsang@nvidia.com>
  • Loading branch information
Caenorst committed Apr 5, 2023
1 parent 78e1be1 commit 6e2e72c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wisp/ops/image/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def ssim(rgb, gts):
return skimage.metrics.structural_similarity(
rgb[..., :3].cpu().numpy(),
gts[..., :3].cpu().numpy(),
channel_axis=2,
data_range=1,
gaussian_weights=True,
sigma=1.5,
Expand Down

0 comments on commit 6e2e72c

Please sign in to comment.