Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HealthX-Lab/MedCLIP-SAMv2
/ types & classes
Types & classes
206 in github.com/HealthX-Lab/MedCLIP-SAMv2
⨍
Functions
1,090
◇
Types & classes
206
↳
Endpoints
7
↓ 16 callers
Class
PlansManager
weak_segmentation/nnunetv2/utilities/plans_handling/plans_handler.py:180
↓ 11 callers
Class
SimpleITKIO
weak_segmentation/nnunetv2/imageio/simpleitk_reader_writer.py:22
↓ 10 callers
Class
LimitedLenWrapper
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/limited_length_multithreaded_augmenter.py:4
↓ 10 callers
Class
nnUNetDataset
weak_segmentation/nnunetv2/training/dataloading/nnunet_dataset.py:11
↓ 7 callers
Class
DeepSupervisionWrapper
weak_segmentation/nnunetv2/training/loss/deep_supervision.py:4
↓ 7 callers
Class
nnUNetPredictor
weak_segmentation/nnunetv2/inference/predict_from_raw_data.py:37
↓ 5 callers
Class
LayerNorm2d
segment-anything/segment_anything/modeling/common.py:31
↓ 5 callers
Class
nnUNetDataLoader2D
weak_segmentation/nnunetv2/training/dataloading/data_loader_2d.py:6
↓ 5 callers
Class
nnUNetDataLoader3D
weak_segmentation/nnunetv2/training/dataloading/data_loader_3d.py:6
↓ 4 callers
Class
Attention
An attention layer that allows for downscaling the size of the embedding after projection to queries, keys, and values.
segment-anything/segment_anything/modeling/transformer.py:185
↓ 4 callers
Class
DataInfo
biomedclip_finetuning/open_clip/src/open_clip_train/data.py:62
↓ 4 callers
Class
LayerScale
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:39
↓ 4 callers
Class
PolyLRScheduler
weak_segmentation/nnunetv2/training/lr_scheduler/polylr.py:4
↓ 4 callers
Class
PreprocessCfg
biomedclip_finetuning/open_clip/src/open_clip/transform.py:17
↓ 4 callers
Class
dummy_context
weak_segmentation/nnunetv2/utilities/helpers.py:23
↓ 3 callers
Class
AttentionalPooler
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:187
↓ 3 callers
Class
AverageMeter
Computes and stores the average and current value
biomedclip_finetuning/open_clip/src/open_clip_train/train.py:23
↓ 3 callers
Class
CLIPTextCfg
biomedclip_finetuning/open_clip/src/open_clip/model.py:58
↓ 3 callers
Class
CLIPVisionCfg
biomedclip_finetuning/open_clip/src/open_clip/model.py:27
↓ 3 callers
Class
ConvertSegmentationToRegionsTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/region_based_training.py:7
↓ 3 callers
Class
DC_and_BCE_loss
weak_segmentation/nnunetv2/training/loss/compound_losses.py:60
↓ 3 callers
Class
DC_and_CE_loss
weak_segmentation/nnunetv2/training/loss/compound_losses.py:8
↓ 3 callers
Class
DownsampleSegForDSTransform2
data_dict['output_key'] will be a list of segmentations scaled according to ds_scales
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/deep_supervision_donwsampling.py:8
↓ 3 callers
Class
HFTokenizer
HuggingFace tokenizer wrapper
biomedclip_finetuning/open_clip/src/open_clip/tokenizer.py:403
↓ 3 callers
Class
InitWeights_He
weak_segmentation/nnunetv2/utilities/network_initialization.py:4
↓ 3 callers
Class
MaskData
A structure for storing masks and their related data in batched format. Implements basic filtering and concatenation.
segment-anything/segment_anything/utils/amg.py:16
↓ 3 callers
Class
MoveSegAsOneHotToData
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/cascade_transforms.py:10
↓ 3 callers
Class
TopKLoss
input must be logits, not probabilities!
weak_segmentation/nnunetv2/training/loss/robust_ce_loss.py:19
↓ 2 callers
Class
ApplyRandomBinaryOperatorTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/cascade_transforms.py:88
↓ 2 callers
Class
AugmentationCfg
biomedclip_finetuning/open_clip/src/open_clip/transform.py:62
↓ 2 callers
Class
BiomedCLIPEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`BiomedCLIPEncoderLayer`]. Args:
saliency_maps/model/modeling_biomed_clip.py:343
↓ 2 callers
Class
BiomedCLIPTextProjectionConfig
saliency_maps/model/configuration_biomed_clip.py:6
↓ 2 callers
Class
BiomedCLIPVisionTransformer
saliency_maps/model/modeling_biomed_clip.py:566
↓ 2 callers
Class
Bottleneck
biomedclip_finetuning/open_clip/src/open_clip/modified_resnet.py:10
↓ 2 callers
Class
CLIP
biomedclip_finetuning/open_clip/src/open_clip/model.py:222
↓ 2 callers
Class
Convert2DTo3DTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/transforms_for_dummy_2d.py:26
↓ 2 callers
Class
Convert3DTo2DTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/transforms_for_dummy_2d.py:6
↓ 2 callers
Class
CosSimilarity
Target function
saliency_maps/scripts/utils.py:47
↓ 2 callers
Class
HFTextEncoder
HuggingFace model adapter
biomedclip_finetuning/open_clip/src/open_clip/hf_model.py:96
↓ 2 callers
Class
IBAInterpreter
saliency_maps/scripts/iba.py:130
↓ 2 callers
Class
ImageFeatureExtractor
Image feature wrapper
saliency_maps/scripts/utils.py:56
↓ 2 callers
Class
LabelManager
weak_segmentation/nnunetv2/utilities/label_handling/label_handling.py:21
↓ 2 callers
Class
MLP
segment-anything/segment_anything/modeling/mask_decoder.py:154
↓ 2 callers
Class
MLPBlock
segment-anything/segment_anything/modeling/common.py:13
↓ 2 callers
Class
MaskTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/masking.py:6
↓ 2 callers
Class
MemoryEfficientSoftDiceLoss
weak_segmentation/nnunetv2/training/loss/dice.py:59
↓ 2 callers
Class
MultimodalCfg
biomedclip_finetuning/open_clip/src/open_clip/coca_model.py:47
↓ 2 callers
Class
RemoveRandomConnectedComponentFromOneHotEncodingTransform
weak_segmentation/nnunetv2/training/data_augmentation/custom_transforms/cascade_transforms.py:40
↓ 2 callers
Class
ResidualAttentionBlock
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:210
↓ 2 callers
Class
ResizeKeepRatio
Resize and Keep Ratio Copy & paste from `timm`
biomedclip_finetuning/open_clip/src/open_clip/transform.py:88
↓ 2 callers
Class
RobustCrossEntropyLoss
this is just a compatibility layer because my target tensor is float and has an extra dimension input must be logits, not probabilities!
weak_segmentation/nnunetv2/training/loss/robust_ce_loss.py:6
↓ 2 callers
Class
SamPredictor
segment-anything/segment_anything/predictor.py:17
↓ 2 callers
Class
SimpleTokenizer
biomedclip_finetuning/open_clip/src/open_clip/tokenizer.py:133
↓ 2 callers
Class
SoftDiceLoss
weak_segmentation/nnunetv2/training/loss/dice.py:9
↓ 2 callers
Class
TextFeatureExtractor
Text feature wrapper
saliency_maps/scripts/utils.py:65
↓ 2 callers
Class
Transformer
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:319
↓ 1 callers
Class
Attention
Multi-head Attention block with relative position embeddings.
segment-anything/segment_anything/modeling/image_encoder.py:185
↓ 1 callers
Class
Attention
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:89
↓ 1 callers
Class
AttentionPool2d
biomedclip_finetuning/open_clip/src/open_clip/modified_resnet.py:58
↓ 1 callers
Class
BaseModelOutput
biomedclip_finetuning/open_clip/src/open_clip/hf_model.py:20
↓ 1 callers
Class
BiomedCLIPAttention
saliency_maps/model/modeling_biomed_clip.py:156
↓ 1 callers
Class
BiomedCLIPEncoderLayer
saliency_maps/model/modeling_biomed_clip.py:234
↓ 1 callers
Class
BiomedCLIPTextEmbeddings
saliency_maps/model/modeling_biomed_clip.py:90
↓ 1 callers
Class
BiomedCLIPTextProjection
saliency_maps/model/modeling_biomed_clip.py:328
↓ 1 callers
Class
BiomedCLIPTextTransformer
saliency_maps/model/modeling_biomed_clip.py:437
↓ 1 callers
Class
BiomedCLIPVisionEmbeddings
saliency_maps/model/modeling_biomed_clip.py:76
↓ 1 callers
Class
Block
Transformer blocks with support of window attention and residual propagation blocks
segment-anything/segment_anything/modeling/image_encoder.py:119
↓ 1 callers
Class
CenterCropOrPad
Crops the given image at the center. If the image is torch Tensor, it is expected to have [..., H, W] shape, where ... means an arbitrary numb
biomedclip_finetuning/open_clip/src/open_clip/transform.py:207
↓ 1 callers
Class
ClipLoss
biomedclip_finetuning/open_clip/src/open_clip/loss.py:66
↓ 1 callers
Class
CoCa
biomedclip_finetuning/open_clip/src/open_clip/coca_model.py:89
↓ 1 callers
Class
CoCaLoss
biomedclip_finetuning/open_clip/src/open_clip/loss.py:185
↓ 1 callers
Class
ConfigurationManager
weak_segmentation/nnunetv2/utilities/plans_handling/plans_handler.py:32
↓ 1 callers
Class
CsvDataset
biomedclip_finetuning/open_clip/src/open_clip_train/data.py:29
↓ 1 callers
Class
CustomResidualAttentionBlock
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:268
↓ 1 callers
Class
CustomTextCLIP
biomedclip_finetuning/open_clip/src/open_clip/model.py:320
↓ 1 callers
Class
DC_and_topk_loss
weak_segmentation/nnunetv2/training/loss/compound_losses.py:103
↓ 1 callers
Class
DatasetFingerprintExtractor
weak_segmentation/nnunetv2/experiment_planning/dataset_fingerprint/fingerprint_extractor.py:19
↓ 1 callers
Class
DefaultPreprocessor
weak_segmentation/nnunetv2/preprocessing/preprocessors/default_preprocessor.py:33
↓ 1 callers
Class
DistillClipLoss
biomedclip_finetuning/open_clip/src/open_clip/loss.py:231
↓ 1 callers
Class
Estimator
Useful to calculate the empirical mean and variance of intermediate feature maps.
saliency_maps/scripts/iba.py:13
↓ 1 callers
Class
ExperimentPlanner
weak_segmentation/nnunetv2/experiment_planning/experiment_planners/default_experiment_planner.py:22
↓ 1 callers
Class
HardNegativeLoss
Hard Negative Noise Contrastive Estimation proposed in https://arxiv.org/abs/2301.02280 beta1: hardness parameter for image features beta
biomedclip_finetuning/open_clip/src/open_clip/loss.py:133
↓ 1 callers
Class
ImageEncoderViT
segment-anything/segment_anything/modeling/image_encoder.py:17
↓ 1 callers
Class
InformationBottleneck
saliency_maps/scripts/iba.py:89
↓ 1 callers
Class
MaskDecoder
segment-anything/segment_anything/modeling/mask_decoder.py:16
↓ 1 callers
Class
ModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
biomedclip_finetuning/open_clip/src/open_clip/modified_resnet.py:95
↓ 1 callers
Class
MultimodalTransformer
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:816
↓ 1 callers
Class
NaturalImage2DIO
ONLY SUPPORTS 2D IMAGES!!!
weak_segmentation/nnunetv2/imageio/natural_image_reager_writer.py:22
↓ 1 callers
Class
NibabelIO
Nibabel loads the images in a different order than sitk. We convert the axes to the sitk order to be consistent. This is of course considered
weak_segmentation/nnunetv2/imageio/nibabel_reader_writer.py:24
↓ 1 callers
Class
NibabelIOWithReorient
Reorients images to RAS Nibabel loads the images in a different order than sitk. We convert the axes to the sitk order to be consistent.
weak_segmentation/nnunetv2/imageio/nibabel_reader_writer.py:100
↓ 1 callers
Class
PatchDropout
https://arxiv.org/abs/2212.00794
biomedclip_finetuning/open_clip/src/open_clip/transformer.py:49
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding.
segment-anything/segment_anything/modeling/image_encoder.py:364
↓ 1 callers
Class
PositionEmbeddingRandom
Positional encoding using random spatial frequencies.
segment-anything/segment_anything/modeling/prompt_encoder.py:171
↓ 1 callers
Class
PreprocessAdapterFromNpy
weak_segmentation/nnunetv2/inference/data_iterators.py:165
↓ 1 callers
Class
PromptEncoder
segment-anything/segment_anything/modeling/prompt_encoder.py:16
↓ 1 callers
Class
ResampledShards2
An iterable dataset yielding a list of urls.
biomedclip_finetuning/open_clip/src/open_clip_train/data.py:274
↓ 1 callers
Class
ResizeLongestSide
Resizes images to the longest side 'target_length', as well as provides methods for resizing coordinates and boxes. Provides methods for
segment-anything/segment_anything/utils/transforms.py:16
↓ 1 callers
Class
Sam
segment-anything/segment_anything/modeling/sam.py:18
↓ 1 callers
Class
SamAutomaticMaskGenerator
segment-anything/segment_anything/automatic_mask_generator.py:35
↓ 1 callers
Class
SamOnnxModel
This model should not be called directly, but is used in ONNX export. It combines the prompt encoder, mask decoder, and mask postprocessing
segment-anything/segment_anything/utils/onnx.py:17
next →
1–100 of 206, ranked by callers