Skip to main content

DiceLoss Sweep

Results of latest sweep with DiceLoss as Hyperparameter
Created on February 17|Last edited on February 25

TODOs

  • Perform Sweep with CrossEntropyLoss
  • Perform Sweep with DiceLoss and FocalLoss
  • 🔥 Retrain model on Multi objective Loss function (Combining FocalLoss/ CrossEntropy + Dice).
    • L(α)=αFL(input,targ)+(1α)Dice(input,targ)L(\alpha) = \alpha FL(input, targ) + (1-\alpha) Dice(input, targ) : Add the α\alpha param to the sweep params
  • Augmentation: We could gain some more accuracy by using fastai vision augmentation
  • # fastai computer vision transforms
    tfms = aug_transforms()
    
    # pass them to the dataloader
    SegmentationDataLoaders.from_label_func(
    artifact_dir,
    bs=batch_size,
    fnames=fnames,
    label_func=label_func,
    codes=codes,
    item_tfms=Resize(
    (image_shape[0] // resize_factor, image_shape[1] // resize_factor)),
    valid_pct=validation_split,
    seed=seed,
    batch_tfms=tfms,
    )

Results of the Latest Sweep

A simple dashboard to compare the results of our latest models regarding a multi objective of Accuracy (local) and Dice (global) metrics.
  • We filter results that:
    • finished correctly
    • are recent (last day)
    • have high accuracy and dice

foreground_acc
86
dice_multi
64