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
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/transforms.py", line 973, in apply
return F.posterize(image, num_bits)
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/utils.py", line 107, in wrapped_function
result = func(img, *args, **kwargs)
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/functional.py", line 217, in posterize
raise TypeError("Image must have uint8 channel type")
TypeError: Image must have uint8 channel type
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/transforms.py", line 973, in apply
return F.posterize(image, num_bits)
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/utils.py", line 107, in wrapped_function
result = func(img, *args, **kwargs)
File "/home/ccc/miniconda3/envs/net/lib/python3.6/site-packages/albumentations/augmentations/functional.py", line 217, in posterize
raise TypeError("Image must have uint8 channel type")
TypeError: Image must have uint8 channel type
albumentations里面posterize只支持uint8:
请问你的医疗图像是unit8的吗?
The text was updated successfully, but these errors were encountered: