You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In THIS LINE from rgb2lab implementation, the value 166 should be 116.
Expected behavior
The line should be changed to arr.masked_scatter_(not_mask, 7.787 * torch.masked_select(arr, not_mask) + 16 / 116) to match numpy implementation (e.g. THIS one from skimage)
The text was updated successfully, but these errors were encountered:
Describe the bug
In THIS LINE from rgb2lab implementation, the value
166
should be116
.Expected behavior
The line should be changed to
arr.masked_scatter_(not_mask, 7.787 * torch.masked_select(arr, not_mask) + 16 / 116)
to match numpy implementation (e.g. THIS one from skimage)The text was updated successfully, but these errors were encountered: