albumentations
albumentations copied to clipboard
bug of superpixels on torch 2.0. env
🐛 Bug
/albumentations/augmentations/functional.py +1305(around) the region assignments seems wrong, i fix it when i change 'image_sp_c[segments==ridx] = value' to 'image_sp_c[segments==(ridx+1)] = value'