onnx_tensorrt_project icon indicating copy to clipboard operation
onnx_tensorrt_project copied to clipboard

UNet training

Open sctrueew opened this issue 3 years ago • 0 comments

Hi,

I trained a model with the public dataset but the result is strange. Could you please some tips for training.

Thanks.

I have one class and I set the classes param to 2

unet_model = Unet(encoder_name="resnet50", encoder_weights="imagenet", decoder_channels=(256, 128, 64, 32, 16),
                  in_channels=3, classes=2)

--width: 512
--height: 512
--epoch: 30
--batchsize: 2

dataset sample: 900 images ISIC_0000000 ISIC_0000000_Segmentation

Result: image

sctrueew avatar Nov 26 '21 19:11 sctrueew