MCPcopy Create free account

hub / github.com/JunMa11/SegLossOdyssey / functions

Functions250 in github.com/JunMa11/SegLossOdyssey

Methodforward
target must be b, c, x, y(, z) with c=1 :param net_output: :param target: :return:
test/nnUNetV2/loss_functions/dice_loss.py:374
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:421
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:440
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:460
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:476
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:495
Methodforward
(self, net_output, target)
test/nnUNetV2/loss_functions/dice_loss.py:517
Methodforward
(self, input: Tensor, target: Tensor)
test/nnUNetV2/loss_functions/crossentropy.py:8
Methodforward
(self, logit, target)
test/nnUNetV2/loss_functions/focal_loss.py:35
Methodforward
(self, inp, target)
test/nnUNetV2/loss_functions/TopK_loss.py:28
Methodforward
Uses one binary channel: 1 - fg, 0 - bg pred: (b, 1, x, y, z) or (b, 1, x, y) target: (b, 1, x, y, z) or (b, 1, x, y)
losses_pytorch/hausdorff.py:43
Methodforward
Uses one binary channel: 1 - fg, 0 - bg pred: (b, 1, x, y, z) or (b, 1, x, y) target: (b, 1, x, y, z) or (b, 1, x, y)
losses_pytorch/hausdorff.py:145
Methodforward
(self, inp, target)
losses_pytorch/ND_Crossentropy.py:15
Methodforward
(self, inp, target)
losses_pytorch/ND_Crossentropy.py:58
Methodforward
(self, net_output, gt)
losses_pytorch/ND_Crossentropy.py:85
Methodforward
(self, inp, target)
losses_pytorch/ND_Crossentropy.py:175
Methodforward
(self, net_output, gt)
losses_pytorch/dice_loss.py:97
Methodforward
(self, net_output, gt)
losses_pytorch/dice_loss.py:156
Methodforward
(self, net_output, gt, loss_mask=None)
losses_pytorch/dice_loss.py:209
Methodforward
(self, x, y, loss_mask=None)
losses_pytorch/dice_loss.py:269
Methodforward
(self, x, y, loss_mask=None)
losses_pytorch/dice_loss.py:308
Methodforward
(self, x, y, loss_mask=None)
losses_pytorch/dice_loss.py:349
Methodforward
(self, net_output, target)
losses_pytorch/dice_loss.py:384
Methodforward
(self, x, y, loss_mask=None)
losses_pytorch/dice_loss.py:405
Methodforward
(self, net_output, target)
losses_pytorch/dice_loss.py:436
Methodforward
(self, net_output, target)
losses_pytorch/dice_loss.py:454
Methodforward
(self, net_output, target)
losses_pytorch/dice_loss.py:469
Methodforward
(self, net_output, target)
losses_pytorch/dice_loss.py:491
Methodforward
(self, inputs, targets)
losses_pytorch/lovasz_loss.py:62
Methodforward
net_output: (batch_size, class, x,y,z) target: ground truth, shape: (batch_size, 1, x,y,z) bound: precomputed distance map
losses_pytorch/boundary_loss.py:92
Methodforward
(self, x, y, loss_mask=None)
losses_pytorch/boundary_loss.py:123
Methodforward
(self, net_output, target, bound)
losses_pytorch/boundary_loss.py:154
Methodforward
net_output: (batch_size, 2, x,y,z) target: ground truth, shape: (batch_size, 1, x,y,z)
losses_pytorch/boundary_loss.py:202
Methodforward
(self, logit, target)
losses_pytorch/focal_loss.py:35
Methodinitialize
For prediction of test cases just set training=False, this will prevent loading of training data and training batchgenerator initiali
test/nnUNetV1/network_training/nnUNetTrainerCascadeFullRes.py:80
Methodinitialize
we need to swap out get_default_augmentation so that we can move the EDTs around (get_default_augmentation_withEDT)
test/nnUNetV1/network_training/nnUNetTrainerEDT.py:138
Methodinitialize
For prediction of test cases just set training=False, this will prevent loading of training data and training batchgenerator initiali
test/nnUNetV1/network_training/nnUNetTrainer.py:164
Methodload_dataset
(self)
test/nnUNetV1/network_training/network_trainer.py:118
Methodload_latest_checkpoint
(self, train=True)
test/nnUNetV1/network_training/network_trainer.py:260
Functionnll_loss
customized nll loss source: https://medium.com/@zhang_yang/understanding-cross-entropy- implementation-in-pytorch-softmax-log-softmax-nll
test/nnUNetV1/loss_functions/ND_Crossentropy.py:267
Functionnll_loss
customized nll loss source: https://medium.com/@zhang_yang/understanding-cross-entropy- implementation-in-pytorch-softmax-log-softmax-
losses_pytorch/ND_Crossentropy.py:211
Methodpredict_preprocessed_data_return_softmax
(self, data, do_mirroring, num_repeats, use_train_mode, batch_size,
test/nnUNetV1/network_training/nnUNetTrainerEDT.py:180
Methodpreprocess_predict_nifti
Use this to predict new data :param input_files: :param output_file: :param softmax_ouput_file: :return:
test/nnUNetV1/network_training/nnUNetTrainer.py:358
Methodrun_iteration
here we add the boundary to the loss function :param data_generator: :param do_backprop: :param run_online_evaluatio
test/nnUNetV1/network_training/nnUNetTrainerEDT.py:188
Methodrun_training
(self)
test/nnUNetV1/network_training/network_trainer.py:318
Methodrun_training
(self)
test/nnUNetV1/network_training/nnUNetTrainer.py:243
Methodsave_checkpoint
(self, fname, save_optimizer=True)
test/nnUNetV1/network_training/nnUNetTrainer.py:575
Methodvalidate
:param do_mirroring: :param use_train_mode: :param mirror_axes: :param tiled: :param tile_in_z: :par
test/nnUNetV1/network_training/nnUNetTrainerCascadeFullRes.py:140
Methodvalidate
(self, *args, **kwargs)
test/nnUNetV1/network_training/network_trainer.py:553
Methodvalidate
2018_12_05: I added global accumulation of TP, FP and FN for the validation in here. This is because I believe that selecting models
test/nnUNetV1/network_training/nnUNetTrainer.py:403
← previous201–250 of 250, ranked by callers