MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
(config, args)
train_code/train_cogvideox_motion.py:506
↓ 1 callersFunctionmain
(config, args)
train_code/train_wan_motion.py:601
↓ 1 callersFunctionmake_colorwheel
Generates a color wheel for optical flow visualization as presented in: Baker et al. "A Database and Evaluation Methodology for Optical F
utils/optical_flow_utils.py:4
↓ 1 callersFunctionmask_aware_nearest_resize
Resize 2D map by nearest interpolation. Return the nearest neighbor index and mask of the resized map. ### Parameters - `inputs`: a sing
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_torch.py:173
↓ 1 callersFunctionmask_aware_nearest_resize_numpy
Resize 2D map by nearest interpolation. Return the nearest neighbor index and mask of the resized map. ### Parameters - `inputs`: a sing
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:141
↓ 1 callersFunctionmask_to_bbox
(mask)
preprocess/track_FrameINO.py:194
↓ 1 callersFunctionmass_evaluation
(data_parent_path, evaluation_metrics, common_target_height=256, common_target_width=
evaluation/mass_evaluation.py:20
↓ 1 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
preprocess/SpaTrackV2_code/models/vggt4track/utils/rotation.py:47
↓ 1 callersMethodmemory_efficient_forward
More memory-friendly matching
preprocess/oneformer_code/oneformer/modeling/matcher.py:120
↓ 1 callersFunctionmesh_grid
Generate the mesh grid, centering at zero. Args: kernel_size (int): Returns: xy (ndarray): with the shape (kernel_size, kernel
utils/optical_flow_utils.py:168
↓ 1 callersFunctionmeshgrid2d
(B, Y, X, stack=False, norm=False, device="cuda")
preprocess/SpaTrackV2_code/models/utils.py:1071
↓ 1 callersFunctionmodulate
Modulate the input tensor using scaling and shifting parameters.
preprocess/SpaTrackV2_code/models/vggt4track/heads/scale_head.py:157
↓ 1 callersFunctionmodulate
Modulate the input tensor using scaling and shifting parameters.
preprocess/SpaTrackV2_code/models/vggt4track/heads/camera_head.py:157
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:24
↓ 1 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor])
preprocess/oneformer_code/oneformer/utils/misc.py:134
↓ 1 callersMethodnon_empty_mask
Returns: (H, W) array, a mask for all pixels that have a prediction
preprocess/oneformer_code/demo/visualizer.py:210
↓ 1 callersFunctionnormalize_rgb
normalize the image for depth anything input args: x: the input images [B T C H W]
preprocess/SpaTrackV2_code/models/utils.py:1117
↓ 1 callersFunctionnormalize_single
(d)
preprocess/SpaTrackV2_code/utils/model_utils.py:118
↓ 1 callersFunctionnormalize_translation
(new_cameras, points=None, max_norm=False)
preprocess/SpaTrackV2_code/models/camera_transform.py:225
↓ 1 callersMethodoutput_shape
(self)
preprocess/oneformer_code/oneformer/modeling/backbone/dinat.py:286
↓ 1 callersMethodoverlay_rotated_instances
Args: boxes (ndarray): an Nx5 numpy array of (x_center, y_center, width, height, angle_degrees) format
preprocess/oneformer_code/demo/visualizer.py:851
↓ 1 callersFunctionpanoptic_run
(img, predictor, debug = False)
preprocess/filter_panoptic_multi.py:174
↓ 1 callersFunctionpatchify
(x, patch_size)
architecture/autoencoder_kl_wan.py:912
↓ 1 callersFunctionpdf2
Calculate PDF of the bivariate Gaussian distribution. Args: sigma_matrix (ndarray): with the shape (2, 2) grid (ndarray): generate
utils/optical_flow_utils.py:184
↓ 1 callersFunctionpolygon_area
(coordinates)
preprocess/scoring_img.py:31
↓ 1 callersMethodpolygons_to_mask
(self, polygons)
preprocess/oneformer_code/demo/visualizer.py:151
↓ 1 callersMethodpool_tokens
Pool tokens in x using mask. NOTE: We assume x does not require gradients. Args: x: (B, L, D) tensor of tokens.
architecture/embeddings.py:2031
↓ 1 callersFunctionposenc
Cat x with a positional encoding of x with scales 2^[min_deg, max_deg-1]. Instead of computing [sin(x), cos(x)], we use the trig identity cos(
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/cotracker_base.py:46
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
preprocess/SpaTrackV2_code/models/vggt4track/heads/utils.py:11
↓ 1 callersFunctionpositionalEncoding_vec
(in_tensor, b)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/utils.py:772
↓ 1 callersFunctionpredict_probs_for_video
Run the model on one video and return per-frame probabilities in [0,1], length T. Matches the repo's behavior by taking center 50 fra
preprocess/scoring_scene_cut_autoshot.py:46
↓ 1 callersMethodprepare_extra_step_kwargs
(self, generator, eta)
pipelines/pipeline_cogvideox_i2v_motion.py:451
↓ 1 callersMethodprepare_extra_step_kwargs
(self, generator, eta)
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:444
↓ 1 callersMethodprepare_latents
( self, image: PipelineImageInput, traj_tensor, ID_tensor, batch_size:
pipelines/pipeline_wan_i2v_motion_FrameINO.py:400
↓ 1 callersMethodprepare_latents
( self, image: PipelineImageInput, traj_tensor, batch_size: int, num_c
pipelines/pipeline_wan_i2v_motion.py:400
↓ 1 callersMethodprepare_latents
( self, image: torch.Tensor, batch_size: int = 1, num_channels_latents: int =
pipelines/pipeline_cogvideox_i2v_motion.py:357
↓ 1 callersMethodprepare_latents
( self, image: torch.Tensor, batch_size: int = 1, num_channels_latents: int =
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:350
↓ 1 callersFunctionprepare_rotary_positional_embeddings
( height: int, width: int, num_frames: int, vae_scale_factor_spatial: int = 8, patch_size:
train_code/train_cogvideox_motion_FrameINO.py:328
↓ 1 callersFunctionprepare_rotary_positional_embeddings
( height: int, width:
train_code/train_cogvideox_motion.py:319
↓ 1 callersMethodprepare_targets
(self, targets, images)
preprocess/oneformer_code/oneformer/oneformer_model.py:356
↓ 1 callersFunctionprepare_traj_tensor
(full_pred_tracks, full_visibility_tracks, original_height, original_width, selected_frames,
preprocess/track_regular_motion_cycle.py:42
↓ 1 callersFunctionprepare_traj_tensor
(full_pred_tracks, full_visibility_tracks, original_height, original_width, selected_frames,
preprocess/make_delete_lists_motion.py:41
↓ 1 callersMethodprepare_traj_tensor
(full_pred_tracks, original_height, original_width, selected_frames, dot_radi
data_loader/video_dataset_motion_FrameINO.py:127
↓ 1 callersMethodprepare_traj_tensor
(full_pred_tracks, original_height, original_width, selected_frames, dot_radi
data_loader/video_dataset_motion_FrameINO_old.py:116
↓ 1 callersFunctionprepare_traj_visual
(full_pred_tracks, full_visibility_tracks, original_height, original_width, selected_frames,
preprocess/track_FrameINO.py:50
↓ 1 callersMethodprocess
Process the pair of inputs and outputs. If they contain batches, the pairs can be consumed one-by-one using `zip`: .. code-b
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:37
↓ 1 callersMethodprocess
(self, inputs, outputs)
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:90
↓ 1 callersFunctionprocess_points
(traj_list, num_frames=81)
app.py:355
↓ 1 callersFunctionprompt_clean
(text)
pipelines/pipeline_wan_i2v_motion_FrameINO.py:115
↓ 1 callersFunctionprompt_clean
(text)
pipelines/pipeline_wan_i2v_motion.py:115
↓ 1 callersFunctionpycolmap_to_batch_matrix
Convert a PyCOLMAP Reconstruction Object to batched PyTorch tensors. Args: reconstruction (pycolmap.Reconstruction): The reconstruct
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:416
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
preprocess/SpaTrackV2_code/models/vggt4track/utils/rotation.py:14
↓ 1 callersFunctionrecover_global_translations_batch
(global_rot, c2w_traj, graph_weight)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/utils.py:546
↓ 1 callersFunctionregister_ade20k_panoptic
Register a "standard" version of ADE20k panoptic segmentation dataset named `name`. The dictionaries in this registered dataset follows detec
preprocess/oneformer_code/oneformer/data/datasets/register_ade20k_panoptic.py:275
↓ 1 callersFunctionregister_all_ade20k_instance
(root)
preprocess/oneformer_code/oneformer/data/datasets/register_ade20k_instance.py:44
↓ 1 callersFunctionregister_all_ade20k_panoptic
(root)
preprocess/oneformer_code/oneformer/data/datasets/register_ade20k_panoptic.py:374
↓ 1 callersFunctionregister_all_cityscapes_panoptic
(root)
preprocess/oneformer_code/oneformer/data/datasets/register_cityscapes_panoptic.py:133
↓ 1 callersFunctionregister_all_coco_panoptic_annos_sem_seg
(root)
preprocess/oneformer_code/oneformer/data/datasets/register_coco_panoptic_annos_semseg.py:341
↓ 1 callersFunctionregister_coco_panoptic_annos_sem_seg
( name, metadata, image_root, panoptic_root, panoptic_json, sem_seg_root, instances_json, instances_name,
preprocess/oneformer_code/oneformer/data/datasets/register_coco_panoptic_annos_semseg.py:310
↓ 1 callersFunctionregister_panoptic2instances_coco
(root)
preprocess/oneformer_code/oneformer/data/datasets/register_coco_panoptic2instance.py:32
↓ 1 callersMethodreset
(self)
preprocess/SpaTrackV2_code/models/utils.py:43
↓ 1 callersMethodreset
Preparation for a new round of evaluation. Should be called before starting a round of evaluation.
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:30
↓ 1 callersMethodreset
(self)
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:86
↓ 1 callersFunctionretrieve_timesteps
r""" Calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. Handles custom timesteps. Any kwa
pipelines/pipeline_cogvideox_i2v_motion.py:100
↓ 1 callersFunctionretrieve_timesteps
r""" Calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. Handles custom timesteps. Any kwa
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:93
↓ 1 callersFunctionsample_traj_by_length
(points, num_samples)
app.py:487
↓ 1 callersMethodscratch_forward
Forward pass through the fusion blocks. Args: features (List[Tensor]): List of feature maps from different layers.
preprocess/SpaTrackV2_code/models/vggt4track/heads/dpt_head.py:274
↓ 1 callersFunctionsegment
(img, dataset, backbone, debug)
preprocess/filter_panoptic_multi.py:204
↓ 1 callersMethodsemantic_masks
(self)
preprocess/oneformer_code/demo/visualizer.py:226
↓ 1 callersFunctionsequence_BCE_loss
(vis_preds, vis_gts, mask=None)
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:780
↓ 1 callersFunctionsequence_loss
Loss function defined over sequence of flow predictions
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:677
↓ 1 callersFunctionsequence_loss_xyz
Loss function defined over sequence of flow predictions
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:726
↓ 1 callersFunctionsequence_prob_loss
Loss for classifying if a point is within pixel threshold of its target.
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:798
↓ 1 callersFunctionset_nested_dict
(d: Dict[str, Dict], keys: Tuple[str, ...], value: Any)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:59
↓ 1 callersFunctionsetup_cfg
(dataset, backbone)
preprocess/filter_panoptic_multi.py:152
↓ 1 callersFunctionsetup_modules
()
preprocess/filter_panoptic_multi.py:133
↓ 1 callersMethodshutdown
(self)
preprocess/oneformer_code/demo/predictor.py:184
↓ 1 callersFunctionsigma_matrix2
Calculate the rotated sigma matrix (two dimensional matrix). Args: sig_x (float): sig_y (float): theta (float): Radian mea
utils/optical_flow_utils.py:154
↓ 1 callersFunctionsingle_process
(csv_folder_path, store_folder_path, GPU_offset, min_process_frame, max_process_frame)
preprocess/track_regular_motion_cycle.py:167
↓ 1 callersFunctionsingle_process
(csv_folder_path, store_folder_path, GPU_offset, speedup_factor, max_sec_consider)
preprocess/track_camera_pose_spatracker2.py:73
↓ 1 callersFunctionsingle_process
(csv_folder_path, store_folder_path, GPU_offset)
preprocess/scoring_scene_cut_autoshot.py:83
↓ 1 callersFunctionsingle_process
(csv_folder_path, store_folder_path, GPU_offset, debug)
preprocess/track_FrameINO.py:405
↓ 1 callersFunctionsingle_process
( csv_folder_path, store_folder_path, process_idx,
preprocess/filter_basic.py:19
↓ 1 callersFunctionsingle_process
( csv_folder_path, store_folder_path, GPU_offset,
preprocess/scoring_img.py:43
↓ 1 callersFunctionsingle_process
(input_csv_folder_path, store_csv_folder_path, GPU_offset)
preprocess/caption_qwen_multi.py:29
↓ 1 callersFunctionsingle_process
(csv_folder_path, store_folder_path, GPU_offset, sample_duration_ratio, use_MOTIONABLE_OBJECT,
preprocess/filter_panoptic_multi.py:290
↓ 1 callersFunctionsolve_bundle_adjustment
Perform bundle adjustment optimization (compatible with pycolmap 0.5+) Args: reconstruction: pycolmap.Reconstruction object
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:203
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
preprocess/SpaTrackV2_code/models/utils.py:1005
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
preprocess/SpaTrackV2_code/models/vggt4track/utils/rotation.py:126
↓ 1 callersMethodtiled_decode
r""" Decode a batch of images using a tiled decoder. Args: z (`torch.Tensor`): Input batch of latent vectors.
architecture/autoencoder_kl_wan.py:1336
↓ 1 callersMethodtiled_encode
r"""Encode a batch of images using a tiled encoder. Args: x (`torch.Tensor`): Input batch of videos. Returns:
architecture/autoencoder_kl_wan.py:1270
↓ 1 callersMethodtoken_drop
Drops labels to enable classifier-free guidance.
architecture/embeddings.py:1524
↓ 1 callersMethodtrack_d2_loss
tracks3d: B T N 3 dyn_prob: B T N 1
preprocess/SpaTrackV2_code/models/tracker3D/TrackRefiner.py:1190
↓ 1 callersMethodtrain
(self, mode=True)
preprocess/oneformer_code/oneformer/modeling/backbone/dinat.py:207
↓ 1 callersFunctiontraj_tensor_to_vae_latent
(traj_tensor, vae, device)
train_code/train_wan_motion_FrameINO.py:577
↓ 1 callersFunctiontraj_tensor_to_vae_latent
(traj_tensor, vae, device)
train_code/train_cogvideox_motion_FrameINO.py:498
↓ 1 callersFunctiontraj_tensor_to_vae_latent
(traj_tensor, vae, device)
train_code/train_cogvideox_motion.py:483
↓ 1 callersFunctiontraj_tensor_to_vae_latent
(traj_tensor, vae, device)
train_code/train_wan_motion.py:558
↓ 1 callersFunctiontraverse_nested_dict_keys
(d: Dict[str, Dict])
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:43
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
preprocess/SpaTrackV2_code/models/vggt4track/heads/scale_head.py:102
← previousnext →501–600 of 1,469, ranked by callers