MCPcopy Create free account

hub / github.com/PKU-ICST-MIPL/FineSports_CVPR2024 / functions

Functions799 in github.com/PKU-ICST-MIPL/FineSports_CVPR2024

↓ 2 callersMethod_initialize_detections
(self)
evaluates/utils/object_detection_evaluation.py:498
↓ 2 callersFunction_max_by_axis
(the_list)
utils/misc.py:321
↓ 2 callersFunction_max_by_axis
(the_list)
models/transformer/util/misc.py:285
↓ 2 callersFunction_max_by_axis
(the_list)
models/detr/util/misc.py:285
↓ 2 callersMethod_set_aux_loss
(self, outputs_class, outputs_coord, outputs_class_b)
models/postal_basketball.py:200
↓ 2 callersFunctionblip_vqa
(pretrained='',**kwargs)
models/BLIP/models/blip_vqa.py:170
↓ 2 callersFunctionbuild_position_encoding
(hidden_dim)
models/detr/position_encoding.py:73
↓ 2 callersFunctionbuild_transformer
(cfg)
models/transformer/transformer.py:320
↓ 2 callersFunctioncheck_sha1
Check whether the sha1 hash of the file content matches the expected hash. Parameters ---------- filename : str Path to the file.
utils/model_utils.py:149
↓ 2 callersFunctioncoco_caption_eval
(coco_gt_root, results_file, split)
models/BLIP/data/utils.py:84
↓ 2 callersFunctionconcat_all_gather
Performs all_gather operation on the provided tensors. *** Warning ***: torch.distributed.all_gather has no gradient.
models/BLIP/models/blip_pretrain.py:256
↓ 2 callersFunctiondice_loss
Compute the DICE loss, similar to generalized IOU for masks Args: inputs: A float tensor of arbitrary shape. The pred
models/detr/segmentation.py:172
↓ 2 callersFunctionevaluate
(model, data_loader, device, config)
models/BLIP/train_nlvr.py:66
↓ 2 callersFunctionevaluate
(model, data_loader, device, config)
models/BLIP/eval_nocaps.py:31
↓ 2 callersFunctionevaluate
(model, data_loader, device, config)
models/BLIP/train_caption.py:60
↓ 2 callersMethodevaluate
(self)
evaluates/evaluate_ucf.py:235
↓ 2 callersMethodevaluate
(self)
evaluates/evaluate_ava.py:306
↓ 2 callersFunctionevaluation
(model, data_loader, device, config)
models/BLIP/train_retrieval.py:69
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes and masks with score exceeding a given threshold. This op keeps the collection of boxes and masks whose corresponding sco
evaluates/utils/np_box_mask_list_ops.py:369
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes with score exceeding a given threshold. This op keeps the collection of boxes whose corresponding scores are greater th
evaluates/utils/np_box_list_ops.py:473
↓ 2 callersFunctiongeneralized_box_iou
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
models/detr/util/box_ops.py:40
↓ 2 callersFunctionget_cfg_defaults
Get a yacs CfgNode object with default values for your project.
pipelines/video_action_recognition_config.py:210
↓ 2 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
models/criterion.py:160
↓ 2 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
models/criterion.py:359
↓ 2 callersFunctionget_padding_shape
(filter_shape, stride)
models/I3D_Backbone.py:10
↓ 2 callersFunctionget_window_size
(x_size, window_size, shift_size=None)
models/backbones/video_swin_transformer.py:89
↓ 2 callersFunctionget_world_size
()
utils/misc.py:412
↓ 2 callersFunctionget_world_size
()
models/transformer/util/misc.py:378
↓ 2 callersFunctionget_world_size
()
models/detr/util/misc.py:378
↓ 2 callersFunctionhflip
(images, target)
datasets/video_transforms.py:67
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between boxes. Args: boxes1: a numpy array with shape [N, 4] holding N boxes boxes2: a numpy array with
evaluates/utils/np_box_ops.py:37
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between masks. Args: masks1: a numpy array with shape [N, height, width] holding N masks. Masks value
evaluates/utils/np_mask_ops.py:45
↓ 2 callersFunctionis_url
(url_or_filename)
models/BLIP/models/blip.py:211
↓ 2 callersFunctionitm_eval
(scores_i2t, scores_t2i, txt2img, img2txt)
models/BLIP/train_retrieval.py:171
↓ 2 callersMethodload_GT_from_path
(self, file_lst)
evaluates/evaluate_ucf.py:136
↓ 2 callersMethodload_GT_from_path
(self, file_lst)
evaluates/evaluate_ava.py:202
↓ 2 callersMethodload_detection_from_path
(self, file_lst)
evaluates/evaluate_ucf.py:180
↓ 2 callersMethodload_detection_from_path
(self, file_lst)
evaluates/evaluate_ava.py:247
↓ 2 callersFunctionload_labelmap
Loads label map proto. Args: path: path to StringIntLabelMap proto text file. Returns: a StringIntLabelMapProto
evaluates/utils/label_map_util.py:123
↓ 2 callersFunctionload_weights
(model, pretrain_path, load_fc=True, use_affine=False, tune_point=5)
models/backbones/ir_CSN_50.py:240
↓ 2 callersFunctionmain
(args, config)
models/BLIP/pretrain.py:78
↓ 2 callersFunctionmake_transforms
(image_set, cfg)
datasets/basketball_jhmdb_frame.py:250
↓ 2 callersFunctionmake_transforms_384
(image_set, cfg)
datasets/basketball_jhmdb_frame.py:223
↓ 2 callersFunctionpre_question
(question,max_ques_words=50)
models/BLIP/data/utils.py:31
↓ 2 callersFunctionread_labelmap
Read label map and class ids.
utils/utils.py:10
↓ 2 callersMethodremove_layers
(self, layers_to_remove)
models/transformer/transformer.py:97
↓ 2 callersFunctionshear_level_to_args
(MAX_LEVEL, replace_value)
models/BLIP/transform/randaugment.py:214
↓ 2 callersFunctionsigmoid_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
models/detr/segmentation.py:190
↓ 2 callersFunctionsort_by_field
Sort boxes and associated fields according to a scalar field. A common use case is reordering the boxes according to descending scores. Args:
evaluates/utils/np_box_list_ops.py:130
↓ 2 callersFunctiontile
(x, dim, n_tile)
models/BLIP/models/blip_vqa.py:178
↓ 2 callersFunctiontranslate_level_to_args
(translate_const, MAX_LEVEL, replace_value)
models/BLIP/transform/randaugment.py:223
↓ 2 callersFunctiontubelet_in_tube
(tube, i, K)
datasets/basketball_jhmdb_frame.py:21
↓ 2 callersFunctiontune_channel
(ch)
models/BLIP/transform/randaugment.py:16
↓ 2 callersMethodupdate
(self, value, n=1)
utils/misc.py:35
↓ 2 callersMethodupdate
(self, value, n=1)
models/transformer/util/misc.py:40
↓ 2 callersMethodupdate
(self, value, n=1)
models/BLIP/utils.py:43
↓ 2 callersMethodupdate
(self, value, n=1)
models/detr/util/misc.py:40
↓ 2 callersFunctionwindow_partition
Args: x: (B, D, H, W, C) window_size (tuple[int]): window size Returns: windows: (B*num_windows, window_size*window_s
models/backbones/video_swin_transformer.py:58
↓ 2 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
models/transformer/transformer.py:168
↓ 1 callersMethod__init__
Initializes the model. Parameters: backbone: torch module of the backbone to be used. See backbone.py transformer: to
models/postal_basketball.py:59
↓ 1 callersMethod__init__
(self, backbone, position_embedding)
models/backbone_builder.py:100
↓ 1 callersMethod__init__
Args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input im
models/BLIP/models/blip.py:24
↓ 1 callersMethod__len__
(self)
datasets/basketball_jhmdb_frame.py:220
↓ 1 callersMethod_compute_tp_fp
Labels true/false positives of detections of an image across all classes. Args: detected_boxes: A float numpy array of shape [N, 4], repres
evaluates/utils/per_image_evaluation_size.py:111
↓ 1 callersMethod_compute_tp_fp_for_single_class
Labels boxes detected with the same class from the same image as tp/fp. Args: detected_boxes: A numpy array of shape [N, 4] representing de
evaluates/utils/per_image_evaluation_size.py:225
↓ 1 callersMethod_compute_tp_fp_for_single_class
Labels boxes detected with the same class from the same image as tp/fp. Args: detected_boxes: A numpy array of shape [N, 4] representing de
evaluates/utils/per_image_evaluation.py:284
↓ 1 callersMethod_dequeue_and_enqueue
(self, image_feat, text_feat, idxs)
models/BLIP/models/blip_retrieval.py:244
↓ 1 callersMethod_dequeue_and_enqueue
(self, image_feat, text_feat)
models/BLIP/models/blip_pretrain.py:232
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
utils/utils.py:125
↓ 1 callersMethod_get_ith_class_arrays
Returns numpy arrays belonging to class with index `class_index`. Args: detected_boxes: A numpy array containing detected boxes. dete
evaluates/utils/per_image_evaluation_size.py:328
↓ 1 callersMethod_get_ith_class_arrays
Returns numpy arrays belonging to class with index `class_index`. Args: detected_boxes: A numpy array containing detected boxes. dete
evaluates/utils/per_image_evaluation.py:374
↓ 1 callersMethod_get_overlaps_and_scores_box_mode
Computes overlaps and scores between detected and groudntruth boxes. Args: detected_boxes: A numpy array of shape [N, 4] representing detec
evaluates/utils/per_image_evaluation_size.py:189
↓ 1 callersMethod_get_overlaps_and_scores_box_mode
Computes overlaps and scores between detected and groudntruth boxes. Args: detected_boxes: A numpy array of shape [N, 4] representing detec
evaluates/utils/per_image_evaluation.py:248
↓ 1 callersFunction_get_padding
(padding_name, conv_shape)
models/I3D_Backbone.py:347
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
models/criterion.py:154
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
models/criterion.py:353
↓ 1 callersMethod_is_valid_boxes
Check whether data fullfills the format of N*[ymin, xmin, ymax, xmin]. Args: data: a numpy array of shape [N, 4] representing box coordinat
evaluates/utils/np_box_list.py:119
↓ 1 callersMethod_load_video_from_path_decord
(self, video_path, height=None, width=None, start_time=None, end_time=None, fps=-1)
models/BLIP/data/video_dataset.py:76
↓ 1 callersFunction_load_weights
Load weights from .npz checkpoints for official Google Brain Flax implementation
models/BLIP/models/vit.py:202
↓ 1 callersMethod_momentum_update
(self)
models/BLIP/models/blip_retrieval.py:237
↓ 1 callersMethod_momentum_update
(self)
models/BLIP/models/blip_pretrain.py:225
↓ 1 callersFunction_pad_top_bottom
(filter_dim, stride_val)
models/I3D_Backbone.py:11
↓ 1 callersMethod_remove_invalid_boxes
Removes entries with invalid boxes. A box is invalid if either its xmax is smaller than its xmin, or its ymax is smaller than its ymin.
evaluates/utils/per_image_evaluation_size.py:376
↓ 1 callersMethod_remove_invalid_boxes
Removes entries with invalid boxes. A box is invalid if either its xmax is smaller than its xmin, or its ymax is smaller than its ymin.
evaluates/utils/per_image_evaluation.py:422
↓ 1 callersMethod_remove_invalid_gtboxes
Removes entries with invalid boxes. A box is invalid if the box area is beyond the required box area. Args: detected_boxes: A float nu
evaluates/utils/per_image_evaluation_size.py:410
↓ 1 callersMethod_reset_parameters
(self)
models/transformer/transformer.py:56
↓ 1 callersMethod_update_ground_truth_statistics
Update grouth truth statitistics. 1. Difficult boxes are ignored when counting the number of ground truth instances as done in Pascal
evaluates/utils/object_detection_evaluation.py:640
↓ 1 callersFunction_validate_label_map
Checks if a label map is valid. Args: label_map: StringIntLabelMap to validate. Raises: ValueError: if label map is invalid.
evaluates/utils/label_map_util.py:23
↓ 1 callersFunctionaccuracy
Computes the precision@k for the specified values of k
models/detr/util/misc.py:450
↓ 1 callersFunctionaccuracy_sigmoid
Computes the precision@k for the specified values of k
models/detr/util/misc.py:425
↓ 1 callersFunctionall_gather_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
models/BLIP/models/blip_retrieval.py:306
↓ 1 callersFunctionarea
Computes area of boxes. Args: boxlist: BoxList holding N boxes Returns: a numpy array with shape [N*1] representing box areas
evaluates/utils/np_box_list_ops.py:39
↓ 1 callersFunctionblip_itm
(pretrained='',**kwargs)
models/BLIP/models/blip_itm.py:70
↓ 1 callersFunctionblip_nlvr
(pretrained='',**kwargs)
models/BLIP/models/blip_nlvr.py:67
↓ 1 callersFunctionblip_pretrain
(**kwargs)
models/BLIP/models/blip_pretrain.py:250
↓ 1 callersFunctionbox_iou
(boxes1, boxes2)
utils/box_ops.py:24
↓ 1 callersFunctionbox_iou
(boxes1, boxes2)
models/transformer/util/box_ops.py:24
↓ 1 callersFunctionbox_iou
(boxes1, boxes2)
models/detr/util/box_ops.py:24
↓ 1 callersFunctionbox_xyxy_to_cxcywh
(x)
utils/box_ops.py:16
↓ 1 callersFunctionbuild_CSN
(cfg)
models/backbones/ir_CSN_50.py:317
← previousnext →101–200 of 799, ranked by callers