Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MediaBrain-SJTU/MedKLIP
/ types & classes
Types & classes
91 in github.com/MediaBrain-SJTU/MedKLIP
⨍
Functions
595
◇
Types & classes
91
↓ 4 callers
Class
ConvBlock
Based on https://github.com/kevinlu1211/pytorch-unet-resnet-50-encoder/blob/master/u_net_resnet_50_encoder.py Helper module that consists of
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:6
↓ 4 callers
Class
UpBlockForUNetWithResNet50
Based on https://github.com/kevinlu1211/pytorch-unet-resnet-50-encoder/blob/master/u_net_resnet_50_encoder.py Up block that encapsulates one
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:43
↓ 3 callers
Class
SIIM_ACR_Dataset
Sample_Finetuning_SIIMACR/I1_classification/dataset/dataset_siim_acr.py:23
↓ 3 callers
Class
SIIM_ACR_Dataset
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/dataset_siim_acr.py:11
↓ 2 callers
Class
MedKLIP_Dataset
PreTrain_MedKLIP/dataset/dataset.py:12
↓ 2 callers
Class
ModelResUNet_ft
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:81
↓ 2 callers
Class
ModelRes_ft
Sample_Finetuning_SIIMACR/I1_classification/models/resnet.py:6
↓ 2 callers
Class
RandomAugment
PreTrain_MedKLIP/dataset/randaugment.py:310
↓ 2 callers
Class
RandomAugment
Sample_Finetuning_SIIMACR/I1_classification/dataset/randaugment.py:310
↓ 2 callers
Class
RandomAugment
Sample_zero-shot_Classification_CXR14/dataset/randaugment.py:310
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
PreTrain_MedKLIP/utils.py:11
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:33
↓ 1 callers
Class
Adafactor
Implements Adafactor algorithm. This implementation is based on: `Adafactor: Adaptive Learning Rates with Sublinear Memory Cost` (see https://
PreTrain_MedKLIP/optim/adafactor.py:16
↓ 1 callers
Class
Adafactor
Implements Adafactor algorithm. This implementation is based on: `Adafactor: Adaptive Learning Rates with Sublinear Memory Cost` (see https://
Sample_Finetuning_SIIMACR/I1_classification/optim/adafactor.py:16
↓ 1 callers
Class
Adafactor
Implements Adafactor algorithm. This implementation is based on: `Adafactor: Adaptive Learning Rates with Sublinear Memory Cost` (see https://
Sample_Finetuning_SIIMACR/I2_segmentation/optim/adafactor.py:16
↓ 1 callers
Class
Adahessian
Implements the AdaHessian algorithm from "ADAHESSIAN: An Adaptive Second OrderOptimizer for Machine Learning" Arguments: params (ite
PreTrain_MedKLIP/optim/adahessian.py:9
↓ 1 callers
Class
Adahessian
Implements the AdaHessian algorithm from "ADAHESSIAN: An Adaptive Second OrderOptimizer for Machine Learning" Arguments: params (ite
Sample_Finetuning_SIIMACR/I1_classification/optim/adahessian.py:9
↓ 1 callers
Class
Adahessian
Implements the AdaHessian algorithm from "ADAHESSIAN: An Adaptive Second OrderOptimizer for Machine Learning" Arguments: params (ite
Sample_Finetuning_SIIMACR/I2_segmentation/optim/adahessian.py:9
↓ 1 callers
Class
AdamP
PreTrain_MedKLIP/optim/adamp.py:16
↓ 1 callers
Class
AdamP
Sample_Finetuning_SIIMACR/I1_classification/optim/adamp.py:16
↓ 1 callers
Class
AdamP
Sample_Finetuning_SIIMACR/I2_segmentation/optim/adamp.py:16
↓ 1 callers
Class
BasicTokenizer
Constructs a BasicTokenizer that will run basic tokenization (punctuation splitting, lower casing, etc.). Args: do_lower_case (:obj:`
PreTrain_MedKLIP/models/tokenization_bert.py:342
↓ 1 callers
Class
BasicTokenizer
Constructs a BasicTokenizer that will run basic tokenization (punctuation splitting, lower casing, etc.). Args: do_lower_case (:obj:`
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:342
↓ 1 callers
Class
BasicTokenizer
Constructs a BasicTokenizer that will run basic tokenization (punctuation splitting, lower casing, etc.). Args: do_lower_case (:obj:`
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:342
↓ 1 callers
Class
Bridge
Based on https://github.com/kevinlu1211/pytorch-unet-resnet-50-encoder/blob/master/u_net_resnet_50_encoder.py
Sample_Finetuning_SIIMACR/I2_segmentation/models/resunet.py:27
↓ 1 callers
Class
Chestxray14_Dataset
Sample_zero-shot_Classification_CXR14/dataset/dataset.py:20
↓ 1 callers
Class
CosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
PreTrain_MedKLIP/scheduler/cosine_lr.py:19
↓ 1 callers
Class
CosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
Sample_Finetuning_SIIMACR/I1_classification/scheduler/cosine_lr.py:19
↓ 1 callers
Class
CosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/cosine_lr.py:19
↓ 1 callers
Class
DiceBCELoss
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:13
↓ 1 callers
Class
LandmarkObservationAdjacentMatrix
PreTrain_MedKLIP/data_file/preprocessing/adj_matrix.py:151
↓ 1 callers
Class
Lookahead
PreTrain_MedKLIP/optim/lookahead.py:12
↓ 1 callers
Class
Lookahead
Sample_Finetuning_SIIMACR/I1_classification/optim/lookahead.py:12
↓ 1 callers
Class
Lookahead
Sample_Finetuning_SIIMACR/I2_segmentation/optim/lookahead.py:12
↓ 1 callers
Class
MedKLIP
PreTrain_MedKLIP/models/model_MedKLIP.py:26
↓ 1 callers
Class
MedKLIP
Sample_Zero-Shot_Grounding_RSNA/models/model_MedKLIP.py:26
↓ 1 callers
Class
MedKLIP
Sample_zero-shot_Classification_CXR14/models/model_MedKLIP.py:26
↓ 1 callers
Class
Nadam
Implements Nadam algorithm (a variant of Adam based on Nesterov momentum). It has been proposed in `Incorporating Nesterov Momentum into Adam`__.
PreTrain_MedKLIP/optim/nadam.py:5
↓ 1 callers
Class
Nadam
Implements Nadam algorithm (a variant of Adam based on Nesterov momentum). It has been proposed in `Incorporating Nesterov Momentum into Adam`__.
Sample_Finetuning_SIIMACR/I1_classification/optim/nadam.py:5
↓ 1 callers
Class
Nadam
Implements Nadam algorithm (a variant of Adam based on Nesterov momentum). It has been proposed in `Incorporating Nesterov Momentum into Adam`__.
Sample_Finetuning_SIIMACR/I2_segmentation/optim/nadam.py:5
↓ 1 callers
Class
NovoGrad
PreTrain_MedKLIP/optim/novograd.py:12
↓ 1 callers
Class
NovoGrad
Sample_Finetuning_SIIMACR/I1_classification/optim/novograd.py:12
↓ 1 callers
Class
NovoGrad
Sample_Finetuning_SIIMACR/I2_segmentation/optim/novograd.py:12
↓ 1 callers
Class
NvNovoGrad
Implements Novograd algorithm. Args: params (iterable): iterable of parameters to optimize or dicts defining parameter g
PreTrain_MedKLIP/optim/nvnovograd.py:13
↓ 1 callers
Class
NvNovoGrad
Implements Novograd algorithm. Args: params (iterable): iterable of parameters to optimize or dicts defining parameter g
Sample_Finetuning_SIIMACR/I1_classification/optim/nvnovograd.py:13
↓ 1 callers
Class
NvNovoGrad
Implements Novograd algorithm. Args: params (iterable): iterable of parameters to optimize or dicts defining parameter g
Sample_Finetuning_SIIMACR/I2_segmentation/optim/nvnovograd.py:13
↓ 1 callers
Class
PlateauLRScheduler
Decay the LR by a factor every time the validation loss plateaus.
PreTrain_MedKLIP/scheduler/plateau_lr.py:12
↓ 1 callers
Class
PlateauLRScheduler
Decay the LR by a factor every time the validation loss plateaus.
Sample_Finetuning_SIIMACR/I1_classification/scheduler/plateau_lr.py:12
↓ 1 callers
Class
PlateauLRScheduler
Decay the LR by a factor every time the validation loss plateaus.
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/plateau_lr.py:12
↓ 1 callers
Class
RAdam
PreTrain_MedKLIP/optim/radam.py:10
↓ 1 callers
Class
RAdam
Sample_Finetuning_SIIMACR/I1_classification/optim/radam.py:10
↓ 1 callers
Class
RAdam
Sample_Finetuning_SIIMACR/I2_segmentation/optim/radam.py:10
↓ 1 callers
Class
RMSpropTF
Implements RMSprop algorithm (TensorFlow style epsilon) NOTE: This is a direct cut-and-paste of PyTorch RMSprop with eps applied before sqrt
PreTrain_MedKLIP/optim/rmsprop_tf.py:14
↓ 1 callers
Class
RMSpropTF
Implements RMSprop algorithm (TensorFlow style epsilon) NOTE: This is a direct cut-and-paste of PyTorch RMSprop with eps applied before sqrt
Sample_Finetuning_SIIMACR/I1_classification/optim/rmsprop_tf.py:14
↓ 1 callers
Class
RMSpropTF
Implements RMSprop algorithm (TensorFlow style epsilon) NOTE: This is a direct cut-and-paste of PyTorch RMSprop with eps applied before sqrt
Sample_Finetuning_SIIMACR/I2_segmentation/optim/rmsprop_tf.py:14
↓ 1 callers
Class
RSNA2018_Dataset
Sample_Zero-Shot_Grounding_RSNA/dataset/dataset_RSNA.py:23
↓ 1 callers
Class
RandomAugment
Sample_Finetuning_SIIMACR/I2_segmentation/dataset/randaugment.py:310
↓ 1 callers
Class
SGDP
PreTrain_MedKLIP/optim/sgdp.py:16
↓ 1 callers
Class
SGDP
Sample_Finetuning_SIIMACR/I1_classification/optim/sgdp.py:16
↓ 1 callers
Class
SGDP
Sample_Finetuning_SIIMACR/I2_segmentation/optim/sgdp.py:16
↓ 1 callers
Class
StepLRScheduler
PreTrain_MedKLIP/scheduler/step_lr.py:13
↓ 1 callers
Class
StepLRScheduler
Sample_Finetuning_SIIMACR/I1_classification/scheduler/step_lr.py:13
↓ 1 callers
Class
StepLRScheduler
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/step_lr.py:13
↓ 1 callers
Class
TanhLRScheduler
Hyberbolic-Tangent decay with restarts. This is described in the paper https://arxiv.org/abs/1806.01593
PreTrain_MedKLIP/scheduler/tanh_lr.py:18
↓ 1 callers
Class
TanhLRScheduler
Hyberbolic-Tangent decay with restarts. This is described in the paper https://arxiv.org/abs/1806.01593
Sample_Finetuning_SIIMACR/I1_classification/scheduler/tanh_lr.py:18
↓ 1 callers
Class
TanhLRScheduler
Hyberbolic-Tangent decay with restarts. This is described in the paper https://arxiv.org/abs/1806.01593
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/tanh_lr.py:18
↓ 1 callers
Class
TransformerDecoder
PreTrain_MedKLIP/models/transformer.py:16
↓ 1 callers
Class
TransformerDecoder
Sample_Zero-Shot_Grounding_RSNA/models/transformer.py:16
↓ 1 callers
Class
TransformerDecoder
Sample_zero-shot_Classification_CXR14/models/transformer.py:16
↓ 1 callers
Class
TransformerDecoderLayer
PreTrain_MedKLIP/models/transformer.py:59
↓ 1 callers
Class
TransformerDecoderLayer
Sample_Zero-Shot_Grounding_RSNA/models/transformer.py:59
↓ 1 callers
Class
TransformerDecoderLayer
Sample_zero-shot_Classification_CXR14/models/transformer.py:59
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
PreTrain_MedKLIP/models/tokenization_bert.py:488
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:488
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:488
Class
AdamW
r"""Implements AdamW algorithm. The original Adam algorithm was proposed in `Adam: A Method for Stochastic Optimization`_. The AdamW variant
PreTrain_MedKLIP/optim/adamw.py:9
Class
AdamW
r"""Implements AdamW algorithm. The original Adam algorithm was proposed in `Adam: A Method for Stochastic Optimization`_. The AdamW variant
Sample_Finetuning_SIIMACR/I1_classification/optim/adamw.py:9
Class
AdamW
r"""Implements AdamW algorithm. The original Adam algorithm was proposed in `Adam: A Method for Stochastic Optimization`_. The AdamW variant
Sample_Finetuning_SIIMACR/I2_segmentation/optim/adamw.py:9
Class
AttrDict
PreTrain_MedKLIP/utils.py:168
Class
AttrDict
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:190
Class
BertTokenizer
r""" Construct a BERT tokenizer. Based on WordPiece. This tokenizer inherits from :class:`~transformers.PreTrainedTokenizer` which contains mo
PreTrain_MedKLIP/models/tokenization_bert.py:117
Class
BertTokenizer
r""" Construct a BERT tokenizer. Based on WordPiece. This tokenizer inherits from :class:`~transformers.PreTrainedTokenizer` which contains mo
Sample_Zero-Shot_Grounding_RSNA/models/tokenization_bert.py:117
Class
BertTokenizer
r""" Construct a BERT tokenizer. Based on WordPiece. This tokenizer inherits from :class:`~transformers.PreTrainedTokenizer` which contains mo
Sample_zero-shot_Classification_CXR14/models/tokenization_bert.py:117
Class
MetricLogger
PreTrain_MedKLIP/utils.py:77
Class
MetricLogger
Sample_Finetuning_SIIMACR/I2_segmentation/utils.py:99
Class
PlainRAdam
PreTrain_MedKLIP/optim/radam.py:88
Class
PlainRAdam
Sample_Finetuning_SIIMACR/I1_classification/optim/radam.py:88
Class
PlainRAdam
Sample_Finetuning_SIIMACR/I2_segmentation/optim/radam.py:88
Class
Scheduler
Parameter Scheduler Base Class A scheduler base class that can be used to schedule any optimizer parameter groups. Unlike the builtin PyTorc
PreTrain_MedKLIP/scheduler/scheduler.py:6
Class
Scheduler
Parameter Scheduler Base Class A scheduler base class that can be used to schedule any optimizer parameter groups. Unlike the builtin PyTorc
Sample_Finetuning_SIIMACR/I1_classification/scheduler/scheduler.py:6
Class
Scheduler
Parameter Scheduler Base Class A scheduler base class that can be used to schedule any optimizer parameter groups. Unlike the builtin PyTorc
Sample_Finetuning_SIIMACR/I2_segmentation/scheduler/scheduler.py:6