MCPcopy Create free account

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

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

Functionrecursive_replace
(d: Union[List, Dict, str], mapping: Dict[str, str])
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:139
Functionreduce_masked_mean
(x, mask, dim=None, keepdim=False)
preprocess/SpaTrackV2_code/utils/model_utils.py:157
Functionreduction_batch_based
(image_loss, M)
preprocess/SpaTrackV2_code/models/utils.py:566
Functionreduction_image_based
(image_loss, M)
preprocess/SpaTrackV2_code/models/utils.py:578
Methodreset
(self)
preprocess/oneformer_code/oneformer/evaluation/cityscapes_evaluation.py:38
Methodreset
(self)
preprocess/oneformer_code/oneformer/evaluation/detection_coco_evaluator.py:158
Methodreset
(self)
preprocess/oneformer_code/oneformer/evaluation/coco_evaluator.py:158
Functionresize
(input, size=None, scale_factor=None, mode='nearest', align_corner
preprocess/oneformer_code/oneformer/utils/misc.py:79
Methodrun_on_image
Args: image (np.ndarray): an image of shape (H, W, C) (in BGR order). This is the format used by OpenCV.
preprocess/oneformer_code/demo/predictor.py:43
Methodsample
(self, coords)
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:279
Methodsample
(self, coords, delete=True)
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:362
Functionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
preprocess/SpaTrackV2_code/utils/model_utils.py:355
Functionsave_model_hook
(models, weights, output_dir)
train_code/train_wan_motion_FrameINO.py:872
Functionsave_model_hook
(models, weights, output_dir)
train_code/train_cogvideox_motion_FrameINO.py:749
Functionsave_model_hook
(models, weights, output_dir)
train_code/train_cogvideox_motion.py:720
Functionsave_model_hook
(models, weights, output_dir)
train_code/train_wan_motion.py:817
Functionsave_tensor_as_video
Save a tensor of shape (N, C, H, W) as a video file. Args: tensor: Tensor of shape (N, C, H, W) in range [0, 1] save_path: Pa
train_code/train_wan_motion_FrameINO.py:103
Functionsave_tensor_as_video
Save a tensor of shape (N, C, H, W) as a video file. Args: tensor: Tensor of shape (N, C, H, W) in range [0, 1] save_path: Pa
train_code/train_wan_motion.py:103
Methodscale_update_from_tracks
(self, cam_pts_est, coords_append, point_map_org, vis_est, reproj_loss)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/pointmap_updator.py:86
Functionself_grid_pos_embedding
(B, T, H, W, level=None)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/utils.py:18
Methodsemantic_inference
(self, mask_cls, mask_pred)
preprocess/oneformer_code/oneformer/oneformer_model.py:372
Functionsequence_dyn_prob_loss
Loss for classifying if a point is within pixel threshold of its target.
preprocess/SpaTrackV2_code/models/tracker3D/co_tracker/utils.py:826
Methodset_attention_slice
r""" Set the slice size for attention computation. Args: slice_size (`int`): The slice size for attention
architecture/attention_processor.py:494
Methodset_use_memory_efficient_attention_xformers
r""" Set whether to use memory efficient attention from `xformers` or not. Args: use_memory_efficient_attention_xformers
architecture/attention_processor.py:349
Methodset_use_npu_flash_attention
r""" Set whether to use npu flash attention from `torch_npu` or not.
architecture/attention_processor.py:332
Methodset_use_xla_flash_attention
r""" Set whether to use xla flash attention from `torch_xla` or not. Args: use_xla_flash_attention (`bool`):
architecture/attention_processor.py:299
Functionsetup_wandb
(cfg, args)
preprocess/oneformer_code/oneformer/utils/events.py:7
Methodshape
(x)
architecture/embeddings.py:1980
Functionsigmoid_ce_loss
Args: inputs: A float tensor of arbitrary shape. The predictions for each example. targets: A float tensor with t
preprocess/oneformer_code/oneformer/modeling/criterion.py:66
Methodsize_divisibility
(self)
preprocess/oneformer_code/oneformer/modeling/backbone/dinat.py:295
Methodsize_divisibility
(self)
preprocess/oneformer_code/oneformer/modeling/backbone/swin.py:770
Functionsmart_cat
(tensor1, tensor2, dim)
preprocess/SpaTrackV2_code/utils/model_utils.py:112
Functionstrip_common_prefix_suffix
(strings: List[str])
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:210
Methodsummary
(self)
preprocess/SpaTrackV2_code/models/utils.py:82
Functionsuppress_traceback
(fn)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:252
Functiontheshold_depth_change
(depth: torch.Tensor, mask: torch.Tensor, pooler: Literal['min', 'max'], rtol: float = 0.2, kernel_size: int =
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_torch.py:248
Functiontimeout_handler
(signum, frame)
preprocess/caption_qwen_multi.py:24
Functionto_hierachical_dataframe
(data: List[Dict[Tuple[str, ...], Any]])
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:130
Methodtrain
Convert the model into training mode while keep layers freezed.
preprocess/oneformer_code/oneformer/modeling/backbone/swin.py:681
Functiontraj_instance_update
(traj_instance_idx, traj_lists)
app.py:467
Functiontraj_point_update
(traj_lists)
app.py:455
Functionunflatten_nested_dict
Unflattens a single-level dictionary into a nested dictionary, with keys as tuples.
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:101
Methodunfuse_qkv_projections
r"""Disable QKV projection fusion if enabled.
pipelines/pipeline_cogvideox_i2v_motion.py:538
Methodunfuse_qkv_projections
r"""Disable QKV projection fusion if enabled.
pipelines/pipeline_cogvideox_i2v_motion_FrameINO.py:531
Methodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
architecture/cogvideox_transformer_3d.py:433
Functionunproject_depth_map_to_point_map
Unproject a batch of depth maps to 3D world coordinates. Args: depth_map (np.ndarray): Batch of depth maps of shape (S, H, W, 1) or
preprocess/SpaTrackV2_code/models/vggt4track/utils/geometry.py:12
Functionunwrap_model
(model)
train_code/train_wan_motion_FrameINO.py:865
Functionunwrap_model
(model)
train_code/train_cogvideox_motion_FrameINO.py:743
Functionunwrap_model
(model)
train_code/train_cogvideox_motion.py:714
Functionunwrap_model
(model)
train_code/train_wan_motion.py:810
Functionvideo_loss
(prediction, target, mask, Bs)
preprocess/SpaTrackV2_code/models/utils.py:547
Functionview_plane_uv_to_focal
(uv: torch.Tensor)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_torch.py:109
Functionvis_PCA
visualize the PCA of the feature maps args: fmaps: feature maps 1 C H W save_dir: the directory to save the PCA visualiz
preprocess/SpaTrackV2_code/utils/model_utils.py:422
Functionvis_result
Args: rgbs: [S C H W] depths_gt: [S C H W] poses_gt: [S C] poses_pred: [S C] depth_pred: [S H W]
preprocess/SpaTrackV2_code/models/utils.py:850
Functionvisualize_motion
(Track_Traj, Object_of_Interest, Track_Visibility, panoptic_frame_idx, process_last_idx,
preprocess/track_regular_motion_cycle.py:119
Functionvisualize_motion
(Track_Traj, Obj_Info, Track_Visibility, height, width, video_np, dot_radius, name)
preprocess/make_delete_lists_motion.py:118
Functionvisualize_motion
(Track_Traj, Obj_info, Track_Visibility, height, width, video_np, dot_radius, max_step_num, region_box=None, n
preprocess/track_FrameINO.py:127
Functionvisualize_track
(frames, pred_tracks, instance_idx, dot_radius_resize = 6)
evaluation/evaluate_INO_Traj.py:29
Functionvisualize_tracks_on_images
Visualizes frames in a grid layout with specified frames per row. Each track's color is determined by its (x,y) position in the first vis
preprocess/SpaTrackV2_code/models/vggt4track/utils/visual_track.py:80
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:365
Functionvit_giant2
Close to ViT-giant, with embed-dim 1536 and 24 heads => embed-dim per head 64
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:393
Functionvit_large
(patch_size=16, num_register_tokens=0, **kwargs)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:379
Functionvit_small
(patch_size=16, num_register_tokens=0, **kwargs)
preprocess/SpaTrackV2_code/models/vggt4track/layers/vision_transformer.py:351
Methodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
preprocess/oneformer_code/oneformer/modeling/transformer_decoder/oneformer_transformer_decoder.py:179
Functionwrapper
(*args, **kwargs)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:16
Methodwrapper
(*args, **kwargs)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:167
Methodwrapper
(*args, **kwargs)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:270
Functionwrite_jsonl
(data: List[dict], file)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/tools.py:123
Functionzero_module
(module)
train_code/train_wan_motion_FrameINO.py:670
← previous1,401–1,469 of 1,469, ranked by callers