Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PKU-ICST-MIPL/FineSports_CVPR2024
/ functions
Functions
799 in github.com/PKU-ICST-MIPL/FineSports_CVPR2024
⨍
Functions
799
◇
Types & classes
157
↳
Endpoints
1
Method
__str__
(self)
models/BLIP/utils.py:83
Method
__str__
(self)
models/BLIP/utils.py:112
Method
__str__
(self)
models/detr/util/misc.py:80
Method
__str__
(self)
models/detr/util/misc.py:179
Method
_init_weights
(self, m)
models/BLIP/models/vit.py:167
Method
_init_weights
Initialize the weights
models/BLIP/models/nlvr_encoder.py:593
Method
_init_weights
Initialize the weights
models/BLIP/models/med.py:558
Method
_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
models/BLIP/models/nlvr_encoder.py:635
Method
_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
models/BLIP/models/med.py:600
Method
_reorder_cache
(self, past, beam_idx)
models/BLIP/models/med.py:951
Function
_update_valid_indices_by_removing_high_iou_boxes
( selected_indices, is_index_valid, intersect_over_union, threshold)
evaluates/utils/np_box_list_ops.py:551
Function
accuracy
Computes the precision@k for the specified values of k
utils/misc.py:484
Function
accuracy
Computes the precision@k for the specified values of k
utils/utils.py:84
Function
accuracy
Computes the precision@k for the specified values of k
models/transformer/util/misc.py:450
Function
accuracy_sigmoid
Computes the precision@k for the specified values of k
utils/misc.py:459
Function
accuracy_sigmoid
Computes the precision@k for the specified values of k
models/transformer/util/misc.py:425
Method
add_meter
(self, name, meter)
utils/misc.py:183
Method
add_meter
(self, name, meter)
models/transformer/util/misc.py:191
Method
add_meter
(self, name, meter)
models/detr/util/misc.py:191
Method
add_single_detected_image_info
Adds detections for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image.
evaluates/utils/object_detection_evaluation.py:214
Method
add_single_detected_image_info
Adds detections for a single image to be used for evaluation. Args: image_key: A unique string/integer identifier for the image.
evaluates/utils/object_detection_evaluation.py:563
Method
add_single_ground_truth_image_info
Adds groundtruth for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image.
evaluates/utils/object_detection_evaluation.py:154
Method
add_single_ground_truth_image_info
Adds groundtruth for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image.
evaluates/utils/object_detection_evaluation.py:408
Method
add_single_ground_truth_image_info
Adds groundtruth for a single image to be used for evaluation. Args: image_key: A unique string/integer identifier for the image.
evaluates/utils/object_detection_evaluation.py:512
Function
adjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
utils/utils.py:131
Function
all_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
utils/misc.py:84
Function
all_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
models/transformer/util/misc.py:89
Function
all_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
models/detr/util/misc.py:89
Function
area
Computes area of masks. Args: box_mask_list: np_box_mask_list.BoxMaskList holding N boxes and masks Returns: a numpy array with shape [N
evaluates/utils/np_box_mask_list_ops.py:53
Function
autocontrast_func
same output as PIL.ImageOps.autocontrast
models/BLIP/transform/randaugment.py:10
Method
avg
(self)
utils/misc.py:59
Method
avg
(self)
models/transformer/util/misc.py:64
Method
avg
(self)
models/BLIP/utils.py:67
Method
avg
(self)
models/detr/util/misc.py:64
Function
blip_feature_extractor
(pretrained='',**kwargs)
models/BLIP/models/blip.py:179
Function
box_cxcywh_to_xyxy
(x)
utils/box_ops.py:9
Function
box_cxcywh_to_xyxy
(x)
models/transformer/util/box_ops.py:9
Function
box_xyxy_to_cxcywh
(x)
models/transformer/util/box_ops.py:16
Function
box_xyxy_to_cxcywh
(x)
models/detr/util/box_ops.py:16
Function
brightness_func
same output as PIL.ImageEnhance.Contrast
models/BLIP/transform/randaugment.py:122
Function
build_CSN
(cfg)
models/backbones/ir_CSN_152.py:317
Function
build_matcher
(cfg)
models/detr/matcher.py:84
Function
build_position_encoding
(hidden_dim)
models/transformer/position_encoding.py:70
Function
build_scheduler_epoch
(cfg, optimizer)
utils/lr_scheduler.py:52
Function
calculate_mAP
(output, target)
utils/utils.py:76
Function
change_coordinate_frame
Change coordinate frame of the boxlist to be relative to window's frame. Given a window of the form [ymin, xmin, ymax, xmax], changes bounding bo
evaluates/utils/np_box_list_ops.py:506
Method
check_video
(self, vid)
datasets/basketball_jhmdb_frame.py:95
Method
clear
(self)
evaluates/evaluate_ucf.py:132
Method
clear
(self)
evaluates/evaluate_ava.py:198
Method
clear
Clears the state to prepare for a fresh evaluation.
evaluates/utils/object_detection_evaluation.py:299
Method
clear_detections
(self)
evaluates/utils/object_detection_evaluation.py:509
Function
clip_to_window
Clip bounding boxes to a window. This op clips input bounding boxes (represented by bounding box corners) to a window, optionally filtering out b
evaluates/utils/np_box_list_ops.py:334
Function
collate_fn
(batch)
utils/misc.py:271
Function
collate_fn
(batch)
models/transformer/util/misc.py:279
Function
collate_fn
(batch)
models/detr/util/misc.py:279
Function
collate_fn_2stream
(batch)
utils/misc.py:295
Function
collate_fn_lfb
(batch)
utils/misc.py:276
Function
collate_fn_lstr
(batch)
utils/misc.py:282
Function
collate_fn_lstr_location
(batch)
utils/misc.py:288
Function
collate_fn_roi
(batch)
utils/misc.py:302
Function
color_func
same output as PIL.ImageEnhance.Color
models/BLIP/transform/randaugment.py:87
Function
compute_acc
(logits, label, reduction='mean')
models/BLIP/utils.py:188
Function
compute_average_precision
Compute Average Precision according to the definition in VOCdevkit. Precision is modified to ensure that it does not decrease as recall decrease.
evaluates/utils/metrics.py:73
Function
compute_cor_loc
Compute CorLoc according to the definition in the following paper. https://www.robots.ox.ac.uk/~vgg/rg/papers/deselaers-eccv10.pdf Returns nans
evaluates/utils/metrics.py:125
Function
compute_n_params
(model, return_str=True)
models/BLIP/utils.py:195
Method
compute_object_detection_metrics
Evaluates detections as being tp, fp or ignored from a single image. The evaluation is done in two stages: 1. All detections are matched to
evaluates/utils/per_image_evaluation_size.py:47
Function
compute_precision_recall
Compute precision and recall. Args: scores: A float numpy array representing detection score labels: A boolean numpy array representing tru
evaluates/utils/metrics.py:22
Function
concatenate
Concatenate list of box_mask_lists. This op concatenates a list of input box_mask_lists into a larger box_mask_list. It also handles concatena
evaluates/utils/np_box_mask_list_ops.py:340
Function
contrast_func
same output as PIL.ImageEnhance.Contrast
models/BLIP/transform/randaugment.py:109
Function
create_category_index_from_labelmap
Reads a label map and returns a category index. Args: label_map_path: Path to `StringIntLabelMap` proto text file. Returns: A category i
evaluates/utils/label_map_util.py:162
Function
create_class_agnostic_category_index
Creates a category index with a single `object` class.
evaluates/utils/label_map_util.py:179
Method
create_custom_forward
(module)
models/BLIP/models/nlvr_encoder.py:464
Method
create_custom_forward
(module)
models/BLIP/models/med.py:429
Method
custom_forward
(*inputs)
models/BLIP/models/nlvr_encoder.py:465
Method
custom_forward
(*inputs)
models/BLIP/models/med.py:430
Function
cutout_func
(img, pad_size, replace=(0, 0, 0))
models/BLIP/transform/randaugment.py:194
Function
cutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
models/BLIP/transform/randaugment.py:232
Method
decompose
(self)
utils/misc.py:382
Method
decompose
(self)
models/transformer/util/misc.py:348
Method
display
(self, batch)
utils/utils.py:120
Function
download
Download an given URL Parameters ---------- url : str URL to download path : str, optional Destination path to store d
utils/model_utils.py:175
Method
ema_avg
(avg_model_param, model_param, num_averaged)
models/ema_model.py:8
Function
equalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
models/BLIP/transform/randaugment.py:43
Function
evaluate
(cfg, model: torch.nn.Module, criterion: torch.nn.Module, postprocessors, data_loader: Iterable,
utils/video_action_detection_utils.py:14
Method
evaluate
Compute evaluation result. Returns: A dictionary of metrics with the following fields - 1. summary_metrics:
evaluates/utils/object_detection_evaluation.py:254
Method
evaluate
Compute evaluation result. Returns: A named tuple with the following fields - average_precision: float numpy arra
evaluates/utils/object_detection_evaluation.py:666
Method
feed_forward_chunk
(self, attention_output)
models/BLIP/models/nlvr_encoder.py:415
Method
feed_forward_chunk
(self, attention_output)
models/BLIP/models/med.py:380
Method
forward
(self, video_feature, texts)
models/postal_basketball.py:37
Method
forward
The forward expects a NestedTensor, which consists of: - samples.tensor: batched images, of shape [batch_size x 3 x H x W]
models/postal_basketball.py:136
Method
forward
(self, tensor_list: NestedTensor)
models/backbone_builder.py:66
Method
forward
(self, tensor_list: NestedTensor)
models/backbone_builder.py:103
Method
forward
(self, inp)
models/I3D_Backbone.py:99
Method
forward
(self, inp)
models/I3D_Backbone.py:119
Method
forward
(self, inp)
models/I3D_Backbone.py:153
Method
forward
(self, inp)
models/I3D_Backbone.py:239
Method
forward
(self, video)
models/I3D_Backbone.py:429
Method
forward
This performs the loss computation. Parameters: outputs: dict of tensors, see the output specification of the model for the form
models/criterion.py:169
Method
forward
This performs the loss computation. Parameters: outputs: dict of tensors, see the output specification of the model for the form
models/criterion.py:368
Method
forward
Perform the computation Parameters: outputs: raw outputs of the model target_sizes: tensor of dimension [batch_size x
models/criterion.py:412
← previous
next →
501–600 of 799, ranked by callers