srimannarayanabaratam / land_cover_classification_unet

This repository contains code for implementing multi class semantic segmentation (specifically applied to satellite image classification) with PyTorch implementation of UNet.
https://baratam-tarunkumar.medium.com/land-cover-classification-with-u-net-aa618ea64a1b
43 stars 21 forks source link

Loss Function #9

Open qiu13579 opened 3 months ago

qiu13579 commented 3 months ago

in eval.py on 31 line: tot += dice_coeff(pred, true_masks).item()

What is dice_coeff ?