MCPcopy Create free account

hub / github.com/MrGiovanni/UNetPlusPlus / functions

Functions963 in github.com/MrGiovanni/UNetPlusPlus

Functionload_convert_to_instance_save
(file_in: str, file_out: str, spacing)
pytorch/nnunet/dataset_conversion/Task089_Fluo-N2DH-SIM.py:201
Methodload_crop_save
(self, case, case_identifier, overwrite_existing=False)
pytorch/nnunet/preprocessing/cropping.py:157
Methodload_dataset
(self)
pytorch/nnunet/training/network_training/network_trainer.py:146
Functionload_evaluate
(filename_gt: str, filename_pred: str)
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:383
Functionload_instanceseg_save
(in_file: str, out_file:str, better: bool)
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:256
Methodload_my_plans
(self)
pytorch/nnunet/experiment_planning/experiment_planner_baseline_3DUNet.py:85
Functionload_niftis_threshold_compute_dice
(gt_file, pred_file, thresholds: Tuple[list, tuple])
pytorch/nnunet/dataset_conversion/Task082_BraTS_2020.py:49
Methodload_pretrained_weights
(self,fname)
pytorch/nnunet/training/network_training/network_trainer.py:316
Methodload_properties
(self, case_identifier)
pytorch/nnunet/preprocessing/cropping.py:209
Functionload_remove_save
(input_file: str, output_file: str, for_which_classes: list, minimum_valid_object_size: d
pytorch/nnunet/postprocessing/connected_components.py:30
Functionload_save_test
(args)
pytorch/nnunet/dataset_conversion/Task029_LiverTumorSegmentationChallenge.py:80
Functionload_save_train
(args)
pytorch/nnunet/dataset_conversion/Task029_LiverTumorSegmentationChallenge.py:68
Functionload_tiff_convert_to_nifti
(img_file, lab_file, img_out_base, anno_out, spacing)
pytorch/nnunet/dataset_conversion/Task075_Fluo_C3DH_A549_ManAndSim.py:24
Functionmain
()
pytorch/nnunet/inference/change_trainer.py:38
Functionmanual_postprocess
This was not used. I was just curious because others used this. Turns out this is not necessary for my networks
pytorch/nnunet/dataset_conversion/Task040_KiTS.py:87
Functionmaybe_add_0000_to_all_niigz
(folder)
pytorch/nnunet/utilities/file_endings.py:25
Methodmaybe_update_lr
(self, epoch=None)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_ReduceOnPlateau.py:36
Methodmaybe_update_lr
(self, epoch=None)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_fixedSchedule.py:25
Methodmaybe_update_lr
(self, epoch=None)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Adam_ReduceOnPlateau.py:41
Methodmaybe_update_lr
here we go one step, then use polyLR :param epoch: :return:
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_fixedSchedule2.py:26
Methodmaybe_update_lr
(self, epoch=None)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_cycleAtEnd.py:51
Methodmaybe_update_lr
(self, epoch=None)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_cycleAtEnd.py:77
Functionmean_iou
(y_true, y_pred)
keras/helper_functions.py:25
Functionmerge
(args)
pytorch/nnunet/evaluation/model_selection/ensemble.py:26
Functionmerge_files
(files, properties_files, out_file, override, store_npz)
pytorch/nnunet/inference/ensemble_predictions.py:26
Functionmodule
(input_tensor)
keras/segmentation_models/pspnet/blocks.py:95
Functionnegative_predictive_value
TN / (TN + FN)
pytorch/nnunet/evaluation/metrics.py:264
FunctionnnUNetTrainer_these
changes best checkpoint pickle nnunettrainer class name to nnUNetTrainer :param experiments: :return:
pytorch/nnunet/dataset_conversion/Task040_KiTS.py:172
Functionnormalized_surface_dice
This implementation differs from the official surface dice implementation! These two are not comparable!!!!! The normalized surface dice is
pytorch/nnunet/evaluation/surface_dice.py:20
Methodon_epoch_end
overwrite patient-based early stopping. Always run to 1000 epochs :return:
pytorch/nnunet/training/network_training/nnUNetTrainerV2.py:390
Methodon_epoch_end
overwrite patient-based early stopping. Always run to 1000 epochs :return:
pytorch/nnunet/training/network_training/nnUNetPlusPlusTrainerV2.py:390
Methodon_epoch_end
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/miscellaneous/nnUNetTrainerV2_fullEvals.py:155
Methodon_epoch_end
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_graduallyTransitionFromCEToDice.py:50
Methodon_epoch_end
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_SGD_ReduceOnPlateau.py:49
Methodon_epoch_end
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_reduceMomentumDuringTraining.py:44
Methodon_epoch_end
(self)
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_Adam_ReduceOnPlateau.py:54
Functionpack_dataset
(folder, threads=default_num_threads, key="data")
pytorch/nnunet/training/dataloading/dataset_loading.py:73
Functionplot_cycle_lr
()
pytorch/nnunet/training/network_training/nnUNet_variants/optimizer_and_lr/nnUNetTrainerV2_cycleAtEnd.py:31
Functionplot_images
(folder, output_folder)
pytorch/nnunet/dataset_conversion/Task076_Fluo_N3DH_SIM.py:148
Methodplot_network_architecture
(self)
pytorch/nnunet/training/network_training/nnUNetTrainer.py:276
Methodplot_progress
(self)
pytorch/nnunet/training/network_training/nnUNetTrainerV2_DDP.py:117
Methodpredict_2D
Use this function to predict a 2D image. If this is a 3D U-Net it will crash because you cannot predict a 2D image with that (you dum
pytorch/nnunet/network_architecture/neural_network.py:165
Methodpredict_3D_pseudo3D_2Dconv
(self, x: np.ndarray, min_size: Tuple[int, int], do_mirroring: bool, mirror
pytorch/nnunet/network_architecture/neural_network.py:754
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNetTrainerV2_DDP.py:365
Methodpredict_preprocessed_data_return_seg_and_softmax
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
pytorch/nnunet/training/network_training/nnUNetTrainerV2.py:198
Methodpredict_preprocessed_data_return_seg_and_softmax
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
pytorch/nnunet/training/network_training/nnUNetPlusPlusTrainerV2.py:198
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_dummyLoad.py:85
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:65
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:91
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:165
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:241
Methodpredict_preprocessed_data_return_seg_and_softmax
(self, data: np.ndarray, do_mirroring: bool = True, m
pytorch/nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet.py:68
Functionprepare_submission
()
pytorch/nnunet/dataset_conversion/Task061_CREMI.py:50
Functionprepare_submission
(fld= "/home/fabian/drives/datasets/results/nnUNet/test_sets/Task048_KiTS_clean/predicted_ens_3d_fullres_3d_ca
pytorch/nnunet/dataset_conversion/Task040_KiTS.py:138
Functionpreprocess_input
Preprocesses a numpy array encoding a batch of images. # Arguments x: a 4D numpy array consists of RGB values within [0, 255]. # Retur
keras/segmentation_models/backbones/inception_v3.py:395
Functionpreprocess_input
Preprocesses a numpy array encoding a batch of images. # Arguments x: a 4D numpy array consists of RGB values within [0, 255]. # Retur
keras/segmentation_models/backbones/inception_resnet_v2.py:49
Functionpreprocess_input
input standardizing function Args: x: numpy.ndarray with shape (H, W, C) size: tuple (H_new, W_new), resized input shape Retur
keras/segmentation_models/backbones/classification_models/classification_models/resnet/preprocessing.py:4
Functionpreprocess_input
input standardizing function Args: x: numpy.ndarray with shape (H, W, C) size: tuple (H_new, W_new), resized input shape Retur
keras/segmentation_models/backbones/classification_models/classification_models/resnext/preprocessing.py:4
Methodpreprocess_predict_nifti
Use this to predict new data :param input_files: :param output_file: :param softmax_ouput_file: :param mixed_
pytorch/nnunet/training/network_training/nnUNetTrainer.py:444
Methodpreprocess_predict_nifti
Use this to predict new data :param input_files: :param output_file: :param softmax_ouput_file: :param mixed_
pytorch/nnunet/training/network_training/nnUNet_variants/resampling/nnUNetTrainerV2_resample33.py:28
Functionpreprocess_save_to_queue
(preprocess_fn, q, list_of_lists, output_files, segs_from_prev_stage, classes, tr
pytorch/nnunet/inference/predict.py:35
Functionpretend_to_be_nnUNetTrainer
(folder, checkpoints=("model_best.model.pkl", "model_final_checkpoint.model.pkl"))
pytorch/nnunet/inference/change_trainer.py:19
Functionprint_available_pretrained_models
()
pytorch/nnunet/inference/pretrained_models/download_pretrained_model.py:190
Functionprint_if_rank0
(*args)
pytorch/nnunet/utilities/distributed.py:22
Functionprint_module_training_status
(module)
pytorch/nnunet/network_architecture/generic_UNetPlusPlus.py:145
Functionprint_module_training_status
(module)
pytorch/nnunet/network_architecture/generic_XNet.py:145
Functionprint_module_training_status
(module)
pytorch/nnunet/network_architecture/generic_hipp_XNet.py:145
Functionprint_module_training_status
(module)
pytorch/nnunet/network_architecture/generic_UNet.py:145
Functionprint_pretrained_model_requirements
()
pytorch/nnunet/inference/pretrained_models/download_pretrained_model.py:310
Functionreduced_focal_loss
Compute reduced focal loss between target and output logits. Source https://github.com/BloodAxe/pytorch-toolbelt See :class:`~pytorch_too
pytorch/nnunet/training/network_training/nnUNet_variants/loss_function/nnUNetTrainerV2_focalLoss.py:69
Functionremove_all_but_the_two_largest_conn_comp
This was not used. I was just curious because others used this. Turns out this is not necessary for my networks
pytorch/nnunet/dataset_conversion/Task040_KiTS.py:63
Functionreorient
(filename)
pytorch/nnunet/dataset_conversion/Task062_NIHPancreas.py:24
Functionreorient_to_RAS
(img_fname: str, output_fname: str = None)
pytorch/nnunet/preprocessing/sanity_checks.py:231
Methodresample_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:395
Methodresample_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:482
Methodresample_and_normalize
(self, data, target_spacing, properties, seg=None, force_separate_z=None)
pytorch/nnunet/preprocessing/preprocessing.py:603
Methodresample_and_normalize
(self, data, target_spacing, properties, seg=None, force_separate_z=None)
pytorch/nnunet/preprocessing/preprocessing.py:672
Functionresample_and_save
(predicted, target_shape, output_file, force_separate_z=False, interpolation_order=1,
pytorch/nnunet/training/cascade_stuff/predict_next_stage.py:31
Functionreset_trainerName_these
changes best checkpoint pickle nnunettrainer class name to nnUNetTrainer :param experiments: :return:
pytorch/nnunet/dataset_conversion/Task040_KiTS.py:186
Functionrestore_original_slice_orientation
(mask, header)
pytorch/nnunet/dataset_conversion/Task056_Verse_normalize_orientation.py:91
Functionreverse
Reverse list
keras/segmentation_models/utils.py:45
Methodrun
:param target_spacings: list of lists [[1.25, 1.25, 5]] :param input_folder_with_cropped_npz: dim: c, x, y, z | npz_file['data'] np.
pytorch/nnunet/preprocessing/preprocessing.py:353
Functionrun_evaluation
(args)
pytorch/nnunet/evaluation/evaluator.py:306
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNetTrainerV2_DDP.py:216
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNetTrainerV2_DP.py:171
Methodrun_iteration
gradient clipping improves training stability :param data_generator: :param do_backprop: :param run_online_evaluatio
pytorch/nnunet/training/network_training/nnUNetTrainerV2.py:216
Methodrun_iteration
gradient clipping improves training stability :param data_generator: :param do_backprop: :param run_online_evaluatio
pytorch/nnunet/training/network_training/nnUNetPlusPlusTrainerV2.py:216
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_dummyLoad.py:35
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_dummyLoad.py:102
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:102
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py:176
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:314
Methodrun_online_evaluation
(self, output, target)
pytorch/nnunet/training/network_training/nnUNetTrainer.py:673
Methodrun_online_evaluation
due to deep supervision the return value and the reference are now lists of tensors. We only need the full resolution output because
pytorch/nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_softDeepSupervision.py:116
Methodrun_online_evaluation
(self, output, target)
pytorch/nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_noDeepSupervision.py:164
Methodrun_online_evaluation
(self, output, target)
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:168
Methodrun_online_evaluation
(self, output, target)
pytorch/nnunet/training/network_training/BraTS_trainer/nnUNetTrainerV2BraTSRegions.py:506
Methodrun_preprocessing
(self, num_threads)
pytorch/nnunet/experiment_planning/alternative_experiment_planning/experiment_planner_baseline_3DUNet_v21_3convperstage.py:39
Methodrun_preprocessing
On all datasets except 3d fullres on spleen the preprocessed data would look identical to ExperimentPlanner3D_v21 (I tested decathlon
pytorch/nnunet/experiment_planning/alternative_experiment_planning/experiment_planner_residual_3DUNet_v21.py:124
Methodrun_preprocessing
(self, num_threads)
pytorch/nnunet/experiment_planning/alternative_experiment_planning/pooling_and_convs/experiment_planner_baseline_3DUNet_allConv3x3.py:136
← previousnext →801–900 of 963, ranked by callers