Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CAMMA-public/SurgLatentGraph
/ types & classes
Types & classes
63 in github.com/CAMMA-public/SurgLatentGraph
⨍
Functions
239
◇
Types & classes
63
↓ 4 callers
Class
PositionalEncoding
model/predictor_heads/modules/layers.py:253
↓ 3 callers
Class
CustomSequential
model/predictor_heads/modules/utils.py:44
↓ 3 callers
Class
SPADE
model/predictor_heads/modules/SPADE/normalization.py:66
↓ 3 callers
Class
SelectItem
model/predictor_heads/modules/utils.py:18
↓ 2 callers
Class
GraphTripleConv
model/predictor_heads/modules/gnn_models.py:31
↓ 2 callers
Class
SingleStageModel
model/predictor_heads/modules/mstcn.py:68
↓ 2 callers
Class
SqueezeItem
model/predictor_heads/modules/utils.py:27
↓ 1 callers
Class
CRNBlock
Cascaded refinement network (CRN) block, as described in: Qifeng Chen and Vladlen Koltun, "Photographic Image Synthesis with Cascaded Refinemen
model/predictor_heads/modules/decoder.py:27
↓ 1 callers
Class
DilatedResidualLayer
model/predictor_heads/modules/mstcn.py:96
↓ 1 callers
Class
Flatten
model/predictor_heads/modules/layers.py:63
↓ 1 callers
Class
GNNBlock
model/predictor_heads/modules/gnn_models.py:389
↓ 1 callers
Class
GraphTripleConvNet
model/predictor_heads/modules/gnn_models.py:199
↓ 1 callers
Class
Norm
model/predictor_heads/modules/norm.py:4
↓ 1 callers
Class
ResidualBlock
model/predictor_heads/modules/layers.py:87
↓ 1 callers
Class
SPADEResnetBlock
ResNet block used in SPADE. It differs from the ResNet block of pix2pixHD in that it takes in the segmentation map as input, learns the s
model/predictor_heads/modules/decoder.py:67
↓ 1 callers
Class
SSIM_RoI
evaluator/CocoMetricRGD.py:443
Class
AllFramesSample
Code to load all the frames and associated metadata in a video
datasets/custom_loading.py:345
Class
BaseNetwork
model/predictor_heads/modules/SPADE/base_network.py:10
Class
ClearGPUMem
hooks/custom_hooks.py:135
Class
CocoDatasetWithDS
datasets/custom_loading.py:100
Class
CocoMetricRGD
evaluator/CocoMetricRGD.py:24
Class
CopyDetectorBackbone
hooks/custom_hooks.py:88
Class
CountTrainableParameters
hooks/custom_hooks.py:47
Class
DSHead
DS Head to predict downstream task from graph Args: num_classes (int) gnn_cfg (ConfigType): gnn cfg img_feat_key (str): u
model/predictor_heads/ds.py:21
Class
DecoderNetwork
Decoder Network that generates a target image from a pair of masked source image and layout Implemented in two options: with a CRN block or a
model/predictor_heads/reconstruction.py:315
Class
DeepCVS
Detector that also outputs downstream predictions. Args: detector (ConfigType): underlying object detector config num_classes: in
model/deepcvs.py:16
Class
DeepCVSTemporal
Temporal extension of DeepCVS. replace decoder predictor with transformer.
model/deepcvs_temporal.py:20
Class
DeformableDETRHeadWithIndices
model/modified_detectors/def_detr_with_queries.py:39
Class
DeformableDETRWithQueries
model/modified_detectors/def_detr_with_queries.py:12
Class
DilatedSmoothLayer
model/predictor_heads/modules/mstcn.py:132
Class
DuplicateItem
model/predictor_heads/modules/utils.py:36
Class
FreezeHook
hooks/custom_hooks.py:7
Class
FreezeLGDetector
hooks/custom_hooks.py:64
Class
GNN
model/predictor_heads/modules/gnn_models.py:244
Class
GNNHead
GNN module that takes a graph (BaseDataElement) object and processes the node and edge features. Args: num_layers (int) arch
model/predictor_heads/modules/gnn.py:16
Class
GlobalAvgPool
model/predictor_heads/modules/layers.py:82
Class
GraphHead
Graph Head to construct graph from detections Args: edges_per_node (int) viz_feat_size (int) roi_extractor gnn_cf
model/predictor_heads/graph.py:24
Class
LGDetector
Detector that also outputs a scene graph, reconstructed image, and any downstream predictions. Args: detector (ConfigType): underlying ob
model/lg.py:31
Class
LatentGraphVisualizer
visualizer/LatentGraphVisualizer.py:12
Class
LoadAnnotationsWithDS
datasets/custom_loading.py:23
Class
LoadLG
datasets/custom_loading.py:65
Class
LoadTrackAnnotationsWithDS
datasets/custom_loading.py:49
Class
Mask2FormerHeadWithQueries
model/modified_detectors/mask2former_with_queries.py:41
Class
Mask2FormerWithQueries
model/modified_detectors/mask2former_with_queries.py:14
Class
MaskFormerFusionHeadWithIndices
model/modified_detectors/mask2former_with_queries.py:118
Class
MultiStageModel
model/predictor_heads/modules/mstcn.py:9
Class
ReconstructionHead
Reconstruction Head from object-centric features Args: img_decoder_cfg (ConfigType): decoder img_aspect_ratio (tuple[int]): aspe
model/predictor_heads/reconstruction.py:20
Class
ReconstructionLoss
model/predictor_heads/modules/loss.py:13
Class
RevGNN
model/predictor_heads/modules/gnn_models.py:405
Class
SAMDetector
model/modified_detectors/sam_detector.py:25
Class
SAMQueryVisualizer
visualizer/SAMQueryVisualizer.py:12
Class
STDSHead
model/predictor_heads/ds.py:393
Class
SV2LSTG
model/sv2lstg.py:21
Class
SavedLGPreprocessor
model/saved_lg_preprocessor.py:6
Class
SgSingleRoIExtractor
Extract RoI features from a single level feature map. If there are multiple input feature levels, each RoI is mapped to a level according to
model/roi_extractors/sg_single_level_roi_extractor.py:8
Class
SimpleClassifier
model/simple_classifier.py:13
Class
TestLoopKeyframeEval
runner/custom_loops.py:22
Class
TrackCustomKeyframeSampler
Code to sample a keyframe from the entire dataset
datasets/custom_loading.py:207
Class
Unflatten
model/predictor_heads/modules/layers.py:70
Class
UniformRefFrameSampleWithPad
Code to load all images and metadata for a clip given a keyframe
datasets/custom_loading.py:303
Class
VGG19
model/predictor_heads/modules/SPADE/architectures.py:15
Class
ValLoopKeyframeEval
runner/custom_loops.py:5
Class
VideoDatasetWithDS
datasets/custom_loading.py:117