Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CAMMA-public/SurgLatentGraph
/ functions
Functions
239 in github.com/CAMMA-public/SurgLatentGraph
⨍
Functions
239
◇
Types & classes
63
Method
forward
(self, X)
model/predictor_heads/modules/SPADE/architectures.py:38
Method
forward
(self, x, segmap)
model/predictor_heads/modules/SPADE/normalization.py:96
Method
forward
Forward function
model/roi_extractors/sg_single_level_roi_extractor.py:52
Method
forward
(self, x: List[Tensor], batch_data_samples: SampleList, return_queries: bool =
model/modified_detectors/mask2former_with_queries.py:42
Function
get_nonspade_norm_layer
(opt, norm_type='instance')
model/predictor_heads/modules/SPADE/normalization.py:16
Method
get_queries
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/modified_detectors/def_detr_with_queries.py:25
Function
get_sparse_mask_inds
(mat, inds, N)
model/predictor_heads/modules/utils.py:76
Method
init_func
(m)
model/predictor_heads/modules/SPADE/base_network.py:29
Method
init_weights
(self, init_type='normal', gain=0.02)
model/predictor_heads/modules/SPADE/base_network.py:28
Method
instance_postprocess
Instance segmengation postprocess. Args: mask_cls (Tensor): Classfication outputs of shape (num_queries, cls_out_c
model/modified_detectors/mask2former_with_queries.py:119
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/lg.py:149
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/deepcvs_temporal.py:66
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/deepcvs.py:163
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/sv2lstg.py:101
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/simple_classifier.py:105
Method
loss
(self, graph: BaseDataElement, feats: BaseDataElement, batch_data_samples: SampleList)
model/predictor_heads/ds.py:325
Method
loss
(self, graph: BaseDataElement, feats: BaseDataElement, batch_data_samples: SampleList)
model/predictor_heads/ds.py:561
Method
loss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/modified_detectors/sam_detector.py:234
Method
modify_commandline_options
(parser, is_train)
model/predictor_heads/modules/SPADE/base_network.py:15
Method
num_total_keyframes
Get the number of all the keyframes in this video dataset.
datasets/custom_loading.py:200
Method
parse_data_info
(self, raw_data_info: dict)
datasets/custom_loading.py:118
Method
predict
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/sv2lstg.py:121
Method
predict
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
model/simple_classifier.py:63
Method
predict
(self, results: SampleList, feats: BaseDataElement)
model/predictor_heads/graph.py:227
Method
predict
(self, results: Tuple, feats: BaseDataElement, graph: BaseDataElement, imgs: Tensor)
model/predictor_heads/reconstruction.py:99
Method
predict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, final_filter_key: str = 'iou_preds')
model/modified_detectors/sam_detector.py:237
Method
print_network
(self)
model/predictor_heads/modules/SPADE/base_network.py:18
Method
process
(self, data_batch: Dict, data_samples: Sequence[dict])
evaluator/CocoMetricRGD.py:62
Method
reset_parameters
(self)
model/predictor_heads/modules/gnn_models.py:395
Method
reset_parameters
(self)
model/predictor_heads/modules/gnn_models.py:425
Method
run
Launch validation.
runner/custom_loops.py:6
Method
run
Launch test.
runner/custom_loops.py:23
Method
sampling_frames
Sampling frames. Args: video_length (int): The length of the video. key_frame_id (int): The key frame id. Re
datasets/custom_loading.py:305
Method
train
(self, mode=True)
model/predictor_heads/modules/loss.py:261
Method
train
(self, mode=True)
model/predictor_heads/modules/norm.py:65
Method
train
(self, mode)
model/predictor_heads/modules/gnn_models.py:376
Method
transform
(self, results: dict)
datasets/custom_loading.py:43
Method
transform
(self, results: dict)
datasets/custom_loading.py:59
Method
transform
(self, video_infos: dict)
datasets/custom_loading.py:358
← previous
201–239 of 239, ranked by callers