MCPcopy Create free account

hub / github.com/RyanWangZf/MedCLIP / types & classes

Types & classes29 in github.com/RyanWangZf/MedCLIP

↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input res
medclip/vision_model.py:335
↓ 1 callersClassEvaluator
do evaluation on chexpert5x200 zero-shot classification
medclip/evaluator.py:15
↓ 1 callersClassImageTextContrastiveCollator
medclip/dataset.py:320
↓ 1 callersClassImageTextContrastiveDataset
medclip/dataset.py:156
↓ 1 callersClassImageTextContrastiveLoss
medclip/losses.py:7
↓ 1 callersClassMedCLIPFeatureExtractor
medclip/dataset.py:30
↓ 1 callersClassMedCLIPModel
medclip/modeling_medclip.py:129
↓ 1 callersClassMedCLIPTextModel
medclip/modeling_medclip.py:15
↓ 1 callersClassMlp
medclip/vision_model.py:14
↓ 1 callersClassPartiallyFixedEmbedding
medclip/modeling_medclip.py:335
↓ 1 callersClassPatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 256. patch_size (int): Patch token size. Default: 4.
medclip/vision_model.py:405
↓ 1 callersClassPromptClassifier
take MedCLIP model with prompts for zero-shot classification
medclip/modeling_medclip.py:242
↓ 1 callersClassSwinTransformerBlock
r""" Swin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion. n
medclip/vision_model.py:160
↓ 1 callersClassTrainer
trainer for single-gpu training.
medclip/trainer.py:20
↓ 1 callersClassUwinformer
r""" UWin Transformer A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https://arxiv
medclip/vision_model.py:451
↓ 1 callersClassWindowAttention
r""" Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. Ar
medclip/vision_model.py:63
↓ 1 callersClassZeroShotImageCollator
medclip/dataset.py:418
↓ 1 callersClassZeroShotImageDataset
medclip/dataset.py:365
ClassImageSuperviseLoss
medclip/losses.py:90
ClassMedCLIPProcessor
A processor that takes input images and texts and provides inputs for `MedCLIPModel`.
medclip/dataset.py:143
ClassMedCLIPVisionModel
take resnet50 as backbone.
medclip/modeling_medclip.py:45
ClassMedCLIPVisionModelViT
take an VIT model as the backbone.
medclip/modeling_medclip.py:84
ClassPatchMerging
r""" Patch Merging Layer. Args: input_resolution (tuple[int]): Resolution of input feature. dim (int): Number of input channels.
medclip/vision_model.py:286
ClassPromptTuningClassifier
take MedCLIP model with prompt tuning
medclip/modeling_medclip.py:360
ClassPromptTuningImageCollator
medclip/dataset.py:587
ClassPromptTuningImageDataset
medclip/dataset.py:532
ClassSuperviseClassifier
take MedCLIP model with linear heads for supervised classification on images.
medclip/modeling_medclip.py:282
ClassSuperviseImageCollator
medclip/dataset.py:507
ClassSuperviseImageDataset
medclip/dataset.py:454