MCPcopy Create free account

hub / github.com/JunMa11/SegLossOdyssey / functions

Functions250 in github.com/JunMa11/SegLossOdyssey

Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV1/network_training/nnUNetTrainer_TopK10.py:6
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV1/network_training/nnUNetTrainer_ExpLog.py:7
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV1/network_training/nnUNetTrainerWCE.py:7
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV1/network_training/nnUNetTrainer_Iou.py:7
Method__init__
(self, weight=None)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:110
Method__init__
Generalized Dice; Copy from: https://github.com/LIVIAETS/surface-loss/blob/108bd9892adca476e6cdf424124bc6268707498e/losses.py#L29
test/nnUNetV1/loss_functions/dice_loss.py:79
Method__init__
Generalized Dice; Copy from: https://github.com/wolny/pytorch-3dunet/blob/6e5a24b6438f8c631289c10638a17dea14d42051/unet3d/losses.py#L
test/nnUNetV1/loss_functions/dice_loss.py:138
Method__init__
Drozdzal et al. https://arxiv.org/abs/1608.04117
test/nnUNetV1/loss_functions/dice_loss.py:250
Method__init__
paper: Milletari et al. https://arxiv.org/abs/1606.04797
test/nnUNetV1/loss_functions/dice_loss.py:320
Method__init__
paper: https://link.springer.com/chapter/10.1007/978-3-319-50835-1_22
test/nnUNetV1/loss_functions/dice_loss.py:360
Method__init__
paper: https://arxiv.org/pdf/1706.05721.pdf
test/nnUNetV1/loss_functions/dice_loss.py:400
Method__init__
(self, tversky_kwargs, gamma=0.75)
test/nnUNetV1/loss_functions/dice_loss.py:445
Method__init__
paper: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=8573779
test/nnUNetV1/loss_functions/dice_loss.py:457
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum")
test/nnUNetV1/loss_functions/dice_loss.py:496
Method__init__
(self, gdice_kwargs)
test/nnUNetV1/loss_functions/dice_loss.py:515
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum")
test/nnUNetV1/loss_functions/dice_loss.py:529
Method__init__
(self, soft_dice_kwargs, wce_kwargs, gamma=0.3)
test/nnUNetV1/loss_functions/dice_loss.py:551
Method__init__
(self, soft_dice_kwargs, focal_kwargs)
test/nnUNetV1/loss_functions/dice_loss.py:572
Method__init__
(self, reduction='mean')
test/nnUNetV1/loss_functions/lovasz_loss.py:23
Method__init__
test/nnUNetV1/loss_functions/boundary_loss.py:65
Method__init__
(self, soft_dice_kwargs, bd_kwargs, aggregate="sum")
test/nnUNetV1/loss_functions/boundary_loss.py:177
Method__init__
compute haudorff loss for binary segmentation https://arxiv.org/pdf/1904.10030v1.pdf
test/nnUNetV1/loss_functions/boundary_loss.py:237
Method__init__
(self, soft_dice_kwargs, hd_kwargs, aggregate="sum")
test/nnUNetV1/loss_functions/boundary_loss.py:287
Method__init__
(self, apply_nonlin=None, alpha=None, gamma=2, balance_index=0, smooth=1e-5, size_average=True)
test/nnUNetV1/loss_functions/focal_loss.py:22
Method__init__
(self, weight=None, ignore_index=-100, k=10)
test/nnUNetV1/loss_functions/TopK_loss.py:24
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_TopK10.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_DiceTopK10CE.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_DiceFocal.py:6
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_CE.py:19
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_DiceTopK10Focal.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_Dice.py:22
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
test/nnUNetV2/network_training/nnUNetTrainerV2_Loss_DiceTopK10.py:21
Method__init__
test/nnUNetV2/loss_functions/dice_loss.py:160
Method__init__
test/nnUNetV2/loss_functions/dice_loss.py:199
Method__init__
based on matthews correlation coefficient https://en.wikipedia.org/wiki/Matthews_correlation_coefficient Does not work. Real
test/nnUNetV2/loss_functions/dice_loss.py:239
Method__init__
squares the terms in the denominator as proposed by Milletari et al.
test/nnUNetV2/loss_functions/dice_loss.py:287
Method__init__
CAREFUL. Weights for CE and Dice do not need to sum to one. You can set whatever you want. :param soft_dice_kwargs: :param ce
test/nnUNetV2/loss_functions/dice_loss.py:346
Method__init__
DO NOT APPLY NONLINEARITY IN YOUR NETWORK! THIS LOSS IS INTENDED TO BE USED FOR BRATS REGIONS ONLY :param soft_dice_kwargs:
test/nnUNetV2/loss_functions/dice_loss.py:406
Method__init__
(self, gdl_dice_kwargs, ce_kwargs, aggregate="sum")
test/nnUNetV2/loss_functions/dice_loss.py:434
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum", square_dice=False)
test/nnUNetV2/loss_functions/dice_loss.py:451
Method__init__
(self, soft_dice_kwargs, focal_kwargs)
test/nnUNetV2/loss_functions/dice_loss.py:471
Method__init__
(self, soft_dice_kwargs, topk_kwargs, ce_kwargs, aggregate="sum", square_dice=False)
test/nnUNetV2/loss_functions/dice_loss.py:485
Method__init__
(self, soft_dice_kwargs, topk_kwargs, focal_kwargs, aggregate="sum", square_dice=False)
test/nnUNetV2/loss_functions/dice_loss.py:507
Method__init__
(self, apply_nonlin=None, alpha=None, gamma=2, balance_index=0, smooth=1e-5, size_average=True)
test/nnUNetV2/loss_functions/focal_loss.py:22
Method__init__
(self, weight=None, ignore_index=-100, k=10)
test/nnUNetV2/loss_functions/TopK_loss.py:24
Method__init__
(self, alpha=2.0, erosions=10, **kwargs)
losses_pytorch/hausdorff.py:86
Method__init__
(self, weight=None)
losses_pytorch/ND_Crossentropy.py:54
Method__init__
Generalized Dice; Copy from: https://github.com/LIVIAETS/surface-loss/blob/108bd9892adca476e6cdf424124bc6268707498e/losses.py#L29
losses_pytorch/dice_loss.py:85
Method__init__
Generalized Dice; Copy from: https://github.com/wolny/pytorch-3dunet/blob/6e5a24b6438f8c631289c10638a17dea14d42051/unet3d/losses.py
losses_pytorch/dice_loss.py:144
Method__init__
paper: https://arxiv.org/pdf/1606.04797.pdf
losses_pytorch/dice_loss.py:256
Method__init__
paper: https://link.springer.com/chapter/10.1007/978-3-319-50835-1_22
losses_pytorch/dice_loss.py:294
Method__init__
paper: https://arxiv.org/pdf/1706.05721.pdf
losses_pytorch/dice_loss.py:334
Method__init__
(self, tversky_kwargs, gamma=0.75)
losses_pytorch/dice_loss.py:379
Method__init__
paper: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=8573779
losses_pytorch/dice_loss.py:391
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum")
losses_pytorch/dice_loss.py:430
Method__init__
(self, gdice_kwargs)
losses_pytorch/dice_loss.py:449
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum")
losses_pytorch/dice_loss.py:463
Method__init__
(self, soft_dice_kwargs, wce_kwargs, gamma=0.3)
losses_pytorch/dice_loss.py:485
Method__init__
(self, reduction='mean')
losses_pytorch/lovasz_loss.py:23
Method__init__
losses_pytorch/boundary_loss.py:110
Method__init__
(self, soft_dice_kwargs, bd_kwargs, aggregate="sum")
losses_pytorch/boundary_loss.py:148
Method__init__
(self, smooth=1e-5)
losses_pytorch/boundary_loss.py:198
Method__init__
(self, apply_nonlin=None, alpha=None, gamma=2, balance_index=0, smooth=1e-5, size_average=True)
losses_pytorch/focal_loss.py:22
Functioncompute_edts_forhdloss
(segmentation)
losses_pytorch/boundary_loss.py:164
Methodfind_lr
stolen and adapted from here: https://sgugger.github.io/how-do-you-find-a-good-learning-rate.html :param num_iters: :param in
test/nnUNetV1/network_training/network_trainer.py:556
Methodfinish_online_evaluation
(self)
test/nnUNetV1/network_training/nnUNetTrainer.py:558
Functionflatten
Flattens a given tensor such that the channel axis is first. The shapes are transformed as follows: (N, C, D, H, W) -> (C, N * D * H * W)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:193
Functionflatten
Flattens a given tensor such that the channel axis is first. The shapes are transformed as follows: (N, C, D, H, W) -> (C, N * D * H * W)
losses_pytorch/ND_Crossentropy.py:137
Methodforward
(self, inp, target)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:28
Methodforward
(self, inp, target)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:51
Methodforward
(self, inp, target)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:114
Methodforward
(self, net_output, gt)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:141
Methodforward
(self, inp, target)
test/nnUNetV1/loss_functions/ND_Crossentropy.py:231
Methodforward
(self, net_output, gt)
test/nnUNetV1/loss_functions/dice_loss.py:91
Methodforward
(self, net_output, gt)
test/nnUNetV1/loss_functions/dice_loss.py:150
Methodforward
(self, net_output, gt, loss_mask=None)
test/nnUNetV1/loss_functions/dice_loss.py:203
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV1/loss_functions/dice_loss.py:263
Methodforward
(self, x, y)
test/nnUNetV1/loss_functions/dice_loss.py:331
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV1/loss_functions/dice_loss.py:374
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV1/loss_functions/dice_loss.py:415
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:450
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV1/loss_functions/dice_loss.py:471
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:502
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:520
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:535
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:557
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/dice_loss.py:577
Methodforward
(self, inputs, targets)
test/nnUNetV1/loss_functions/lovasz_loss.py:62
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV1/loss_functions/boundary_loss.py:78
Methodforward
net_output: (batch_size, class, x,y,z) target: ground truth, shape: (batch_size, 1, x,y,z) bound: precomputed distance map, s
test/nnUNetV1/loss_functions/boundary_loss.py:141
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/boundary_loss.py:184
Methodforward
net_output: (batch_size, c, x,y,z) target: ground truth, shape: (batch_size, c, x,y,z)
test/nnUNetV1/loss_functions/boundary_loss.py:245
Methodforward
(self, net_output, target)
test/nnUNetV1/loss_functions/boundary_loss.py:293
Methodforward
(self, logit, target)
test/nnUNetV1/loss_functions/focal_loss.py:35
Methodforward
(self, inp, target)
test/nnUNetV1/loss_functions/TopK_loss.py:28
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV2/loss_functions/dice_loss.py:41
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV2/loss_functions/dice_loss.py:170
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV2/loss_functions/dice_loss.py:209
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV2/loss_functions/dice_loss.py:253
Methodforward
(self, x, y, loss_mask=None)
test/nnUNetV2/loss_functions/dice_loss.py:298
← previousnext →101–200 of 250, ranked by callers