MCPcopy Create free account

hub / github.com/UVA-Computer-Vision-Lab/FrameINO / functions

Functions1,469 in github.com/UVA-Computer-Vision-Lab/FrameINO

↓ 2 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
preprocess/SpaTrackV2_code/models/vggt4track/utils/pose_enc.py:65
↓ 2 callersFunctionposemb_sincos_1d
(patches, temperature = 10000, dtype = torch.float32)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/simple_vit_1d.py:9
↓ 2 callersMethodprepare_traj_tensor
(full_pred_tracks, original_height, original_width, selected_frames, dot_radi
data_loader/video_dataset_motion.py:120
↓ 2 callersFunctionpreprocess_image
Preprocess image tensor(s) to target size with crop or pad mode. Args: img_tensor (torch.Tensor): Image tensor of shape (C, H, W) or
preprocess/SpaTrackV2_code/models/vggt4track/utils/load_fn.py:148
↓ 2 callersFunctionrandom_color
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a vect
preprocess/oneformer_code/demo/colormap.py:126
↓ 2 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
pipelines/pipeline_cogvideox_i2v_motion.py:160
↓ 2 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:153
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/utils.py:196
↓ 2 callersMethodsave_video
(self, video, filename, writer=None, step=0)
preprocess/SpaTrackV2_code/utils/visualizer.py:124
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
architecture/cogvideox_transformer_3d.py:372
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator.py:315
↓ 2 callersFunctionsolve_optimal_focal_shift
Solve `min |focal * xy / (z + shift) - uv|` with respect to shift and focal
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:79
↓ 2 callersFunctionsolve_optimal_shift
Solve `min |focal * xy / (z + shift) - uv|` with respect to shift
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:99
↓ 2 callersFunctionsplit_batch_fwd
(fn: Callable, chunk_size: int, *args, **kwargs)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/alignment.py:31
↓ 2 callersMethodsummarize
Compute and display summary metrics for evaluation results given a custom value for max_dets_per_image
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:641
↓ 2 callersMethodsummarize
Compute and display summary metrics for evaluation results given a custom value for max_dets_per_image
preprocess/oneformer_code/oneformer/evaluation/coco_evaluator.py:481
↓ 2 callersFunctionvis_pcd
args: rgbs: [S C H W] R: [S 3 3] T: [S 3] xy_depth: [S H W 3] focal_length: [S] pick_idx: list of
preprocess/SpaTrackV2_code/models/utils.py:816
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
preprocess/oneformer_code/oneformer/modeling/backbone/swin.py:45
↓ 2 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/transformer.py:186
↓ 2 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:56
↓ 1 callersFunctionID_tensor_to_vae_latent
(ID_tensors, vae, device)
train_code/train_wan_motion_FrameINO.py:614
↓ 1 callersFunctionINO_DINO_evaluation
Args: num_frames (int): If this is none, it means that we need find gen frames num by ourselves test_num_frames (int)
evaluation/evaluate_INO_DINO.py:28
↓ 1 callersFunctionINO_Traj_evaluation
Args: region_target_height (int): Height without the padding, the padding will be scaled together region_target_w
evaluation/evaluate_INO_Traj.py:68
↓ 1 callersFunctionINO_VLM_evaluation
Args: region_target_height (int): Height without the padding, the padding will be scaled together region_target_w
evaluation/evaluate_INO_VLM.py:25
↓ 1 callersFunctionINO_VSeg_MAE_evaluation
Args: region_target_height (int): Height without the padding, the padding will be scaled together region_target_w
evaluation/evaluate_INO_VSeg_MAE.py:23
↓ 1 callersMethodProcVid
split the video into several overlapped windows. args: x: the input video frames. [B, T, C, H, W] outp
preprocess/SpaTrackV2_code/models/SpaTrack.py:98
↓ 1 callersFunctionSAM2_Refine
(sam2_predictor, all_frames, GPU_offset, visual_store_folder, obj_Track_Traj, obj_Track_Visibility,
preprocess/track_FrameINO.py:215
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator.py:147
↓ 1 callersMethod__enter__
(self)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:179
↓ 1 callersMethod__exit__
(self, exc_type, exc_val, exc_tb)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:198
↓ 1 callersMethod__init__
( self, dim: int, num_attention_heads: int, attention_head_dim: int, t
architecture/cogvideox_transformer_3d.py:77
↓ 1 callersMethod__init__
Initializes the position generator with an empty cache.
preprocess/SpaTrackV2_code/models/vggt4track/layers/rope.py:35
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
preprocess/SpaTrackV2_code/models/vggt4track/layers/swiglu_ffn.py:15
↓ 1 callersMethod__init__
Build a pyramid of feature maps from the input. fmaps: Tensor (B, S, C, H, W) num_levels: number of pyramid levels (each dow
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/blocks.py:148
↓ 1 callersMethod__init__
( self, window_len=8, stride=4, corr_radius=3, corr_levels=4,
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/cotracker_base.py:69
↓ 1 callersMethod__init__
observed_depth: float
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:140
↓ 1 callersMethod__init__
Args: cfg (CfgNode): num_gpus (int): if 0, will run on CPU
preprocess/oneformer_code/demo/predictor.py:130
↓ 1 callersFunction_act
(act_type, **kwargs)
preprocess/auxiliary/AutoShot.py:56
↓ 1 callersMethod_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
preprocess/SpaTrackV2_code/models/vggt4track/layers/rope.py:86
↓ 1 callersFunction_compute_residual
(a: torch.Tensor, xyw: torch.Tensor, trunc: float)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/alignment.py:56
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
preprocess/oneformer_code/oneformer/data/datasets/register_cityscapes_panoptic.py:71
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
preprocess/oneformer_code/oneformer/data/datasets/register_ade20k_panoptic.py:232
↓ 1 callersFunction_convert_category_id
(segment_info, meta)
preprocess/oneformer_code/oneformer/data/datasets/register_coco_panoptic_annos_semseg.py:264
↓ 1 callersMethod_convert_keypoints
(self, keypoints)
preprocess/oneformer_code/demo/visualizer.py:1342
↓ 1 callersMethod_convert_masks
Convert different format of masks or polygons to a tuple of masks and polygons. Returns: list[GenericMask]:
preprocess/oneformer_code/demo/visualizer.py:1302
↓ 1 callersMethod_derive_coco_results
Derive the desired score numbers from summarized COCOeval. Args: coco_eval (None or COCOEval): None represents no predic
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:325
↓ 1 callersMethod_draw_gt_tracks
( self, rgb: np.ndarray, # H x W x 3, gt_tracks: np.ndarray, # T x 2 )
preprocess/SpaTrackV2_code/utils/visualizer.py:318
↓ 1 callersMethod_draw_pred_tracks
( self, rgb: np.ndarray, # H x W x 3 tracks: np.ndarray, # T x 2 vector_colo
preprocess/SpaTrackV2_code/utils/visualizer.py:289
↓ 1 callersMethod_draw_text_in_mask
Find proper places to draw text given a binary mask.
preprocess/oneformer_code/demo/visualizer.py:1324
↓ 1 callersMethod_eval_box_proposals
Evaluate the box proposals in predictions. Fill self._results with the metrics for "box_proposals" task.
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:286
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:224
↓ 1 callersMethod_eval_predictions
Evaluate predictions. Fill self._results with the metrics of the tasks.
preprocess/oneformer_code/oneformer/evaluation/coco_evaluator.py:221
↓ 1 callersFunction_evaluate_box_proposals
Evaluate detection proposal recall metrics. This function is a much faster alternative to the official COCO API recall evaluation code. Howev
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:457
↓ 1 callersFunction_evaluate_predictions_on_coco
Evaluate the coco results using COCOEval API.
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:568
↓ 1 callersMethod_freeze_stages
(self)
preprocess/oneformer_code/oneformer/modeling/backbone/dinat.py:194
↓ 1 callersFunction_get_2d_rotary_pos_embed_np
RoPE for image tokens with 2d structure. Args: embed_dim: (`int`): The embedding dimension size crops_coords (`Tuple[int]`)
architecture/embeddings.py:1058
↓ 1 callersFunction_get_3d_sincos_pos_embed_np
r""" Creates 3D sinusoidal positional embeddings. Args: embed_dim (`int`): The embedding dimension of inputs. It must be
architecture/embeddings.py:153
↓ 1 callersFunction_get_ade_instances_meta
()
preprocess/oneformer_code/oneformer/data/datasets/register_ade20k_instance.py:31
↓ 1 callersMethod_get_instance_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/oneformer_unified_dataset_mapper.py:180
↓ 1 callersMethod_get_instance_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/coco_unified_new_baseline_dataset_mapper.py:184
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:295
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:283
↓ 1 callersMethod_get_panoptic_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/oneformer_unified_dataset_mapper.py:224
↓ 1 callersMethod_get_panoptic_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/coco_unified_new_baseline_dataset_mapper.py:227
↓ 1 callersMethod_get_positional_embeddings
( self, sample_height: int, sample_width: int, sample_frames: int, device: Optional[torch.device] = No
architecture/embeddings.py:692
↓ 1 callersMethod_get_semantic_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/oneformer_unified_dataset_mapper.py:131
↓ 1 callersMethod_get_semantic_dict
(self, pan_seg_gt, image_shape, segments_info, num_class_obj)
preprocess/oneformer_code/oneformer/data/dataset_mappers/coco_unified_new_baseline_dataset_mapper.py:136
↓ 1 callersFunction_get_t5_prompt_embeds
( tokenizer: AutoTokenizer, text_encoder: UMT5EncoderModel, prompt: Union[str, List[str]], num
train_code/train_wan_motion_FrameINO.py:303
↓ 1 callersFunction_get_t5_prompt_embeds
( tokenizer: T5Tokenizer, text_encoder: T5EncoderModel, prompt: Union[str, List[str]], num_vid
train_code/train_cogvideox_motion_FrameINO.py:229
↓ 1 callersFunction_get_t5_prompt_embeds
( tokenizer: T5Tokenizer, text_encoder: T5EncoderModel, prompt: Union[str, List[str]], num_vid
train_code/train_cogvideox_motion.py:221
↓ 1 callersFunction_get_t5_prompt_embeds
( tokenizer: AutoTokenizer, text_encoder: UMT5EncoderModel, prompt: Union[str, List[str]], num
train_code/train_wan_motion.py:281
↓ 1 callersMethod_get_tgt_permutation_idx
(self, indices)
preprocess/oneformer_code/oneformer/modeling/criterion.py:255
↓ 1 callersMethod_init_weights
(self)
preprocess/auxiliary/AutoShot.py:129
↓ 1 callersFunction_is_power_of_2
(n)
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/ops/modules/ms_deform_attn.py:31
↓ 1 callersFunction_make_scratch
(in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False)
preprocess/SpaTrackV2_code/models/vggt4track/heads/dpt_head.py:326
↓ 1 callersFunction_max_by_axis
(the_list)
preprocess/oneformer_code/oneformer/utils/misc.py:102
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
preprocess/oneformer_code/oneformer/utils/misc.py:24
↓ 1 callersFunction_ntuple
(n)
preprocess/SpaTrackV2_code/models/blocks.py:21
↓ 1 callersFunction_ntuple
(n)
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/modules.py:19
↓ 1 callersFunction_ntuple
(n)
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:275
↓ 1 callersFunction_ntuple
(n)
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:22
↓ 1 callersFunction_onnx_nested_tensor_from_tensor_list
(tensor_list: List[Tensor])
preprocess/oneformer_code/oneformer/utils/misc.py:162
↓ 1 callersFunction_point_line_distance
(p1, r1, p2)
preprocess/SpaTrackV2_code/models/camera_transform.py:175
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
pipelines/pipeline_cogvideox_i2v_motion.py:547
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:540
↓ 1 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator.py:267
↓ 1 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator_front.py:271
↓ 1 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator.py:291
↓ 1 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
preprocess/SpaTrackV2_code/models/vggt4track/models/aggregator_front.py:295
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/transformer.py:59
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:51
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:109
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:174
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/fpn.py:186
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/msdeformattn.py:43
↓ 1 callersMethod_reset_parameters
(self)
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/ops/modules/ms_deform_attn.py:69
↓ 1 callersMethod_rotate_features
Performs feature rotation by splitting and recombining feature dimensions. Args: x: Input tensor to rotate. Returns:
preprocess/SpaTrackV2_code/models/vggt4track/layers/rope.py:120
↓ 1 callersMethod_set_aux_loss
(self, outputs_class, outputs_seg_masks)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:516
↓ 1 callersMethod_setup_figure
Args: Same as in :meth:`__init__()`. Returns: fig (matplotlib.pyplot.figure): top level container for all the
preprocess/oneformer_code/demo/visualizer.py:282
↓ 1 callersFunction_smooth
(err: torch.FloatTensor, beta: float = 0.0)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/alignment.py:426
← previousnext →201–300 of 1,469, ranked by callers