MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodload_data_list
Load data list.
mmpretrain/datasets/flamingo.py:153
Methodload_data_list
Load data list.
mmpretrain/datasets/flamingo.py:271
Methodload_data_list
Load images and ground truth labels.
mmpretrain/datasets/voc.py:166
Methodload_data_list
Load data list.
mmpretrain/datasets/nlvr2.py:15
Methodload_data_list
Load data list. Compare to BaseDataset, the only difference is that coco_vqa annotation file is already a list of data. There is no '
mmpretrain/datasets/vg_vqa.py:14
Methodload_data_list
Load data list.
mmpretrain/datasets/coco_caption.py:26
Methodload_data_list
Load images and ground truth labels.
mmpretrain/datasets/dtd.py:81
Methodload_data_list
Load data list.
mmpretrain/datasets/nocaps.py:26
Methodload_data_list
Load data list.
mmpretrain/datasets/visual_genome.py:59
Methodload_data_list
Load data list.
mmpretrain/datasets/iconqa.py:32
Methodload_data_list
(self)
mmpretrain/datasets/stanfordcars.py:109
Methodload_data_list
Load data list.
mmpretrain/datasets/flickr30k_retrieval.py:38
Methodload_data_list
Load data list.
mmpretrain/datasets/vizwiz.py:36
Methodload_data_list
Load images and ground truth labels.
mmpretrain/datasets/caltech101.py:94
Methodload_data_list
Load images and ground truth labels.
mmpretrain/datasets/mnist.py:84
Methodload_data_list
Load data list.
mmpretrain/datasets/gqa_dataset.py:48
Methodload_data_list
Load annotations from an annotation file named as ``self.ann_file`` Returns: List[dict]: A list of annotation.
projects/RF100-Benchmark/coco.py:64
Methodload_data_list
Load annotations from an annotation file named as ``self.ann_file`` Returns: List[dict]: A list of annotation.
projects/EfficientDet/efficientdet/tensorflow/coco_90class.py:61
Methodload_data_list
Load annotations from an annotation file named as ``self.ann_file`` Returns: List[dict]: A list of annotation.
projects/Detic_new/detic/imagenet_lvis.py:294
Methodload_image
(input_)
mmpretrain/apis/image_retrieval.py:187
Methodload_image
(input_: dict)
mmpretrain/apis/visual_question_answering.py:102
Methodload_image
(input_)
mmpretrain/apis/nlvr.py:99
Methodload_image
(input_)
mmpretrain/apis/feature_extractor.py:97
Methodload_image
(input_: dict)
mmpretrain/apis/visual_grounding.py:100
Methodload_image
(input_)
mmpretrain/apis/multimodal_retrieval.py:504
Methodload_image
(input_)
mmpretrain/apis/image_classification.py:124
Methodload_image
(input_)
mmpretrain/apis/image_caption.py:84
Functionload_img_info
(files)
tools/rsprompter/whu2coco.py:36
Functionload_img_info
(files)
tools/dataset_converters/cityscapes.py:42
Functionload_json_log
load and convert json_logs to log_dicts. Args: json_log (str): The path of the json log file. Returns: dict: The result dict
mmpretrain/utils/analyze.py:5
Methodloss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
mmdet/rsprompter/models.py:116
Methodloss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
mmdet/rsprompter/models.py:236
Methodloss
Perform forward propagation and loss calculation of the panoptic head on the features of the upstream network. Args: x (t
mmdet/rsprompter/models.py:465
Methodloss
(self, x: Tuple[Tensor], rpn_results_list: InstanceList, batch_data_samples: List[DetDataSample],
mmdet/rsprompter/models.py:1456
Methodloss
Args: x (Union[Tensor, Tuple[Tensor]]): Feature maps. batch_data_samples (list[:obj:`DetDataSample`]): The batch
mmdet/models/seg_heads/base_semantic_head.py:57
Methodloss
Loss function.
mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py:38
Methodloss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: hid
mmdet/models/dense_heads/conditional_detr_head.py:69
Methodloss
Args: x (list[Tensor]): Features from FPN. out_teacher (tuple[Tensor]): The output of teacher. batch_data
mmdet/models/dense_heads/ld_head.py:156
Methodloss
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
mmdet/models/dense_heads/deformable_detr_head.py:144
Methodloss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: x (
mmdet/models/dense_heads/base_dense_head.py:101
Methodloss
(self, visual_feats: Tuple[Tensor], language_feats: dict, batch_data_samples)
mmdet/models/dense_heads/atss_vlfusion_head.py:417
Methodloss
Perform forward propagation and loss calculation of the mask head on the features of the upstream network. Args: x (list[
mmdet/models/dense_heads/base_mask_head.py:31
Methodloss
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
mmdet/models/dense_heads/grounding_dino_head.py:444
Methodloss
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
mmdet/models/dense_heads/dino_head.py:30
Methodloss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: x (
mmdet/models/dense_heads/cascade_rpn_head.py:769
Methodloss
Perform forward propagation and loss calculation of the panoptic head on the features of the upstream network. Args: x (t
mmdet/models/dense_heads/maskformer_head.py:527
Methodloss
Forward train with the available label assignment (student receives from teacher). Args: x (list[Tensor]): Features from
mmdet/models/dense_heads/lad_head.py:124
Methodloss
Perform forward propagation and loss calculation of the detection head on the features of the upstream network. Args: hid
mmdet/models/dense_heads/detr_head.py:164
Methodloss
Calculate losses from a batch of inputs and data samples. Args: key_feats (list[Tensor]): list of multi-level image features.
mmdet/models/tracking_heads/quasi_dense_track_head.py:79
Methodloss
Calculate losses from a batch of inputs and data samples. Args: key_feats (list[Tensor]): list of multi-level image features.
mmdet/models/tracking_heads/roi_track_head.py:88
Methodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
mmdet/models/roi_heads/sparse_roi_head.py:316
Methodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
mmdet/models/roi_heads/standard_roi_head.py:94
Methodloss
Perform forward propagation and loss calculation of the roi head on the features of the upstream network.
mmdet/models/roi_heads/base_roi_head.py:70
Methodloss
Forward function for training. Args: x (tuple[Tensor]): List of multi-level img features. rpn_results_list (list[:obj
mmdet/models/roi_heads/dynamic_roi_head.py:32
Methodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
mmdet/models/roi_heads/htc_roi_head.py:263
Methodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
mmdet/models/roi_heads/multi_instance_roi_head.py:120
Methodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
mmdet/models/roi_heads/cascade_roi_head.py:245
Methodloss
Calculate the loss based on the network predictions and targets. Args: cls_score (Tensor): Classification prediction results of a
mmdet/models/roi_heads/bbox_heads/multi_instance_bbox_head.py:382
Methodloss
Calculate the loss based on the network predictions and targets. Args: cls_score (Tensor): Classification prediction
mmdet/models/roi_heads/bbox_heads/sabl_head.py:452
Methodloss
Args: batch_inputs (Tensor): Input images of shape (N, C, H, W). These should usually be mean centered and std sc
mmdet/models/detectors/maskformer.py:49
Methodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs (Tensor): Input images of shape (bs, dim, H, W).
mmdet/models/detectors/base_detr.py:84
Methodloss
Args: batch_inputs (Tensor): Input images of shape (N, C, H, W). These should usually be mean centered and std sc
mmdet/models/detectors/kd_one_stage.py:70
Methodloss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
mmdet/models/detectors/grounding_dino.py:262
Methodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs (Tensor): Input images of shape (N, C, H, W).
mmdet/models/detectors/two_stage.py:146
Methodloss
(self, batch_inputs: Tensor, batch_data_samples: SampleList)
mmdet/models/detectors/glip.py:262
Methodloss
Calculate losses from a batch of inputs and data samples. The inputs will first convert to the Detectron2 type and feed into D2 model
mmdet/models/detectors/d2_wrapper.py:138
Methodloss
Args: batch_inputs (Tensor): Input images of shape (N, C, H, W). These should usually be mean centered and std sc
mmdet/models/detectors/panoptic_two_stage_segmentor.py:73
Methodloss
copy the ``batch_data_samples`` to fit multi-branch.
mmdet/models/detectors/trident_faster_rcnn.py:47
Methodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs (Tensor): Input images of shape (N, C, H, W).
mmdet/models/detectors/rpn.py:58
Methodloss
Calculate losses from a batch of inputs and data samples. Args: batch_inputs (Tensor): Input images of shape (N, C, H, W).
mmdet/models/detectors/single_stage.py:63
Methodloss
Args: inputs (Tensor): Input images of shape (N, T, C, H, W). These should usually be mean centered and std scale
mmdet/models/vis/mask2former_vis.py:57
Methodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Dict[str, Tensor]): of shape (N, T, C, H, W) encoding
mmdet/models/vis/masktrack_rcnn.py:49
Methodloss
Calculate losses. Args: feats (tuple[Tensor]): The features extracted from the backbone. data_samples (List[ReIDDataS
mmdet/models/reid/linear_reid_head.py:121
Methodloss
Calculate auxiliary branches loss for dense queries. Args: cls_scores (Tensor): Predicted normalized classification
mmdet/models/losses/ddq_detr_aux_loss.py:103
Methodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Tensor): of shape (N, C, H, W) encoding i
mmdet/models/mot/bytetrack.py:42
Methodloss
Calculate losses from a batch of inputs and data samples.
mmdet/models/mot/ocsort.py:41
Methodloss
Calculate losses from a batch of inputs and data samples.
mmdet/models/mot/deep_sort.py:48
Methodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Dict[str, Tensor]): of shape (N, T, C, H, W) encoding
mmdet/models/mot/qdtrack.py:108
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/barlowtwins.py:21
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/mixmim.py:247
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/densecl.py:117
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/beit.py:313
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/cae.py:426
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/byol.py:58
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/simclr.py:63
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/spark.py:109
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/milan.py:180
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/moco.py:91
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/simsiam.py:20
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/simmim.py:175
Methodloss
The forward function in training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSample]
mmpretrain/models/selfsup/mocov3.py:183
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/mae.py:218
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/mff.py:171
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/eva.py:22
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/itpn.py:325
Methodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
mmpretrain/models/selfsup/maskfeat.py:312
Methodloss
Forward computation during training. Args: inputs (List[torch.Tensor]): The input images. data_samples (List[DataSamp
mmpretrain/models/selfsup/swav.py:21
Methodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (torch.Tensor): The input tensor with shape
mmpretrain/models/retrievers/base.py:103
Methodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (dict): A batch of inputs. The input tensor with of
mmpretrain/models/multimodal/blip2/blip2_retriever.py:173
Methodloss
Calculate losses from the extracted features. Args: feats (dict): The features extracted from the backbone. data_samp
mmpretrain/models/heads/grounding_head.py:94
← previousnext →5,301–5,400 of 6,823, ranked by callers