MCPcopy Create free account

hub / github.com/MediaBrain-SJTU/MedKLIP / functions

Functions595 in github.com/MediaBrain-SJTU/MedKLIP

Functioncreate_loader
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
PreTrain_MedKLIP/dataset/dataset.py:98
Functioncreate_loader
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
Sample_zero-shot_Classification_CXR14/dataset/dataset.py:61
Functioncreate_loader_RSNA
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
Sample_Zero-Shot_Grounding_RSNA/dataset/dataset_RSNA.py:77
Functioncreate_loader_RSNA
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
Sample_Finetuning_SIIMACR/I1_classification/dataset/dataset_siim_acr.py:80
Functioncreate_loader_RSNA
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/dataset_siim_acr.py:59
Methodcreate_token_type_ids_from_sequences
Create a mask from the two sequences passed to be used in a sequence-pair classification task. A BERT sequence pair mask has the foll
PreTrain_MedKLIP/models/tokenization_bert.py:296
Methodcreate_token_type_ids_from_sequences
Create a mask from the two sequences passed to be used in a sequence-pair classification task. A BERT sequence pair mask has the foll
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:296
Methodcreate_token_type_ids_from_sequences
Create a mask from the two sequences passed to be used in a sequence-pair classification task. A BERT sequence pair mask has the foll
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:296
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
PreTrain_MedKLIP/dataset/randaugment.py:194
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:194
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:194
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:194
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
PreTrain_MedKLIP/dataset/randaugment.py:232
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:232
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:232
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:232
Methoddo_lower_case
(self)
PreTrain_MedKLIP/models/tokenization_bert.py:208
Methoddo_lower_case
(self)
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:208
Methoddo_lower_case
(self)
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:208
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
PreTrain_MedKLIP/dataset/randaugment.py:43
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:43
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:43
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:43
Functionf2_score
(y_true, y_pred, threshold=0.5)
Sample_Finetuning_SIIMACR/I2_segmentation/metric.py:4
Functionfbeta_score_threshold_matrix
(y_true, y_pred, threshold, beta=2, eps=1e-9)
Sample_Finetuning_SIIMACR/I2_segmentation/metric.py:64
Methodforward
(self, images,labels,smaple_index = None, is_train = True, no_cl= False, exclude_class= False)
PreTrain_MedKLIP/models/model_MedKLIP.py:141
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
PreTrain_MedKLIP/models/transformer.py:25
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
PreTrain_MedKLIP/models/transformer.py:132
Methodforward
(self, images,labels,smaple_index = None, is_train = True, no_cl= False)
Sample_Zero-Shot_Grounding_RSNA/models/model_MedKLIP.py:119
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
Sample_Zero-Shot_Grounding_RSNA/models/transformer.py:25
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
Sample_Zero-Shot_Grounding_RSNA/models/transformer.py:132
Methodforward
(self, img,linear_probe=False)
Sample_Finetuning_SIIMACR/I1_classification/models/resnet.py:25
Methodforward
(self, inputs, targets, smooth=1)
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:17
Methodforward
(self, x)
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:19
Methodforward
(self, x)
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:39
Methodforward
:param up_x: this is the output from the previous up block :param down_x: this is the output from the down block :return: ups
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:69
Methodforward
(self, img)
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:135
Methodforward
(self, images)
Sample_zero-shot_Classification_CXR14/models/model_MedKLIP.py:113
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
Sample_zero-shot_Classification_CXR14/models/transformer.py:25
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
Sample_zero-shot_Classification_CXR14/models/transformer.py:132
Methodget_cycle_length
(self, cycles=0)
PreTrain_MedKLIP/scheduler/cosine_lr.py:110
Methodget_cycle_length
(self, cycles=0)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/cosine_lr.py:110
Methodget_cycle_length
(self, cycles=0)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/cosine_lr.py:110
Methodget_epoch_values
(self, epoch: int)
PreTrain_MedKLIP/scheduler/tanh_lr.py:101
Methodget_epoch_values
(self, epoch: int)
PreTrain_MedKLIP/scheduler/cosine_lr.py:98
Methodget_epoch_values
(self, epoch: int)
PreTrain_MedKLIP/scheduler/step_lr.py:53
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/tanh_lr.py:101
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/cosine_lr.py:98
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/step_lr.py:53
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/tanh_lr.py:101
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/cosine_lr.py:98
Methodget_epoch_values
(self, epoch: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/step_lr.py:53
Methodget_special_tokens_mask
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the
PreTrain_MedKLIP/models/tokenization_bert.py:267
Methodget_special_tokens_mask
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:267
Methodget_special_tokens_mask
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:267
Methodget_update_values
(self, num_updates: int)
PreTrain_MedKLIP/scheduler/tanh_lr.py:107
Methodget_update_values
(self, num_updates: int)
PreTrain_MedKLIP/scheduler/cosine_lr.py:104
Methodget_update_values
(self, num_updates: int)
PreTrain_MedKLIP/scheduler/step_lr.py:59
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/tanh_lr.py:107
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/cosine_lr.py:104
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/step_lr.py:59
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/tanh_lr.py:107
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/cosine_lr.py:104
Methodget_update_values
(self, num_updates: int)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/step_lr.py:59
Methodget_vocab
(self)
PreTrain_MedKLIP/models/tokenization_bert.py:215
Methodget_vocab
(self)
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:215
Methodget_vocab
(self)
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:215
Functionget_weight
(targets)
Sample_Finetuning_SIIMACR/I2_segmentation/metric.py:111
Functionget_world_size
()
PreTrain_MedKLIP/utils.py:219
Functionget_world_size
()
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:241
Methodglobal_avg
(self)
PreTrain_MedKLIP/utils.py:53
Methodglobal_avg
(self)
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:75
Functionidentity_func
(img)
PreTrain_MedKLIP/dataset/randaugment.py:6
Functionidentity_func
(img)
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:6
Functionidentity_func
(img)
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:6
Functionidentity_func
(img)
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:6
Functioninit_distributed_mode
(args)
PreTrain_MedKLIP/utils.py:240
Functioninit_distributed_mode
(args)
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:262
Methodis_second_order
(self)
PreTrain_MedKLIP/optim/adahessian.py:55
Methodis_second_order
(self)
Sample_Finetuning_SIIMACR/I1_classification/optim/adahessian.py:55
Methodis_second_order
(self)
Sample_Finetuning_SIIMACR/I2_segmentation/optim/adahessian.py:55
Functionlevel_to_args
(level)
PreTrain_MedKLIP/dataset/randaugment.py:209
Functionlevel_to_args
(level)
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:209
Functionlevel_to_args
(level)
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:209
Functionlevel_to_args
(level)
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:209
Methodload_state_dict
(self, state_dict)
PreTrain_MedKLIP/scheduler/plateau_lr.py:66
Methodload_state_dict
(self, state_dict: Dict[str, Any])
PreTrain_MedKLIP/scheduler/scheduler.py:58
Methodload_state_dict
(self, state_dict)
Sample_Finetuning_SIIMACR/I1_classification/scheduler/plateau_lr.py:66
Methodload_state_dict
(self, state_dict: Dict[str, Any])
Sample_Finetuning_SIIMACR/I1_classification/scheduler/scheduler.py:58
Methodload_state_dict
(self, state_dict)
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/plateau_lr.py:66
Methodload_state_dict
(self, state_dict: Dict[str, Any])
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/scheduler.py:58
Methodmedian
(self)
PreTrain_MedKLIP/utils.py:43
Methodmedian
(self)
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:65
Functionnone_level_to_args
(level)
PreTrain_MedKLIP/dataset/randaugment.py:247
Functionnone_level_to_args
(level)
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:247
Functionnone_level_to_args
(level)
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:247
Functionnone_level_to_args
(level)
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:247
Functionposterize_func
same output as PIL.ImageOps.posterize
PreTrain_MedKLIP/dataset/randaugment.py:179
Functionposterize_func
same output as PIL.ImageOps.posterize
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:179
Functionposterize_func
same output as PIL.ImageOps.posterize
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:179
← previousnext →401–500 of 595, ranked by callers