MCPcopy Create free account

hub / github.com/MrGiovanni/UNetPlusPlus / functions

Functions963 in github.com/MrGiovanni/UNetPlusPlus

Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Adam_lr_3en4.py:20
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Ranger_lr3en4.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_fp16.py:20
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_ReduceOnPlateau.py:23
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_lrs.py:28
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_fixedSchedule.py:20
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Ranger_lr3en3.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Adam_ReduceOnPlateau.py:26
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Ranger_lr1en2.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_fixedSchedule2.py:21
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_warmup.py:20
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_cycleAtEnd.py:71
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/copies/nnUNetTrainerV2_copies.py:31
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/copies/nnUNetTrainerV2_copies.py:38
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/copies/nnUNetTrainerV2_copies.py:45
Method__init__
(self, plans_file, fold, local_rank, output_folder=None, dataset_directory=None, batch_dice=True,
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:193
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:411
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:623
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:631
Method__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:639
Method__init__
:param dont_do_if_covers_more_than_X_percent: dont_do_if_covers_more_than_X_percent=0.25 is 25\%! :param channel_idx: can be list or
pytorch/nnunet/training/data_augmentation/pyramid_augmentations.py:23
Method__init__
(self, channel_id, all_seg_labels, key_origin="seg", key_target="data", remove_from_origin=True)
pytorch/nnunet/training/data_augmentation/pyramid_augmentations.py:71
Method__init__
(self, channel_idx, p_per_sample=0.3, any_of_these=(binary_dilation, binary_erosion, binary_closing,
pytorch/nnunet/training/data_augmentation/pyramid_augmentations.py:96
Method__init__
2019_11_22: I have no idea what the purpose of this was... the same as above but here we should use only expanding operations. Expan
pytorch/nnunet/training/data_augmentation/pyramid_augmentations.py:139
Method__init__
(self, ds_scales=(1, 0.5, 0.25), input_key="seg", output_key="seg", classes=None)
pytorch/nnunet/training/data_augmentation/downsampling.py:34
Method__init__
(self, ds_scales=(1, 0.5, 0.25), order=0, cval=0, input_key="seg", output_key="seg", axes=None)
pytorch/nnunet/training/data_augmentation/downsampling.py:74
Method__init__
(self, key_to_remove)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:20
Method__init__
data[mask < 0] = 0 Sets everything outside the mask to 0. CAREFUL! outside is defined as < 0, not =0 (in the Mask)!!! :param
pytorch/nnunet/training/data_augmentation/custom_transforms.py:29
Method__init__
(self)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:81
Method__init__
(self)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:89
Method__init__
regions are tuple of tuples where each inner tuple holds the class indices that are merged into one region, example: regions= ((1, 2)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:97
Method__init__
pytorch/nnunet/training/loss_functions/dice_loss.py:159
Method__init__
based on matthews correlation coefficient https://en.wikipedia.org/wiki/Matthews_correlation_coefficient Does not work. Real
pytorch/nnunet/training/loss_functions/dice_loss.py:198
Method__init__
squares the terms in the denominator as proposed by Milletari et al.
pytorch/nnunet/training/loss_functions/dice_loss.py:246
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
pytorch/nnunet/training/loss_functions/dice_loss.py:305
Method__init__
DO NOT APPLY NONLINEARITY IN YOUR NETWORK! THIS LOSS IS INTENDED TO BE USED FOR BRATS REGIONS ONLY :param soft_dice_kwargs:
pytorch/nnunet/training/loss_functions/dice_loss.py:365
Method__init__
(self, gdl_dice_kwargs, ce_kwargs, aggregate="sum")
pytorch/nnunet/training/loss_functions/dice_loss.py:393
Method__init__
(self, soft_dice_kwargs, ce_kwargs, aggregate="sum", square_dice=False)
pytorch/nnunet/training/loss_functions/dice_loss.py:410
Method__init__
use this if you have several outputs and ground truth (both list of same len) and the loss should be computed between them (x[0] and
pytorch/nnunet/training/loss_functions/deep_supervision.py:20
Method__init__
(self, weight=None, ignore_index=-100, k=10)
pytorch/nnunet/training/loss_functions/TopK_loss.py:24
Method__init__
(self, params, lr=1e-3, alpha=0.5, k=6, N_sma_threshhold=5, betas=(.95, 0.999), eps=1e-5, wei
pytorch/nnunet/training/optimizer/ranger.py:13
Method__init__
(self, input_channels, output_channels, conv_op=nn.Conv2d, conv_kwargs=None,
pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py:31
Method__init__
stacks ConvDropoutNormLReLU layers. initial_stride will only be applied to first layer in the stack. The other parameters affect all layers
pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py:80
Method__init__
basically more flexible than v1, architecture is the same Does this look complicated? Nah bro. Functionality > usability Th
pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py:184
Method__init__
(self, input_channels, output_channels, conv_op=nn.Conv2d, conv_kwargs=None,
pytorch/nnunet/network_architecture/generic_XNet.py:31
Method__init__
stacks ConvDropoutNormLReLU layers. initial_stride will only be applied to first layer in the stack. The other parameters affect all layers
pytorch/nnunet/network_architecture/generic_XNet.py:80
Method__init__
basically more flexible than v1, architecture is the same Does this look complicated? Nah bro. Functionality > usability Th
pytorch/nnunet/network_architecture/generic_XNet.py:184
Method__init__
Following UNet building blocks can be added by utilizing the properties this class exposes (TODO) this one includes the bottleneck l
pytorch/nnunet/network_architecture/generic_modular_UNet.py:83
Method__init__
(self, previous, num_classes, num_blocks_per_stage=None, network_props=None, deep_supervision=False,
pytorch/nnunet/network_architecture/generic_modular_UNet.py:184
Method__init__
Following UNet building blocks can be added by utilizing the properties this class exposes (TODO) this one includes the bottleneck l
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:29
Method__init__
(self, previous, num_classes, num_blocks_per_stage=None, network_props=None, deep_supervision=False,
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:135
Method__init__
(self, input_channels, base_num_features, num_blocks_per_stage_encoder, feat_map_mul_on_downscale,
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:269
Method__init__
As opposed to the Generic_UNet, this class will compute parts of the loss function in the forward pass. This is useful for GPU parall
pytorch/nnunet/network_architecture/generic_UNet_DP.py:27
Method__init__
(self)
pytorch/nnunet/network_architecture/neural_network.py:49
Method__init__
(self, neg_slope=1e-2)
pytorch/nnunet/network_architecture/initialization.py:20
Method__init__
(self, gain=1)
pytorch/nnunet/network_architecture/initialization.py:31
Method__init__
(self, input_channels, output_channels, conv_op=nn.Conv2d, conv_kwargs=None,
pytorch/nnunet/network_architecture/generic_hipp_XNet.py:31
Method__init__
stacks ConvDropoutNormLReLU layers. initial_stride will only be applied to first layer in the stack. The other parameters affect all layers
pytorch/nnunet/network_architecture/generic_hipp_XNet.py:80
Method__init__
basically more flexible than v1, architecture is the same Does this look complicated? Nah bro. Functionality > usability Th
pytorch/nnunet/network_architecture/generic_hipp_XNet.py:184
Method__init__
(self, input_channels, output_channels, conv_op=nn.Conv2d, conv_kwargs=None,
pytorch/nnunet/network_architecture/generic_UNet.py:31
Method__init__
stacks ConvDropoutNormLReLU layers. initial_stride will only be applied to first layer in the stack. The other parameters affect all layers
pytorch/nnunet/network_architecture/generic_UNet.py:80
Method__init__
basically more flexible than v1, architecture is the same Does this look complicated? Nah bro. Functionality > usability Th
pytorch/nnunet/network_architecture/generic_UNet.py:184
Method__init__
(self, num_features: int, eps=1e-6, **kwargs)
pytorch/nnunet/network_architecture/custom_modules/feature_response_normalization.py:24
Method__init__
if network_props['dropout_op'] is None then no dropout if network_props['norm_op'] is None then no norm :param input_channels
pytorch/nnunet/network_architecture/custom_modules/conv_blocks.py:22
Method__init__
if network_props['dropout_op'] is None then no dropout if network_props['norm_op'] is None then no norm :param input_channels
pytorch/nnunet/network_architecture/custom_modules/conv_blocks.py:59
Method__init__
This is the conv bn nonlin conv bn nonlin kind of block :param in_planes: :param out_planes: :param props: :p
pytorch/nnunet/network_architecture/custom_modules/conv_blocks.py:87
Method__init__
This is the conv bn nonlin conv bn nonlin kind of block :param in_planes: :param out_planes: :param props: :p
pytorch/nnunet/network_architecture/custom_modules/conv_blocks.py:149
Method__init__
(self)
pytorch/nnunet/network_architecture/custom_modules/mish.py:18
Method__init__
(self, num_channels, eps=1e-5, affine=True, num_groups=8)
pytorch/nnunet/network_architecture/custom_modules/helperModules.py:28
Method__init__
(self, *args, **kwargs)
pytorch/nnunet/evaluation/evaluator.py:271
Method__init__
(self, test=None, reference=None)
pytorch/nnunet/evaluation/metrics.py:27
Method__init__
(self, model="", backbone="", init="", data_augmentation=T
keras/BRATS2013_application.py:110
Method__init__
(self, factor=(2, 2), data_format='channels_last', interpolation='nearest', **kwargs)
keras/segmentation_models/common/layers.py:45
Method__setstate__
(self, state)
pytorch/nnunet/training/optimizer/ranger.py:64
Method_get_unique_labels
(self, patient_identifier)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:76
Method_get_voxels_in_foreground
(self, patient_identifier, modality_id)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:169
Method_load_seg_analyze_classes
1) what class is in this training case? 2) what is the size distribution for each class? 3) what is the region size of each c
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:81
Method_run_internal
(self, target_spacing, case_identifier, output_folder_stage, cropped_output_dir, force_separate_z,
pytorch/nnunet/preprocessing/preprocessing.py:315
Functionaccuracy
(TP + TN) / (TP + FP + FN + TN)
pytorch/nnunet/evaluation/metrics.py:201
Functionadd_classes_in_slice_info
We need this for 2D dataloader with oversampling. As of now it will detect slices that contain specific classes at run time, meaning it needs
pytorch/nnunet/experiment_planning/utils.py:190
Functionadd_docstring
(doc_string=None)
keras/segmentation_models/utils.py:51
Methodadd_metric
(self, metric)
pytorch/nnunet/evaluation/evaluator.py:147
Functionaggregate_scores_for_experiment
(score_file, labels=None, metrics=Eval
pytorch/nnunet/evaluation/evaluator.py:403
Methodanalyse_segmentations
(self)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:113
Functionapply_brats_threshold
(fname, out_dir, threshold, replace_with)
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:37
Functionavg_surface_distance
(test=None, reference=None, confusion_matrix=None, nan_for_nonexisting=True, voxel_spacing=None, connectivity=
pytorch/nnunet/evaluation/metrics.py:350
Functionavg_surface_distance_symmetric
(test=None, reference=None, confusion_matrix=None, nan_for_nonexisting=True, voxel_spacing=None, connectivity=
pytorch/nnunet/evaluation/metrics.py:368
Functionbasic_conv_block
The identity block is the block that has no conv layer at shortcut. # Arguments input_tensor: input tensor kernel_size: default 3,
keras/segmentation_models/backbones/classification_models/classification_models/resnet/blocks.py:53
Functionbasic_identity_block
The identity block is the block that has no conv layer at shortcut. # Arguments kernel_size: default 3, the kernel size of mid
keras/segmentation_models/backbones/classification_models/classification_models/resnet/blocks.py:20
Functionbce_dice_loss
(y_true, y_pred)
keras/helper_functions.py:47
Methodcall
(self, inputs)
keras/segmentation_models/common/layers.py:71
Functioncollect_and_prepare
collect all cv_niftis, compute brats metrics, compute enh tumor thresholds and summarize in csv :param base_dir: :return:
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:122
Methodcompute_approx_vram_consumption
This only applies for num_conv_per_stage and convolutional_upsampling=True not real vram consumption. just a constant term to which t
pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py:478
Methodcompute_approx_vram_consumption
(patch_size, base_num_features, max_num_features, num_modalities, pool
pytorch/nnunet/network_architecture/generic_modular_UNet.py:162
Methodcompute_approx_vram_consumption
This only applies for num_blocks_per_stage and convolutional_upsampling=True not real vram consumption. just a constant term to which
pytorch/nnunet/network_architecture/generic_modular_UNet.py:287
Methodcompute_approx_vram_consumption
(patch_size, base_num_features, max_num_features, num_modalities, pool
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:113
Methodcompute_approx_vram_consumption
This only applies for num_conv_per_stage and convolutional_upsampling=True not real vram consumption. just a constant term to which t
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:232
Methodcompute_approx_vram_consumption
(patch_size, base_num_features, max_num_features, num_modalities, num_
pytorch/nnunet/network_architecture/generic_modular_residual_UNet.py:290
Methodcompute_approx_vram_consumption
This only applies for num_conv_per_stage and convolutional_upsampling=True not real vram consumption. just a constant term to which t
pytorch/nnunet/network_architecture/generic_hipp_XNet.py:447
Methodcompute_approx_vram_consumption
This only applies for num_conv_per_stage and convolutional_upsampling=True not real vram consumption. just a constant term to which t
pytorch/nnunet/network_architecture/generic_UNet.py:411
← previousnext →501–600 of 963, ranked by callers