MCPcopy Create free account

hub / github.com/amazon-science/siam-mot / functions

Functions255 in github.com/amazon-science/siam-mot

↓ 5 callersMethod__init__
(self, levels, channels, num_classes=1000, in_chans=3, cardinality=1, base_width=64, block=Dl
siammot/modelling/backbone/dla.py:242
↓ 5 callersFunctionbbs_iou
Compute iou matrix between two lists of Entity bbox in AnnoEntity is in the format of xywh Different from boxlist_iou in terms of not ad
siammot/utils/entity_utils.py:5
↓ 4 callersFunctionbuild_siam_augmentation
(cfg, is_train=True, modality='video')
siammot/data/adapters/augmentation/build_augmentation.py:9
↓ 4 callersFunctioncoord
(x)
siammot/data/ingestion/ingest_mot.py:42
↓ 4 callersMethodget_dummy_boxlist
Create dummy boxlist, with bbox [-1, -1, -1, -1], id -1, label -1 when num_boxes = 0, it means return an empty BoxList
siammot/modelling/track_head/EMM/target_sampler.py:64
↓ 4 callersFunctionload_dataset_anno
(cfg, dataset_key, set=None)
siammot/data/adapters/utils/data_utils.py:41
↓ 3 callersFunctionbuild_siammot
(cfg)
siammot/modelling/rcnn.py:71
↓ 3 callersMethodduplicate_boxlist
Duplicate samples in box list by concatenating multiple times.
siammot/modelling/track_head/EMM/target_sampler.py:51
↓ 3 callersMethodget_active_ids
(self)
siammot/modelling/track_head/track_utils.py:231
↓ 2 callersMethod_filter
(self, entity: AnnoEntity, ignored_gt_entities=None)
siammot/data/adapters/handler/data_filtering.py:27
↓ 2 callersMethod_make_conv_level
(self, inplanes, planes, convs, stride=1, dilation=1, batch_norm=FrozenBatchNorm2d)
siammot/modelling/backbone/dla.py:278
↓ 2 callersFunctionbuild_data_filter_fn
Get dataset specific filter function list, if there is any
siammot/data/adapters/handler/data_filtering.py:8
↓ 2 callersFunctioncheck_rotation
(video_file)
demos/video_iterator.py:79
↓ 2 callersMethodconvert_to_roi_format
(self, boxes)
siammot/modelling/track_head/EMM/sr_pool.py:40
↓ 2 callersMethodcreate_empty_boxlist
(self, device="cpu")
siammot/modelling/box_head/inference.py:137
↓ 2 callersMethodextend_bbox
Extend the bounding box to define the search region :param in_box: a set of bounding boxes in previous frame :param min_wh: t
siammot/modelling/track_head/track_utils.py:62
↓ 2 callersMethodflush_memory
(self, cache=None)
siammot/modelling/rcnn.py:34
↓ 2 callersFunctionget_cls_loss
(pred, label, select)
siammot/modelling/track_head/EMM/track_loss.py:6
↓ 2 callersMethodget_default_boxlist
Construct a boxlist with bbox as bboxes, all other fields to be default id -1, label -1
siammot/modelling/track_head/EMM/target_sampler.py:76
↓ 2 callersMethodget_dormant_ids
(self)
siammot/modelling/track_head/track_utils.py:234
↓ 2 callersFunctionget_id_and_bbox
(entities)
siammot/eval/eval_clears_mot.py:27
↓ 2 callersFunctionget_locations
siammot/modelling/track_head/EMM/track_core.py:184
↓ 2 callersFunctionget_model_name
Automatically generate a model name that carries key information about configuration; Those information includes the backbone, functionality
siammot/utils/get_model_name.py:1
↓ 2 callersMethodget_size
(self, image_size)
siammot/data/adapters/augmentation/image_augmentation.py:21
↓ 2 callersFunctiongreedy_matching
Do the greedy matching across predictions and ground truth annotations Returns the matching ious for every predictions and ground tru
siammot/eval/eval_utils.py:54
↓ 2 callersFunctionload_motion_anno
Load GluonCVMotionDataset format annotations for downstream training / testing
siammot/data/adapters/utils/data_utils.py:9
↓ 2 callersMethodprepare_boxlist
Returns BoxList from `boxes` and adds probability scores information as an extra field `boxes` has shape (#detections, 4 * #c
siammot/modelling/box_head/inference.py:117
↓ 2 callersMethodreset
(self)
siammot/modelling/track_head/track_utils.py:248
↓ 2 callersMethodreset_siammot_status
(self)
siammot/modelling/rcnn.py:37
↓ 2 callersMethodsample_boxlist
(self, boxlist: BoxList, indices, num_samples)
siammot/modelling/track_head/EMM/target_sampler.py:120
↓ 2 callersMethodsample_examples
Sample examples
siammot/modelling/track_head/EMM/target_sampler.py:96
↓ 2 callersMethodupdate_boxes_in_pad_images
Update the coordinates of bounding boxes in the padded image
siammot/modelling/track_head/track_utils.py:109
↓ 1 callersMethod__init__
(self, cfg)
siammot/modelling/track_head/EMM/feature_extractor.py:44
↓ 1 callersMethod__init__
(self, min_size, max_size, size_divisibility)
siammot/data/adapters/augmentation/video_augmentation.py:36
↓ 1 callersMethod__len__
(self)
demos/video_iterator.py:29
↓ 1 callersMethod__len__
(self)
demos/video_iterator.py:62
↓ 1 callersMethod__len__
(self)
demos/video_iterator.py:107
↓ 1 callersMethod_build_and_load_tracker
(self)
demos/demo_inference.py:84
↓ 1 callersMethod_check_load_bbox
Check and load ground-truth labels
siammot/data/image_dataset.py:130
↓ 1 callersMethod_dataset_preprocess
(self)
siammot/data/image_dataset.py:101
↓ 1 callersMethod_eval_clear_mot
(self)
siammot/engine/inferencer.py:111
↓ 1 callersMethod_get_artifacts
(self)
demos/demo_inference.py:44
↓ 1 callersFunction_get_branch_suffix
(cfg)
siammot/utils/get_model_name.py:33
↓ 1 callersFunction_get_dataset_suffix
(dataset_list)
siammot/utils/get_model_name.py:42
↓ 1 callersMethod_get_target
(self, img, index)
siammot/data/image_dataset.py:72
↓ 1 callersMethod_get_track_targets
(self, target)
siammot/modelling/track_head/track_head.py:99
↓ 1 callersMethod_inference_on_video
(self, sample)
siammot/engine/inferencer.py:117
↓ 1 callersMethod_init_video_writer
(self, frame_width, frame_height)
demos/utils/vis_writer.py:36
↓ 1 callersMethod_postprocess_tracks
post_process the tracks to filter out short and non-confident tracks :param tracks: un-filtered tracks :return: filtered trac
siammot/engine/inferencer.py:134
↓ 1 callersMethod_preprocess
(self, frame)
demos/demo_inference.py:74
↓ 1 callersMethod_refine_tracks
Use box head to refine the bounding box location The final vis score is an average between appearance and matching score
siammot/modelling/roi_heads.py:60
↓ 1 callersMethod_resize
(self, image, size, target=None)
siammot/data/adapters/augmentation/video_augmentation.py:56
↓ 1 callersMethod_update_memory_with_dormant_track
(self, track_memory)
siammot/modelling/track_head/track_head.py:77
↓ 1 callersMethodassign_matched_ids_to_proposals
Assign for each proposal a matched id, if it is matched to a gt box Otherwise, it is assigned -1
siammot/modelling/track_head/EMM/target_sampler.py:41
↓ 1 callersMethodboxlist_crop
Adjust the coordinate of the bounding box within image crop specified by (x1, y1, x2, y2)
siammot/data/adapters/augmentation/image_augmentation.py:74
↓ 1 callersFunctionboxlists_to_entities
Convert a list of boxlist to entities :return:
siammot/utils/boxlists_to_entities.py:6
↓ 1 callersFunctionbuild_backbone
(cfg)
siammot/modelling/backbone/backbone_ext.py:42
↓ 1 callersFunctionbuild_dataset
siammot/data/build_train_data_loader.py:14
↓ 1 callersFunctionbuild_roi_box_head
Constructs a new box head. By default, uses ROIBoxHead, but if it turns out not to be enough, just register a new class and make it a par
siammot/modelling/box_head/box_head.py:64
↓ 1 callersFunctionbuild_roi_heads
(cfg, in_channels)
siammot/modelling/roi_heads.py:87
↓ 1 callersFunctionbuild_track_head
(cfg, track_utils, track_pool)
siammot/modelling/track_head/track_head.py:113
↓ 1 callersFunctionbuild_track_utils
(cfg)
siammot/modelling/track_head/track_utils.py:258
↓ 1 callersFunctionbuild_train_data_loader
(cfg, is_distributed=False, start_iter=0)
siammot/data/build_train_data_loader.py:54
↓ 1 callersFunctionbuild_video_iterator
(video_path, video_decode='decord')
demos/video_iterator.py:117
↓ 1 callersFunctionbuild_video_loader
(cfg, video: DataSample, transforms)
siammot/data/build_inference_data_loader.py:51
↓ 1 callersFunctionbuilder_tracker_solver
(cfg, track_pool)
siammot/modelling/track_head/track_solver.py:111
↓ 1 callersMethodclose_video_writer
(self)
demos/utils/vis_writer.py:41
↓ 1 callersFunctioncompute_AP
Computer Average Precision (AP) given a list of score :param scores: A list of confidence scores of detections :param pred_ious: A list
siammot/eval/eval_utils.py:74
↓ 1 callersMethodcompute_centerness_targets
(reg_targets)
siammot/modelling/track_head/EMM/track_loss.py:101
↓ 1 callersMethodcompute_targets
(self, locations, src_bbox, tar_bbox)
siammot/modelling/track_head/EMM/track_loss.py:76
↓ 1 callersFunctionconvert_given_detections_to_boxlist
(entities: [AnnoEntity], video_width, video_height, class_table=None)
siammot/utils/boxlists_to_entities.py:40
↓ 1 callersFunctiondecode_response
(cls_logits, center_logits, reg_logits, locations, boxes, use_centerness=True, sigma=0.4)
siammot/modelling/track_head/EMM/track_core.py:101
↓ 1 callersFunctiondla
(cfg)
siammot/modelling/backbone/dla.py:398
↓ 1 callersFunctiondo_inference
Do inference on a specific video (sample) :param cfg: configuration file of the model :param model: a pytorch model :param sample: a
siammot/engine/inferencer.py:16
↓ 1 callersFunctiondo_train
( model, data_loader, optimizer, scheduler, checkpointer, devi
siammot/engine/trainer.py:14
↓ 1 callersMethoddump_artifacts
(self, frame, frame_id)
demos/utils/vis_writer.py:55
↓ 1 callersMethodentity2target
Wrap up the entity to maskrcnn-benchmark compatible format - BoxList
siammot/data/video_dataset.py:107
↓ 1 callersFunctioneval_clears_mot
:param samples: a list of (sample_id, sample:DataSample) :param predicted_samples: a dict with (sample_id: predicted_tracks:DataSample) :
siammot/eval/eval_clears_mot.py:5
↓ 1 callersFunctioneval_det_ap
Evaluate the detection performance (COCO-style ap) on PoseTrack dataset :param gt: ground truth annotations for all videos :type gt: dict
siammot/eval/eval_det_ap.py:10
↓ 1 callersMethodexpire_tracks
Expire the suspended tracks after they are inactive for a consecutive self._max_dormant_frames frames
siammot/modelling/track_head/track_utils.py:166
↓ 1 callersMethodextract_cache
Get the cache (state) that is necessary for tracking output: (features for tracking targets, search region,
siammot/modelling/track_head/EMM/track_core.py:81
↓ 1 callersMethodfilter_results
Returns bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
siammot/modelling/box_head/inference.py:145
↓ 1 callersMethodforward_inference
(self, features, track_memory=None)
siammot/modelling/track_head/track_head.py:37
↓ 1 callersMethodforward_train
Perform correlation on feature maps and regress the location of the object in other frame :param features: a list of feature maps fro
siammot/modelling/track_head/track_head.py:24
↓ 1 callersMethodframe_vis_generator
(self, frame, results: BoxList)
demos/utils/vis_generator.py:55
↓ 1 callersMethodgenerate_hn_pair
Generate hard negative pair by sampling non-negative proposals
siammot/modelling/track_head/EMM/target_sampler.py:154
↓ 1 callersMethodgenerate_neg_examples
Generate negative training examples
siammot/modelling/track_head/EMM/target_sampler.py:242
↓ 1 callersMethodgenerate_pos
(self, src_gt: BoxList, proposal: BoxList)
siammot/modelling/track_head/EMM/target_sampler.py:180
↓ 1 callersMethodgenerate_pos_hn_example
Generate positive and hard negative training examples
siammot/modelling/track_head/EMM/target_sampler.py:191
↓ 1 callersFunctionget_ap
:param vid_class_gt: the ground truths for a specific class, in DataSample format :param vid_class_pred: the predictions for a specific class
siammot/eval/eval_det_ap.py:67
↓ 1 callersMethodget_cache
(self)
siammot/modelling/track_head/track_utils.py:237
↓ 1 callersFunctionget_cosine_window_penalty
(tlbr: torch.Tensor)
siammot/modelling/track_head/EMM/track_core.py:155
↓ 1 callersMethodget_n_colors
(n, colormap="gist_ncar")
demos/utils/vis_generator.py:24
↓ 1 callersMethodget_nms_boxes
(self, detection)
siammot/modelling/track_head/track_solver.py:21
↓ 1 callersFunctionget_scale_penalty
(tlbr: torch.Tensor, boxes: BoxList)
siammot/modelling/track_head/EMM/track_core.py:138
↓ 1 callersMethodget_target_box
Get the corresponding target box given by the 1-off indices if there is no matching target box, it returns a dummy box
siammot/modelling/track_head/EMM/target_sampler.py:140
↓ 1 callersMethodget_track_memory
(self, features, tracks)
siammot/modelling/track_head/track_head.py:54
↓ 1 callersMethodget_video_clips
Process the long videos to a small video chunk (with self.clip_len seconds) Video clips are generated in a temporal sliding window fa
siammot/data/video_dataset.py:79
↓ 1 callersMethodimages_with_boxes
Get images inpainted with bounding boxes :param images: A batch of images are packed in a torch tensor BxCxHxW :param boxes:
siammot/engine/tensorboard_writer.py:51
↓ 1 callersMethodincrement_frame
(self, value=1)
siammot/modelling/track_head/track_utils.py:177
next →1–100 of 255, ranked by callers