Skip to content

Commit

Permalink
remove channel_axis=2 (NVIDIAGameWorks#139)
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Fuji Tsang <[email protected]>
  • Loading branch information
Caenorst authored and orperel committed May 30, 2023
1 parent eb07b62 commit a5c6d5a
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 a5c6d5a

Please sign in to comment.