MCPcopy Create free account

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

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

↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
preprocess/SpaTrackV2_code/models/utils.py:995
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
preprocess/SpaTrackV2_code/models/vggt4track/utils/rotation.py:112
↓ 1 callersMethod_tasks_from_predictions
Get COCO API "tasks" (i.e. iou_type) from COCO-format predictions.
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:214
↓ 1 callersMethod_transform_annotations
(self, dataset_dict, transforms, image_shape)
preprocess/oneformer_code/oneformer/data/dataset_mappers/dataset_mapper.py:124
↓ 1 callersFunctionactivate_head
Process network output to extract 3D points and confidence values. Args: out: Network output tensor (B, C, H, W) activation:
preprocess/SpaTrackV2_code/models/vggt4track/heads/head_act.py:61
↓ 1 callersFunctionadd_common_config
Add config for common configuration
preprocess/oneformer_code/oneformer/config.py:8
↓ 1 callersFunctionadd_dinat_config
Add config for NAT Backbone.
preprocess/oneformer_code/oneformer/config.py:177
↓ 1 callersFunctionadd_oneformer_config
Add config for ONE_FORMER.
preprocess/oneformer_code/oneformer/config.py:99
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
preprocess/SpaTrackV2_code/models/vggt4track/layers/block.py:148
↓ 1 callersFunctionadd_swin_config
Add config forSWIN Backbone.
preprocess/oneformer_code/oneformer/config.py:150
↓ 1 callersFunctionalign_points_scale_xyz_shift
Align `points_src` to `points_tgt` with respect to a shared xyz scale and z shift. It is similar to `align_affine` but scale and shift are a
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/alignment.py:313
↓ 1 callersFunctionalign_points_scale_z_shift
Align `points_src` to `points_tgt` with respect to a shared xyz scale and z shift. It is similar to `align_affine` but scale and shift are a
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/alignment.py:259
↓ 1 callersMethodall_reduce
(self)
preprocess/SpaTrackV2_code/models/utils.py:55
↓ 1 callersMethodapply_linear_attention
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor)
architecture/attention_processor.py:895
↓ 1 callersMethodapply_quadratic_attention
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor)
architecture/attention_processor.py:904
↓ 1 callersMethodattend_with_rpe
(self, Q, K)
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:707
↓ 1 callersMethodattention
(self, x: torch.Tensor, key_padding_mask: torch.Tensor)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/text_transformer.py:171
↓ 1 callersFunctionba_pycolmap
world_tracks: 1 1 K 3 this is the coarse 3d tracks in world coordinate (coarse 3d tracks) intrs: B T 3 3 this is the intrinsic matrix
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:469
↓ 1 callersFunctionbasic_clean
(text)
pipelines/pipeline_wan_i2v_motion_FrameINO.py:103
↓ 1 callersFunctionbasic_clean
(text)
pipelines/pipeline_wan_i2v_motion.py:103
↓ 1 callersFunctionbasic_clean
(text)
preprocess/oneformer_code/oneformer/data/tokenizer.py:75
↓ 1 callersFunctionbatch_dice_loss
Compute the DICE loss, similar to generalized IOU for masks Args: inputs: A float tensor of arbitrary shape. The pred
preprocess/oneformer_code/oneformer/modeling/matcher.py:38
↓ 1 callersFunctionbatch_matrix_to_pycolmap
Convert Batched Pytorch Tensors to PyCOLMAP Check https://github.com/colmap/pycolmap for more details about its format
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:251
↓ 1 callersMethodbbox
(self)
preprocess/oneformer_code/demo/visualizer.py:159
↓ 1 callersFunctionbox_iou_pairwise
(boxes1, boxes2)
preprocess/oneformer_code/oneformer/utils/box_ops.py:67
↓ 1 callersMethodbpe
(self, token)
preprocess/oneformer_code/oneformer/data/tokenizer.py:148
↓ 1 callersMethodbuild_attention_mask
(self)
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/text_transformer.py:237
↓ 1 callersFunctionbuild_canvas
(input_image_path, resized_height, resized_width, top_left_height, top_left_width, bottom_right_height, bottom
app.py:270
↓ 1 callersFunctionbuild_pixel_decoder
Build a pixel decoder from `cfg.MODEL.MASK_FORMER.PIXEL_DECODER_NAME`.
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/fpn.py:21
↓ 1 callersFunctionbuild_transform_gen
Create a list of default :class:`Augmentation` from config. Now it includes resizing and flipping. Returns: list[Augmentation]
preprocess/oneformer_code/oneformer/data/dataset_mappers/coco_unified_new_baseline_dataset_mapper.py:23
↓ 1 callersFunctionbuild_transformer_decoder
Build a instance embedding branch from `cfg.MODEL.INS_EMBED_HEAD.NAME`.
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:28
↓ 1 callersFunctioncalculate_camera_motion
(camera_info)
preprocess/make_delete_lists_camera.py:62
↓ 1 callersFunctioncalculate_uncertainty
We estimate uncerainty as L1 distance between 0.0 and the logit prediction in 'logits' for the foreground class in `classes`. Args:
preprocess/oneformer_code/oneformer/modeling/criterion.py:91
↓ 1 callersFunctioncamera_pose_estimation
(video_np, vggt4track_model)
preprocess/track_camera_pose_spatracker2.py:35
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_double
()
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/ops/test.py:35
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_float
()
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/ops/test.py:51
↓ 1 callersFunctioncheck_gradient_numerical
(channels=4, grad_value=True, grad_sampling_loc=True, grad_attn_weight=True)
preprocess/oneformer_code/oneformer/modeling/pixel_decoder/ops/test.py:66
↓ 1 callersMethodcheck_inputs
( self, prompt, negative_prompt, image, height, width,
pipelines/pipeline_wan_i2v_motion_FrameINO.py:339
↓ 1 callersMethodcheck_inputs
( self, prompt, negative_prompt, image, height, width,
pipelines/pipeline_wan_i2v_motion.py:339
↓ 1 callersMethodcheck_inputs
( self, image, prompt, height, width, negative_prompt,
pipelines/pipeline_cogvideox_i2v_motion.py:468
↓ 1 callersMethodcheck_inputs
( self, image, prompt, height, width, negative_prompt,
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:461
↓ 1 callersMethodclose
(self)
preprocess/oneformer_code/oneformer/utils/events.py:119
↓ 1 callersFunctionclosed_form_inverse_OpenCV
Computes the inverse of each 4x4 SE3 matrix in the batch. Args: - se3 (Tensor): Nx4x4 tensor of SE3 matrices. Returns: - Tensor
preprocess/SpaTrackV2_code/models/utils.py:149
↓ 1 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. If `R` and `T` are provided, they must correspond to the rotation and transl
preprocess/SpaTrackV2_code/models/vggt4track/utils/geometry.py:117
↓ 1 callersFunctioncolor_from_xy
Map (x, y) -> color in (R, G, B). 1) Normalize x,y to [0,1]. 2) Combine them into a single scalar c in [0,1]. 3) Use matplotlib's col
preprocess/SpaTrackV2_code/models/vggt4track/utils/visual_track.py:13
↓ 1 callersMethodcompute_color_histograms
(frames)
preprocess/auxiliary/TransNetV2.py:298
↓ 1 callersMethodcompute_color_histograms
(self, frames)
preprocess/auxiliary/AutoShot.py:337
↓ 1 callersFunctioncompute_corr_level
(fmap1, fmap2s, C)
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/blocks.py:241
↓ 1 callersFunctioncompute_optical_axis_intersection
(cameras)
preprocess/SpaTrackV2_code/models/camera_transform.py:123
↓ 1 callersFunctioncompute_optical_transform
adapted from https://github.com/amyxlase/relpose-plus-plus
preprocess/SpaTrackV2_code/models/camera_transform.py:96
↓ 1 callersFunctioncompute_pose_error
Compute the translation and rotation error between two camera poses. Parameters: - R1, R2: (3, 3) numpy arrays representing rotation mat
preprocess/make_delete_lists_camera.py:24
↓ 1 callersFunctioncompute_prompt_embeddings
( tokenizer, text_encoder, prompt, max_sequence_length, device, dtype, requires_grad: bool = False )
train_code/train_wan_motion_FrameINO.py:371
↓ 1 callersFunctioncompute_prompt_embeddings
( tokenizer, text_encoder, prompt, max_sequence_length, device, dtype, requires_grad: bool = False )
train_code/train_cogvideox_motion_FrameINO.py:297
↓ 1 callersFunctioncompute_prompt_embeddings
( tokenizer, text_encoder, prompt, max_sequence_length, device, dtype, requires_grad: bool = False )
train_code/train_cogvideox_motion.py:289
↓ 1 callersFunctioncompute_prompt_embeddings
( tokenizer, text_encoder, prompt, max_sequence_length, device, dtype, requires_grad: bool = False )
train_code/train_wan_motion.py:349
↓ 1 callersFunctioncompute_scale_and_shift
(prediction, target, mask)
preprocess/SpaTrackV2_code/models/utils.py:488
↓ 1 callersFunctioncompute_weighted_std
Compute the weighted standard deviation of 2D tracks across time. Args: track2d (Tensor): shape (B, T, N, 2), 2D tracked points.
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/pointmap_updator.py:48
↓ 1 callersMethodcorr_sample
Instead of storing the entire correlation pyramid, we compute each level's correlation volume, sample it immediately, then discard it
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/blocks.py:186
↓ 1 callersFunctioncreate_intri_matrix
Creates a intri matrix from focal length and principal point. Args: focal_length (torch.Tensor): A Bx2 or BxSx2 tensor containing th
preprocess/SpaTrackV2_code/models/utils.py:117
↓ 1 callersFunctioncreate_uv_grid
Create a normalized UV grid of shape (width, height, 2). The grid spans horizontally and vertically according to an aspect ratio, ensuri
preprocess/SpaTrackV2_code/models/vggt4track/heads/utils.py:66
↓ 1 callersMethodcropped_pos_embed
Crops positional embeddings for SD3 compatibility.
architecture/embeddings.py:517
↓ 1 callersFunctioncurate_all_object_speed
(csv_folder_path, process_id)
preprocess/make_delete_lists_motion.py:163
↓ 1 callersMethoddecode
r""" Decode a batch of images. Args: z (`torch.Tensor`): Input batch of latent vectors. return_dict (`bool`,
architecture/autoencoder_kl_wan.py:1230
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
pipelines/pipeline_cogvideox_i2v_motion.py:433
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:426
↓ 1 callersMethoddecompose
(self)
preprocess/oneformer_code/oneformer/utils/misc.py:127
↓ 1 callersFunctiondefault_bpe
()
preprocess/oneformer_code/oneformer/data/tokenizer.py:38
↓ 1 callersFunctiondepth2pcd
args: xy_depth: [S H W 3] focal_length: [S] R: [S 3 3] W2C T: [S 3] W2C return: xyz: [S 3 (H W)
preprocess/SpaTrackV2_code/models/utils.py:928
↓ 1 callersFunctiondepth_to_cam_coords_points
Convert a depth map to camera coordinates. Args: depth_map (np.ndarray): Depth map of shape (H, W). intrinsic (np.ndarray):
preprocess/SpaTrackV2_code/models/vggt4track/utils/geometry.py:84
↓ 1 callersFunctiondepth_to_world_coords_points
Convert a depth map to world coordinates. Args: depth_map (np.ndarray): Depth map of shape (H, W). intrinsic (np.ndarray): C
preprocess/SpaTrackV2_code/models/vggt4track/utils/geometry.py:44
↓ 1 callersFunctiondino_transform_Image
(n_px)
evaluation/evaluate_INO_DINO.py:19
↓ 1 callersFunctiondiscard_video_in_range
(csv_folder_path, store_folder_path, process_id, lower_threshold, higher_threshold)
preprocess/make_delete_lists_motion.py:251
↓ 1 callersFunctiondisk_blur
Apply disk blur to an image using FFT convolution. Args: image (np.ndarray): Input image, can be grayscale or color. radius
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:324
↓ 1 callersFunctiondisk_kernel
Generate disk kernel with given radius. Args: radius (int): Radius of the disk (in pixels). Returns: np.ndarray
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:304
↓ 1 callersFunctiondownload_files
(output_directory, start_zip_idx, end_zip_idx)
preprocess/dataset_download/openvid_download.py:6
↓ 1 callersMethoddraw_and_connect_keypoints
Draws keypoints of an instance and follows the rules for keypoint connections to draw lines between appropriate keypoints. This follo
preprocess/oneformer_code/demo/visualizer.py:889
↓ 1 callersMethoddraw_box_predictions
Args: boxes (Boxes, RotatedBoxes or ndarray): either a :class:`Boxes`, or an Nx4 numpy array of XYXY_ABS format f
preprocess/oneformer_code/demo/visualizer.py:398
↓ 1 callersMethoddraw_circle
Args: circle_coord (list(int) or tuple(int)): contains the x and y coordinates of the center of the circle.
preprocess/oneformer_code/demo/visualizer.py:1082
↓ 1 callersMethoddraw_instance_predictions
Draw instance-level prediction results on an image. Args: predictions (Instances): the output of an instance detection/se
preprocess/oneformer_code/demo/visualizer.py:485
↓ 1 callersMethoddraw_panoptic_seg
Draw panoptic prediction annotations or results. Args: panoptic_seg (Tensor): of shape (height, width) where the values a
preprocess/oneformer_code/demo/visualizer.py:572
↓ 1 callersMethoddraw_rotated_box_with_label
Draw a rotated box with label on its top-left corner. Args: rotated_box (tuple): a tuple containing (cnt_x, cnt_y, w, h,
preprocess/oneformer_code/demo/visualizer.py:1029
↓ 1 callersMethoddraw_tracks_on_video
( self, video: torch.Tensor, tracks: torch.Tensor, visibility: torch.Tensor =
preprocess/SpaTrackV2_code/utils/visualizer.py:144
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
preprocess/SpaTrackV2_code/models/vggt4track/layers/drop_path.py:14
↓ 1 callersFunctionefficient_solver
(solver_options, stability_mode=True)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/ba.py:77
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
pipelines/pipeline_wan_i2v_motion_FrameINO.py:258
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
pipelines/pipeline_wan_i2v_motion.py:258
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
pipelines/pipeline_cogvideox_i2v_motion.py:276
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:269
↓ 1 callersMethodencode_text
(self, text)
preprocess/oneformer_code/oneformer/oneformer_model.py:224
↓ 1 callersFunctioneuclidean_distance
(point1, point2)
evaluation/evaluate_INO_Traj.py:22
↓ 1 callersMethodevaluate
Evaluate/summarize the performance, after processing all input/output pairs. Returns: dict: A new evalua
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:54
↓ 1 callersMethodevaluate
(self)
preprocess/oneformer_code/oneformer/evaluation/evaluator.py:94
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:181
↓ 1 callersMethodevaluate
Args: img_ids: a list of image IDs to evaluate on. Default to None for the whole dataset
preprocess/oneformer_code/oneformer/evaluation/coco_evaluator.py:179
↓ 1 callersFunctionexists
(val)
preprocess/SpaTrackV2_code/models/blocks.py:30
↓ 1 callersFunctionexists
(val)
preprocess/SpaTrackV2_code/models/vggt4track/heads/track_modules/modules.py:28
↓ 1 callersFunctionexists
(val)
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:284
↓ 1 callersFunctionexists
(val)
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:31
↓ 1 callersFunctionextri_intri_to_pose_encoding
Convert camera extrinsics and intrinsics to a compact pose encoding. This function transforms camera parameters into a unified pose encoding form
preprocess/SpaTrackV2_code/models/vggt4track/utils/pose_enc.py:11
↓ 1 callersFunctionfilter_kwargs
(cls, kwargs)
train_code/train_wan_motion_FrameINO.py:94
← previousnext →301–400 of 1,469, ranked by callers