Mask image value should be [0,1] feeding to Dataloader,
but for PIL Image, it should be [0,255]
There were lots of discussions this issue in v1, that solved by writing a custom
SegmentationLabel (div=True)
How to fix this in v2?
Mask image value should be [0,1] feeding to Dataloader,
but for PIL Image, it should be [0,255]
There were lots of discussions this issue in v1, that solved by writing a custom
SegmentationLabel (div=True)
How to fix this in v2?