Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UCSB-VRL/WildlifeMapper
/ types & classes
Types & classes
46 in github.com/UCSB-VRL/WildlifeMapper
⨍
Functions
241
◇
Types & classes
46
↓ 4 callers
Class
Attention
An attention layer that allows for downscaling the size of the embedding after projection to queries, keys, and values.
wildlifemapper/segment_anything/modeling/transformer.py:185
↓ 4 callers
Class
LayerNorm2d
wildlifemapper/segment_anything/modeling/common.py:31
↓ 2 callers
Class
MLP
wildlifemapper/segment_anything/modeling/box_decoder.py:154
↓ 2 callers
Class
MLPBlock
wildlifemapper/segment_anything/modeling/common.py:13
↓ 2 callers
Class
MedSAM
wildlifemapper/segment_anything/network.py:7
↓ 2 callers
Class
NestedTensor
wildlifemapper/segment_anything/utils/misc.py:15
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
wildlifemapper/segment_anything/utils/misc.py:218
↓ 1 callers
Class
Attention
Multi-head Attention block with relative position embeddings.
wildlifemapper/segment_anything/modeling/image_encoder.py:206
↓ 1 callers
Class
Block
Transformer blocks with support of window attention and residual propagation blocks
wildlifemapper/segment_anything/modeling/image_encoder.py:140
↓ 1 callers
Class
CenterCrop
wildlifemapper/segment_anything/utils/augmentation_yolo.py:195
↓ 1 callers
Class
CocoDetection
wildlifemapper/dataloader_coco.py:23
↓ 1 callers
Class
CocoEvaluator
wildlifemapper/inference.py:92
↓ 1 callers
Class
ConvertCocoPolysToMask
wildlifemapper/dataloader_coco.py:210
↓ 1 callers
Class
CrossAttentionHfcPatch
attend patch embeddings with high frequency componenets
wildlifemapper/segment_anything/modeling/image_encoder.py:451
↓ 1 callers
Class
HfcEmbed
Image to Patch Embedding.
wildlifemapper/segment_anything/modeling/image_encoder.py:418
↓ 1 callers
Class
HungarianMatcher
This class computes an assignment between the targets and the predictions of the network For efficiency reasons, the targets don't include the no
wildlifemapper/segment_anything/modeling/matcher.py:11
↓ 1 callers
Class
ImageEncoderViT
wildlifemapper/segment_anything/modeling/image_encoder.py:17
↓ 1 callers
Class
MaskDecoder
wildlifemapper/segment_anything/modeling/box_decoder.py:16
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding.
wildlifemapper/segment_anything/modeling/image_encoder.py:385
↓ 1 callers
Class
PositionEmbeddingRandom
Positional encoding using random spatial frequencies.
wildlifemapper/segment_anything/modeling/pos_encoder.py:36
↓ 1 callers
Class
PositionEmbeddingRandom
Positional encoding using random spatial frequencies.
wildlifemapper/segment_anything/modeling/prompt_encoder.py:172
↓ 1 callers
Class
PostProcess
This module converts the model's output into the format expected by the coco api
wildlifemapper/segment_anything/build_sam.py:212
↓ 1 callers
Class
PromptEncoder
wildlifemapper/segment_anything/modeling/pos_encoder.py:9
↓ 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
wildlifemapper/segment_anything/utils/transforms.py:13
↓ 1 callers
Class
Sam
wildlifemapper/segment_anything/modeling/sam.py:19
↓ 1 callers
Class
SetCriterion
This class computes the loss for DETR. The process happens in two steps: 1) we compute hungarian assignment between ground truth boxes an
wildlifemapper/segment_anything/build_sam.py:62
↓ 1 callers
Class
ToTensor
wildlifemapper/segment_anything/utils/augmentation.py:229
↓ 1 callers
Class
TwoWayAttentionBlock
wildlifemapper/segment_anything/modeling/transformer.py:109
↓ 1 callers
Class
TwoWayTransformer
wildlifemapper/segment_anything/modeling/transformer.py:16
Class
CenterCrop
wildlifemapper/segment_anything/utils/augmentation.py:170
Class
Compose
wildlifemapper/segment_anything/utils/augmentation.py:287
Class
CrossAttentionHfcPrompt
attend patch embeddings with high frequency componenets
wildlifemapper/segment_anything/modeling/box_decoder.py:178
Class
FlipLR
wildlifemapper/segment_anything/utils/augmentation.py:265
Class
MaskData
A structure for storing masks and their related data in batched format. Implements basic filtering and concatenation.
wildlifemapper/segment_anything/utils/amg.py:16
Class
MetricLogger
wildlifemapper/segment_anything/utils/misc.py:287
Class
Normalize
wildlifemapper/segment_anything/utils/augmentation.py:243
Class
PromptEncoder
wildlifemapper/segment_anything/modeling/prompt_encoder.py:16
Class
RandomCrop
wildlifemapper/segment_anything/utils/augmentation.py:149
Class
RandomErasing
wildlifemapper/segment_anything/utils/augmentation.py:234
Class
RandomHorizontalFlip
wildlifemapper/segment_anything/utils/augmentation.py:182
Class
RandomPad
wildlifemapper/segment_anything/utils/augmentation.py:203
Class
RandomResize
wildlifemapper/segment_anything/utils/augmentation.py:192
Class
RandomSelect
Randomly selects between transforms1 and transforms2, with probability p for transforms1 and (1 - p) for transforms2
wildlifemapper/segment_anything/utils/augmentation.py:213
Class
RandomSizeCrop
wildlifemapper/segment_anything/utils/augmentation.py:158
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 o
wildlifemapper/segment_anything/utils/onnx.py:17
Class
SamPredictor
wildlifemapper/segment_anything/predictor.py:17