MCPcopy Create free account

hub / github.com/Wuziyi616/LEOD / functions

Functions938 in github.com/Wuziyi616/LEOD

↓ 1 callersFunctionfilter_bbox
Filter with objectness or class confidence scores.
val_dst.py:36
↓ 1 callersFunctionfilter_boxes
Filters boxes according to the paper rule. To note: the default represents our threshold when evaluating GEN4 resolution (1280x720) To note:
utils/evaluation/prophesee/io/box_filtering.py:18
↓ 1 callersFunctionfilter_boxes_ssod
(boxes, dataset_name='gen1', downsampled_by_2=False)
vis_pred.py:62
↓ 1 callersFunctionfilter_pred_boxes
Filter bbox as in data pre-processing.
modules/utils/ssod.py:113
↓ 1 callersMethodforward
(self, x)
models/layers/maxvit/layers/norm_act.py:195
↓ 1 callersFunctionget_activation
(name="silu", inplace=True)
models/detection/yolox/models/network_blocks.py:17
↓ 1 callersFunctionget_attn
(attn_type)
models/layers/maxvit/layers/create_attn.py:21
↓ 1 callersMethodget_bbox_tracker
Get the bbox_tracker for the given bbox_idx.
modules/tracking/tracker.py:44
↓ 1 callersFunctionget_ckpt_callback
(config: DictConfig, ckpt_dir: str = None)
callbacks/custom.py:9
↓ 1 callersMethodget_data_from_batch
(self, batch: Any)
modules/pseudo_labeler.py:458
↓ 1 callersMethodget_data_from_batch
(self, batch: Any)
modules/utils/tta.py:210
↓ 1 callersFunctionget_downsample_layer_Cf2Cl
(dim_in: int, dim_out: int, downsample_factor: i
models/layers/maxvit/maxvit.py:130
↓ 1 callersFunctionget_exp_name
Compose the name used in wandb run's name and ckp path.
vis_pred.py:41
↓ 1 callersFunctionget_exp_name
Compose the name used in wandb run's name and ckp path.
train.py:37
↓ 1 callersMethodget_fully_padded_sample
(self)
data/genx_utils/sequence_streaming.py:165
↓ 1 callersMethodget_geometry_constraint_w_ignore
Calculate whether the center of an object is located in a fixed range of an anchor. This is used to avert inappropriate matching. It
models/detection/yolox/models/yolo_head.py:1096
↓ 1 callersFunctionget_grad_flow_figure
Creates figure to visualize gradients flowing through different layers in the net during training. Can be used for checking for possible gradient
callbacks/utils/visualization.py:5
↓ 1 callersFunctionget_labelmap
(dst_name)
utils/evaluation/prophesee/visualize/vis_utils.py:22
↓ 1 callersMethodget_labels_as_batched_tensor
Returns a batch of bbox labels, [num_frames, num_bbox, 5]. Each frame is padded to the max number of boxes.
data/genx_utils/labels.py:574
↓ 1 callersMethodget_lens
(self, worker_id: int)
modules/utils/detection.py:176
↓ 1 callersMethodget_losses
( self, x_shifts, y_shifts, expanded_strides, labels, outputs,
models/detection/yolox/models/yolo_head.py:403
↓ 1 callersMethodget_losses_w_ignore
( self, x_shifts, y_shifts, expanded_strides, labels, outputs,
models/detection/yolox/models/yolo_head.py:776
↓ 1 callersFunctionget_most_recent_objframe
(data_dict: LoaderDataDictGenX, check_if_nonempty: bool = True)
data/utils/augmentor.py:481
↓ 1 callersFunctionget_objframe_idx_2_repr_idx_fn
Get xxx/objframe_idx_2_repr_idx.npy file name.
data/utils/misc.py:58
↓ 1 callersMethodget_output_and_grid
(self, output, k, stride, dtype)
models/detection/yolox/models/yolo_head.py:289
↓ 1 callersMethodget_reverse
(self)
data/genx_utils/labels.py:515
↓ 1 callersFunctionget_scores_ious
Collect the predicted bbox's IoU with GTs, and their cls/obj_scores.
modules/utils/ssod.py:310
↓ 1 callersFunctionget_sequences
Load a list of sub-seq (train) or one full event seq (val/test).
data/genx_utils/dataset_streaming.py:145
↓ 1 callersMethodget_sequences_with_guaranteed_labels
Generate sequences such that we do always have labels **within** (not necessarily at the end!) each sample of the sequence. This is
data/genx_utils/sequence_streaming.py:124
↓ 1 callersMethodget_stage_dims
(self, stages: Tuple[int, ...])
models/detection/recurrent_backbone/base.py:7
↓ 1 callersMethodget_state
Returns the current bounding box estimate (with class_id).
modules/tracking/linear.py:55
↓ 1 callersMethodget_strides
(self, stages: Tuple[int, ...])
models/detection/recurrent_backbone/base.py:10
↓ 1 callersFunctionget_subsample_label_idx
Sub-sample labels from a long sequence.
modules/utils/ssod.py:19
↓ 1 callersMethodget_torch_dtype
()
data/utils/representations.py:26
↓ 1 callersFunctionget_viz_callback
(config: DictConfig)
callbacks/custom.py:32
↓ 1 callersFunctionget_wandb_logger
Build the native PyTorch Lightning WandB logger.
loggers/utils.py:5
↓ 1 callersFunctionget_weighted_random_sampler
(dataset: CustomConcatDataset)
data/genx_utils/dataset_rnd.py:230
↓ 1 callersMethodget_zipped_stream_from_worker_datapipes
Get a zipped datapipe that load a batch of data at every `next()`.
data/utils/stream_sharded_datapipe.py:59
↓ 1 callersFunctiongreedy_matching
(cost_matrix: np.ndarray, idx_lst: np.ndarray, thresh: float = 0.0)
modules/tracking/utils.py:7
↓ 1 callersFunctiongrid_partition
(x, grid_size: Tuple[int, int])
models/layers/maxvit/maxvit.py:290
↓ 1 callersFunctiongrid_reverse
(windows, grid_size: Tuple[int, int], img_size: Tuple[int, int])
models/layers/maxvit/maxvit.py:299
↓ 1 callersFunctionhard_mish
Hard Mish Experimental, based on notes by Mish author Diganta Misra at https://github.com/digantamisra98/H-Mish/blob/0da20d4bc58e696b6803f2
models/layers/maxvit/layers/activations.py:104
↓ 1 callersFunctionhard_mish_jit
Hard Mish Experimental, based on notes by Mish author Diganta Misra at https://github.com/digantamisra98/H-Mish/blob/0da20d4bc58e696b6803f2
models/layers/maxvit/layers/activations_jit.py:77
↓ 1 callersFunctionhard_mish_jit_bwd
(x, grad_output)
models/layers/maxvit/layers/activations_me.py:184
↓ 1 callersFunctionhard_mish_jit_fwd
(x)
models/layers/maxvit/layers/activations_me.py:179
↓ 1 callersFunctionhard_sigmoid
(x, inplace: bool = False)
models/layers/maxvit/layers/activations.py:88
↓ 1 callersFunctionhard_sigmoid_jit
(x, inplace: bool = False)
models/layers/maxvit/layers/activations_jit.py:49
↓ 1 callersFunctionhard_sigmoid_jit_bwd
(x, grad_output)
models/layers/maxvit/layers/activations_me.py:105
↓ 1 callersFunctionhard_sigmoid_jit_fwd
(x, inplace: bool = False)
models/layers/maxvit/layers/activations_me.py:100
↓ 1 callersFunctionhard_swish
(x, inplace: bool = False)
models/layers/maxvit/layers/activations.py:74
↓ 1 callersFunctionhard_swish_jit
(x, inplace: bool = False)
models/layers/maxvit/layers/activations_jit.py:63
↓ 1 callersFunctionhard_swish_jit_bwd
(x, grad_output)
models/layers/maxvit/layers/activations_me.py:140
↓ 1 callersFunctionhard_swish_jit_fwd
(x)
models/layers/maxvit/layers/activations_me.py:135
↓ 1 callersFunctionhstack_array
(arrs, pad=5)
vis_pred.py:96
↓ 1 callersMethodinitialize_biases
(self, prior_prob)
models/detection/yolox/models/yolo_head.py:184
↓ 1 callersFunctioninstance_std
(x, eps: float = 1e-5)
models/layers/maxvit/layers/evo_norm.py:36
↓ 1 callersFunctioniou_batch_xywh
Computes IOU between two bboxes in the form [x,y,w,h,(cls_id)] both bbox are in shape (N, 4/5) where N is the number of bboxes If class
modules/tracking/utils.py:21
↓ 1 callersMethodis_ignore
(self, ignore_label)
data/genx_utils/labels.py:176
↓ 1 callersMethodis_only_loading_labels
(self)
data/genx_utils/sequence_base.py:229
↓ 1 callersFunctionis_static_pad
(kernel_size: int, stride: int = 1, dilation: int = 1, **_)
models/layers/maxvit/layers/padding.py:23
↓ 1 callersFunctionlist1d_to_list2d
Unflatten a 1D list to a list of list.
utils/helpers.py:43
↓ 1 callersFunctionlist2d_to_list1d
Flatten a list of list to a 1D list. Should also record the original shape so that we can unflatten it later.
utils/helpers.py:32
↓ 1 callersFunctionmain
(config: DictConfig)
vis_pred.py:229
↓ 1 callersFunctionmain
(config: DictConfig)
predict.py:119
↓ 1 callersFunctionmain
(config: DictConfig)
val.py:31
↓ 1 callersFunctionmain
(config: DictConfig)
train.py:99
↓ 1 callersFunctionmain
(config: DictConfig)
val_dst.py:164
↓ 1 callersFunctionmerge_mixed_batches
(batch: Dict[str, Any])
modules/utils/detection.py:226
↓ 1 callersFunctionmish
Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681 NOTE: I don't have a working inplace variant
models/layers/maxvit/layers/activations.py:29
↓ 1 callersFunctionmish_jit
Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681
models/layers/maxvit/layers/activations_jit.py:26
↓ 1 callersFunctionmish_jit_bwd
(x, grad_output)
models/layers/maxvit/layers/activations_me.py:66
↓ 1 callersFunctionmish_jit_fwd
(x)
models/layers/maxvit/layers/activations_me.py:61
↓ 1 callersMethodmiss
Decay the tracklet's confidence.
modules/tracking/linear.py:126
↓ 1 callersFunctionmixed_collate_fn
(x1: Union[th.Tensor, List[th.Tensor]], x2: Union[th.Tensor, List[th.Tensor]])
modules/utils/detection.py:195
↓ 1 callersFunctionnChw_2_nhwC
N C H W -> N H W C
models/layers/maxvit/maxvit.py:31
↓ 1 callersFunctionnhwC_2_nChw
N H W C -> N C H W
models/layers/maxvit/maxvit.py:38
↓ 1 callersMethodon_train_batch_end_custom
(self, logger: WandbLogger, outputs: Any,
callbacks/viz_base.py:51
↓ 1 callersMethodon_validation_batch_end_custom
(self, batch: Any, outputs: Any)
callbacks/viz_base.py:59
↓ 1 callersMethodon_validation_epoch_end_custom
(self, logger: WandbLogger)
callbacks/viz_base.py:64
↓ 1 callersMethodonly_load_labels
(self)
data/genx_utils/sequence_base.py:232
↓ 1 callersMethodoutput_is_normed
()
models/layers/maxvit/maxvit.py:126
↓ 1 callersMethodpad_labels
Pad the labels to length N and stack them for return.
data/genx_utils/labels.py:585
↓ 1 callersMethodpad_token_mask
(self, token_mask: th.Tensor)
utils/padding.py:60
↓ 1 callersFunctionpred2label
Convert the model prediction after post-processing to pseudo GT. 1. Filter with objectness score threshold. 2. Filter with class score thresh
modules/utils/ssod.py:148
↓ 1 callersMethodpredict_one_seq
Run model over one full event sequence.
modules/detection.py:520
↓ 1 callersFunctionprocess_one_frame
(ev_img, keep_pred, remove_pred, label, label_map)
vis_pred.py:126
↓ 1 callersMethodrandom_torch_shuffle_list
(data: List[Any])
data/utils/stream_concat_datapipe.py:59
↓ 1 callersMethodrandomize_augmentation
Sample new augmentation parameters that will be consistently applied among the items. This function only works with augmentations that are in
data/utils/augmentor.py:173
↓ 1 callersFunctionrandomly_sample_zoom_window_from_label_rectangle
Computes a set of top-left coordinates from which the top-left corner of the zoom window can be sampled such that the zoom window is guaranteed t
data/utils/augmentor.py:521
↓ 1 callersFunctionrandomly_sample_zoom_window_from_objframe
( objframe: ObjectLabels, zoom_window_height: Union[int, float], zoom_window_width: Un
data/utils/augmentor.py:495
↓ 1 callersFunctionread_ev_repr
(h5f: str)
data/utils/misc.py:83
↓ 1 callersFunctionread_old_and_new_data
Read data from original and newly generated dataset.
predict.py:35
↓ 1 callersMethodrecursive_detach
Detach all.
modules/utils/detection.py:108
↓ 1 callersMethodrecursive_reset
Reset the hidden states of all/partial inputs (RNN) to 0.
modules/utils/detection.py:121
↓ 1 callersFunctionrel_pos_indices
(size)
models/layers/maxvit/layers/lambda_layer.py:31
↓ 1 callersMethodreset
(self)
modules/utils/detection.py:34
↓ 1 callersMethodreset
(self)
modules/utils/detection.py:68
↓ 1 callersMethodreset
reset at beginning of file
utils/evaluation/prophesee/io/psee_loader.py:60
↓ 1 callersMethodreset_buffer
(self)
utils/evaluation/prophesee/evaluator.py:66
↓ 1 callersMethodreset_parameters
(self)
models/layers/maxvit/layers/non_local_attn.py:57
← previousnext →301–400 of 938, ranked by callers