MCPcopy Create free account

hub / github.com/MrGiovanni/UNetPlusPlus / functions

Functions963 in github.com/MrGiovanni/UNetPlusPlus

↓ 2 callersFunctionpretend_to_be_other_trainer
(folder, new_trainer_name, checkpoints=("model_best.model.pkl", "model_final_checkpoint.model.pkl"))
pytorch/nnunet/inference/change_trainer.py:23
↓ 2 callersFunctionremove_trailing_slash
(filename: str)
pytorch/nnunet/utilities/file_endings.py:19
↓ 2 callersMethodresample_and_normalize
data and seg must already have been transposed by transpose_forward. properties are the un-transposed values (spacing etc) :p
pytorch/nnunet/preprocessing/preprocessing.py:225
↓ 2 callersMethodreset
(self)
pytorch/nnunet/evaluation/metrics.py:51
↓ 2 callersFunctionreverse_axes
(image)
pytorch/nnunet/dataset_conversion/Task056_Verse_normalize_orientation.py:25
↓ 2 callersMethodrun
(self, target_spacings, input_folder_with_cropped_npz, output_folder, data_identifier, num_threads
pytorch/nnunet/preprocessing/preprocessing.py:575
↓ 2 callersFunctionrun_in_folder
(folder)
pytorch/nnunet/evaluation/add_mean_dice_to_json.py:42
↓ 2 callersMethodrun_online_evaluation
(self, tp_hard, fp_hard, fn_hard)
pytorch/nnunet/training/network_training/nnUNetTrainerV2_DP.py:219
↓ 2 callersMethodrun_online_evaluation
(self, output, target)
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_dummyLoad.py:128
↓ 2 callersMethodsave_my_plans
(self)
pytorch/nnunet/experiment_planning/experiment_planner_baseline_3DUNet.py:81
↓ 2 callersMethodsave_properties_of_cropped
(self, case_identifier, properties)
pytorch/nnunet/experiment_planning/experiment_planner_baseline_3DUNet.py:371
↓ 2 callersFunctionsensitivity
TP / (TP + FN)
pytorch/nnunet/evaluation/metrics.py:159
↓ 2 callersMethodset_device
(self, device)
pytorch/nnunet/network_architecture/neural_network.py:38
↓ 2 callersMethodset_labels
Set the labels. :param labels= may be a dictionary (int->str), a set (of ints), a tuple (of ints) or a list (of ints). Labels will onl
pytorch/nnunet/evaluation/evaluator.py:109
↓ 2 callersMethodsetup_DA_params
(self)
pytorch/nnunet/training/network_training/nnUNetTrainerCascadeFullRes.py:90
↓ 2 callersMethodsetup_DA_params
(self)
pytorch/nnunet/training/network_training/nnUNetTrainer.py:153
↓ 2 callersMethodsetup_DA_params
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_DA3.py:188
↓ 2 callersFunctionspecificity
TN / (TN + FP)
pytorch/nnunet/evaluation/metrics.py:183
↓ 2 callersFunctionsplit_4d
(input_folder, num_processes=default_num_threads, overwrite_task_output_id=None)
pytorch/nnunet/experiment_planning/utils.py:31
↓ 2 callersFunctionswap_flip_dimensions
(cosine_matrix, image, header=None)
pytorch/nnunet/dataset_conversion/Task056_Verse_normalize_orientation.py:60
↓ 2 callersMethodupdate_fold
used to swap between folds for inference (ensemble of models from cross-validation) DO NOT USE DURING TRAINING AS THIS WILL NOT UPDAT
pytorch/nnunet/training/network_training/nnUNetTrainer.py:134
↓ 2 callersMethodupdate_loss
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_graduallyTransitionFromCEToDice.py:28
↓ 2 callersMethodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: int = 0.5, save
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:158
↓ 2 callersFunctionverify_same_geometry
(img_1: sitk.Image, img_2: sitk.Image)
pytorch/nnunet/preprocessing/sanity_checks.py:45
↓ 1 callersFunctionDUC
(factor=(8, 8))
keras/segmentation_models/pspnet/blocks.py:52
↓ 1 callersFunctionDecoderBlock
(stage, filters=None, kernel_size=(3,3), upsample_rate=(2,2
keras/segmentation_models/linknet/blocks.py:119
↓ 1 callersFunctionPyramidPoolingModule
Build the Pyramid Pooling Module.
keras/segmentation_models/pspnet/blocks.py:77
↓ 1 callersFunctionUNetPlusPlus
(img_rows, img_cols, color_type=1, num_class=1, deep_supervision=False)
keras/helper_functions.py:199
↓ 1 callersFunctionU_Net
(img_rows, img_cols, color_type=1, num_class=1)
keras/helper_functions.py:92
↓ 1 callersFunctionUpsampleBlock
(filters, upsample_rate, kernel_size, use_batchnorm=Fals
keras/segmentation_models/linknet/blocks.py:80
↓ 1 callersMethod__init__
This is the basic data loader for 3D networks. It uses preprocessed data as produced by my (Fabian) preprocessing. You can load the d
pytorch/nnunet/training/dataloading/dataset_loading.py:156
↓ 1 callersMethod__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_Loss_MCC.py:22
↓ 1 callersMethod__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_Loss_Dice.py:22
↓ 1 callersMethod__init__
Compute focal loss for binary classification problem.
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_focalLoss.py:122
↓ 1 callersMethod__init__
(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_Loss_Dice_lr1en3.py:21
↓ 1 callersMethod__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:20
↓ 1 callersMethod__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:45
↓ 1 callersMethod__init__
(self)
pytorch/nnunet/network_architecture/neural_network.py:29
↓ 1 callersMethod__init__
(self, *args, **kwargs)
pytorch/nnunet/network_architecture/custom_modules/helperModules.py:20
↓ 1 callersMethod__init__
(self, test=None, reference=None, labels=None,
pytorch/nnunet/evaluation/evaluator.py:60
↓ 1 callersMethod_check_if_all_in_one_region
(seg, regions)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:51
↓ 1 callersMethod_collect_class_and_region_sizes
(seg, all_classes, vol_per_voxel)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:65
↓ 1 callersMethod_compute_stats
(voxels)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:177
↓ 1 callersFunction_get_layer_by_factor
(backbone_name, factor)
keras/segmentation_models/pspnet/model.py:23
↓ 1 callersMethod_internal_predict_3D_2Dconv
(self, x: np.ndarray, min_size: Tuple[int, int], do_mirroring: bool, mirro
pytorch/nnunet/network_architecture/neural_network.py:736
↓ 1 callersMethod_internal_predict_3D_2Dconv_tiled
(self, x: np.ndarray, patch_size: Tuple[int, int], do_mirroring: bool,
pytorch/nnunet/network_architecture/neural_network.py:786
↓ 1 callersMethod_internal_predict_3D_3Dconv
This one does fully convolutional inference. No sliding window
pytorch/nnunet/network_architecture/neural_network.py:463
↓ 1 callersMethod_internal_predict_3D_3Dconv_tiled
(self, x: np.ndarray, step_size: float, do_mirroring: bool, mirror_axes: tuple,
pytorch/nnunet/network_architecture/neural_network.py:287
↓ 1 callersFunction_shape_guard
(factor, shape)
keras/segmentation_models/pspnet/model.py:35
↓ 1 callersMethod_verify_steps
(self, steps, patch_size, image_size, step_size)
pytorch/tests/test_steps_for_sliding_window_prediction.py:25
↓ 1 callersFunctionassert_shape
(test, reference)
pytorch/nnunet/evaluation/metrics.py:19
↓ 1 callersFunctionbuild_fpn
Implementation of FPN head for segmentation models according to: http://presentations.cocodataset.org/COCO17-Stuff-FAIR.pdf Args:
keras/segmentation_models/fpn/builder.py:14
↓ 1 callersFunctionbuild_linknet
(backbone, classes, skip_connection_layers, decoder_filt
keras/segmentation_models/linknet/builder.py:9
↓ 1 callersFunctionbuild_nestnet
(backbone, classes, skip_connection_layers, decoder_filters=(256,128,64,32,16),
keras/segmentation_models/nestnet/builder.py:12
↓ 1 callersFunctionbuild_psp
(backbone, psp_layer, last_upsampling_factor, classes=21,
keras/segmentation_models/pspnet/builder.py:23
↓ 1 callersFunctionbuild_unet
(backbone, classes, skip_connection_layers, decoder_filters=(256,128,64,32,16),
keras/segmentation_models/unet/builder.py:10
↓ 1 callersFunctionbuild_xnet
(backbone, classes, skip_connection_layers, decoder_filters=(256,128,64,32,16),
keras/segmentation_models/xnet/builder.py:12
↓ 1 callersFunctioncheck_input_folder_and_return_caseIDs
(input_folder, expected_num_modalities)
pytorch/nnunet/inference/predict.py:537
↓ 1 callersMethodcollect_intensity_properties
(self, num_modalities)
pytorch/nnunet/experiment_planning/DatasetAnalyzer.py:189
↓ 1 callersFunctioncompress_everything
(output_base, num_processes=8)
pytorch/nnunet/inference/pretrained_models/collect_pretrained_models.py:114
↓ 1 callersFunctioncompress_folder
inspired by https://stackoverflow.com/questions/1855095/how-to-create-a-zip-archive-of-a-directory-in-python
pytorch/nnunet/inference/pretrained_models/collect_pretrained_models.py:126
↓ 1 callersFunctioncompute_iou
(im1, im2)
keras/helper_functions.py:51
↓ 1 callersMethodcompute_reference_for_vram_consumption_2d
()
pytorch/nnunet/network_architecture/generic_modular_UNet.py:371
↓ 1 callersMethodcompute_reference_for_vram_consumption_3d
()
pytorch/nnunet/network_architecture/generic_modular_UNet.py:356
↓ 1 callersFunctionconvert_2d_to_3d_generator
(data_dict)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:70
↓ 1 callersFunctionconvert_3d_to_2d_generator
(data_dict)
pytorch/nnunet/training/data_augmentation/custom_transforms.py:60
↓ 1 callersFunctionconvert_labels_back_to_BraTS
(seg: np.ndarray)
pytorch/nnunet/dataset_conversion/Task032_BraTS_2018.py:26
↓ 1 callersFunctionconvert_to_instance_seg
(arr: np.ndarray, spacing: tuple = (0.2, 0.125, 0.125))
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:162
↓ 1 callersFunctionconvert_to_instance_seg
(arr: np.ndarray, spacing: tuple = (0.125, 0.125), small_center_threshold: int = 30,
pytorch/nnunet/dataset_conversion/Task089_Fluo-N2DH-SIM.py:142
↓ 1 callersFunctionconvert_to_instance_seg2
(arr: np.ndarray, spacing: tuple = (0.2, 0.125, 0.125), small_center_threshold=30,
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:197
↓ 1 callersFunctioncopy_fold
(in_folder: str, out_folder: str)
pytorch/nnunet/inference/pretrained_models/collect_pretrained_models.py:26
↓ 1 callersFunctioncopy_model
:param directory: must have the 5 fold_X subfolders as well as a postprocessing.json and plans.pkl :param output_directory: :return:
pytorch/nnunet/inference/pretrained_models/collect_pretrained_models.py:36
↓ 1 callersFunctioncrawl_and_copy
This script will run recursively through all subfolders of current_folder and copy all files that end with suffix with some automatically gen
pytorch/nnunet/evaluation/collect_results_files.py:20
↓ 1 callersFunctioncrawl_and_remove_hidden_from_decathlon
(folder)
pytorch/nnunet/experiment_planning/nnUNet_convert_decathlon_task.py:20
↓ 1 callersFunctioncreate_nonzero_mask
(data)
pytorch/nnunet/preprocessing/cropping.py:23
↓ 1 callersMethodcrop
(data, properties, seg=None)
pytorch/nnunet/preprocessing/cropping.py:139
↓ 1 callersFunctioncrop_to_nonzero
:param data: :param seg: :param nonzero_label: this will be written into the segmentation map :return:
pytorch/nnunet/preprocessing/cropping.py:84
↓ 1 callersFunctiondetermine_brats_postprocessing
(folder_with_preds, folder_with_gt, postprocessed_output_dir, processes=8, thresholds=(0, 10, 50, 100,
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:91
↓ 1 callersMethoddetermine_shapes
(self)
pytorch/nnunet/training/dataloading/dataset_loading.py:207
↓ 1 callersMethoddetermine_shapes
(self)
pytorch/nnunet/training/dataloading/dataset_loading.py:429
↓ 1 callersMethoddisplay
Display Configuration values.
keras/BRATS2013_application.py:143
↓ 1 callersFunctiondownload_and_install_pretrained_model_by_name
(taskname)
pytorch/nnunet/inference/pretrained_models/download_pretrained_model.py:199
↓ 1 callersFunctiondownsample_seg_for_ds_transform2
(seg, ds_scales=((1, 1, 1), (0.5, 0.5, 0.5), (0.25, 0.25, 0.25)), order=0, cval=0, axes=None)
pytorch/nnunet/training/data_augmentation/downsampling.py:88
↓ 1 callersFunctiondownsample_seg_for_ds_transform3
(seg, ds_scales=((1, 1, 1), (0.5, 0.5, 0.5), (0.25, 0.25, 0.25)), classes=None)
pytorch/nnunet/training/data_augmentation/downsampling.py:45
↓ 1 callersFunctionevaluate_BraTS_case
attempting to reimplement the brats evaluation scheme assumes edema=1, non_enh=2, enh=3 :param arr: :param arr_gt: :return:
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:351
↓ 1 callersFunctionexport_pretrained_model
(task_name: str, output_file: str, models: tuple = ("2d", "3d_lowres", "3d_fullres
pytorch/nnunet/inference/pretrained_models/collect_pretrained_models.py:143
↓ 1 callersFunctionfalse_omission_rate
FN / (TN + FN)
pytorch/nnunet/evaluation/metrics.py:228
↓ 1 callersFunctionfind_task_name
(folder, task_id)
pytorch/nnunet/evaluation/model_selection/figure_out_what_to_submit.py:29
↓ 1 callersFunctionfind_weights
(weights_collection, model_name, dataset, include_top)
keras/segmentation_models/backbones/classification_models/classification_models/utils.py:4
↓ 1 callersMethodfinish_online_evaluation
Can be implemented, does not have to :return:
pytorch/nnunet/training/network_training/network_trainer.py:711
↓ 1 callersFunctionforeground_mean2
(filename)
pytorch/nnunet/evaluation/model_selection/summarize_results_in_one_json.py:203
↓ 1 callersFunctiongenerate_ball
(spacing, radius, dtype=int)
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:48
↓ 1 callersFunctiongenerate_border_as_suggested_by_twollmann
(label_img: np.ndarray, spacing, border_thickness: float = 2)
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:58
↓ 1 callersFunctiongenerate_border_as_suggested_by_twollmann_2d
(label_img: np.ndarray, spacing, border_thickness: float = 2)
pytorch/nnunet/dataset_conversion/Task089_Fluo-N2DH-SIM.py:56
↓ 1 callersFunctiongenerate_disk
(spacing, radius, dtype=int)
pytorch/nnunet/dataset_conversion/Task089_Fluo-N2DH-SIM.py:46
↓ 1 callersMethodget_basic_generators
(self)
pytorch/nnunet/training/network_training/nnUNetTrainerCascadeFullRes.py:74
↓ 1 callersMethodget_basic_generators
(self)
pytorch/nnunet/training/network_training/nnUNetTrainerV2_CascadeFullRes.py:74
↓ 1 callersFunctionget_bbox_from_mask
(mask, outside_value=0)
pytorch/nnunet/preprocessing/cropping.py:34
↓ 1 callersFunctionget_caseIDs_from_splitted_dataset_folder
(folder)
pytorch/nnunet/experiment_planning/utils.py:113
↓ 1 callersFunctionget_case_identifier
(case)
pytorch/nnunet/preprocessing/cropping.py:51
← previousnext →201–300 of 963, ranked by callers