MCPcopy Create free account

hub / github.com/GZWSAMA/OnePoseviaGen / functions

Functions3,004 in github.com/GZWSAMA/OnePoseviaGen

↓ 1 callersMethod_get_device
(self)
oneposeviagen/SAM2-in-video/sam2/modeling/sam/prompt_encoder.py:137
↓ 1 callersMethod_get_empty_mask_ptr
Get a dummy object pointer based on an empty mask on the current frame.
oneposeviagen/SAM2-in-video/sam2/sam2_video_predictor.py:478
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/monoD/depth_anything_v2/dinov2.py:292
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/moge/model/dinov2/models/vision_transformer.py:284
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/layers/vision_transformer.py:295
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/monoD/depth_anything_v2/dinov2.py:275
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/moge/model/dinov2/models/vision_transformer.py:272
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/layers/vision_transformer.py:283
↓ 1 callersMethod_get_model_prediction
(self, model, x_t, t, cond=None, **kwargs)
oneposeviagen/Amodal3R/amodal3r/pipelines/samplers/flow_euler.py:42
↓ 1 callersMethod_get_pad
(self, size)
oneposeviagen/SpaTrackerV2/models/moge/model/dinov2/hub/utils.py:28
↓ 1 callersMethod_get_phases
(self, indices: torch.Tensor)
oneposeviagen/trellis/trellis/modules/attention/modules.py:28
↓ 1 callersMethod_get_phases
(self, indices: torch.Tensor)
oneposeviagen/Amodal3R/amodal3r/modules/attention/modules.py:29
↓ 1 callersMethod_get_pos_embed
(self, hw: Tuple[int, int])
oneposeviagen/SAM2-in-video/sam2/modeling/backbones/hieradet.py:269
↓ 1 callersMethod_get_stability_scores
Compute stability scores of the mask logits based on the IoU between upper and lower thresholds, similar to https://github.com/fairin
oneposeviagen/SAM2-in-video/sam2/modeling/sam/mask_decoder.py:247
↓ 1 callersFunction_guess_cluster_type
()
oneposeviagen/SpaTrackerV2/models/moge/model/dinov2/utils/cluster.py:18
↓ 1 callersMethod_identify_surf_cubes
Identifies grid cubes that intersect with the underlying surface by checking if the signs at all corners are not identical.
oneposeviagen/trellis/trellis/representations/mesh/flexicube.py:184
↓ 1 callersMethod_identify_surf_cubes
Identifies grid cubes that intersect with the underlying surface by checking if the signs at all corners are not identical.
oneposeviagen/Amodal3R/amodal3r/representations/mesh/flexicube.py:181
↓ 1 callersMethod_identify_surf_edges
Identifies grid edges that intersect with the underlying surface by checking for opposite signs. As each edge can be shared by multi
oneposeviagen/trellis/trellis/representations/mesh/flexicube.py:159
↓ 1 callersMethod_identify_surf_edges
Identifies grid edges that intersect with the underlying surface by checking for opposite signs. As each edge can be shared by multi
oneposeviagen/Amodal3R/amodal3r/representations/mesh/flexicube.py:156
↓ 1 callersMethod_infer
Inference interface for the model Args: x (torch.Tensor): input tensor of shape (b, c, h, w) Returns:
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/models/depth_model.py:47
↓ 1 callersFunction_install_blender
()
oneposeviagen/Amodal3R/dataset_toolkits/render.py:19
↓ 1 callersFunction_install_blender
()
oneposeviagen/Amodal3R/dataset_toolkits/render_cond.py:19
↓ 1 callersMethod_interpolate_color
Interpolate colors using trilinear interpolation Args: grid_coords: (N, 3) integer grid coordinates local_coo
oneposeviagen/trellis/trellis/representations/mesh/mc2mesh.py:81
↓ 1 callersMethod_lazy_load_birefnet
Lazy loading of the BiRefNet model
oneposeviagen/trellis/trellis/pipelines/trellis_image_to_3d.py:338
↓ 1 callersMethod_load_item
(self, idx)
oneposeviagen/trellis/dataset.py:67
↓ 1 callersMethod_load_item
(self, idx)
oneposeviagen/trellis/dataset.py:258
↓ 1 callersFunction_make_efficientnet_backbone
(effnet)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/blocks.py:176
↓ 1 callersFunction_make_levit_backbone
( model, hooks=[3, 11, 21], patch_grid=[14, 14] )
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/levit.py:23
↓ 1 callersFunction_make_next_vit_backbone
( model, hooks=[2, 6, 36, 39], )
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/next_vit.py:15
↓ 1 callersMethod_make_output_block
(self, dim_in: int, dim_out: int, dim_times_res_block_hidden: int, last_res_blocks: int, last_conv_channels: i
oneposeviagen/SpaTrackerV2/models/moge/model/v1.py:103
↓ 1 callersFunction_make_pretrained_beitb16_384
(pretrained, use_readout="ignore", hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/beit.py:187
↓ 1 callersFunction_make_pretrained_beitl16_384
(pretrained, use_readout="ignore", hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/beit.py:174
↓ 1 callersFunction_make_pretrained_beitl16_512
(pretrained, use_readout="ignore", hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/beit.py:157
↓ 1 callersFunction_make_pretrained_efficientnet_lite3
(use_pretrained, exportable=False)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/blocks.py:166
↓ 1 callersFunction_make_pretrained_levit_384
(pretrained, hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/levit.py:99
↓ 1 callersFunction_make_pretrained_next_vit_large_6m
(hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/next_vit.py:32
↓ 1 callersFunction_make_pretrained_resnext101_wsl
(use_pretrained)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/blocks.py:202
↓ 1 callersFunction_make_pretrained_swin2b24_384
(pretrained, hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/swin2.py:16
↓ 1 callersFunction_make_pretrained_swin2l24_384
(pretrained, hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/swin2.py:6
↓ 1 callersFunction_make_pretrained_swin2t16_256
(pretrained, hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/swin2.py:26
↓ 1 callersFunction_make_pretrained_swinl12_384
(pretrained, hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/swin.py:6
↓ 1 callersFunction_make_pretrained_vitb16_384
(pretrained, use_readout="ignore", hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/vit.py:111
↓ 1 callersFunction_make_pretrained_vitb_rn50_384
( pretrained, use_readout="ignore", hooks=None, use_vit_only=False )
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/vit.py:208
↓ 1 callersFunction_make_pretrained_vitl16_384
(pretrained, use_readout="ignore", hooks=None)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/vit.py:98
↓ 1 callersFunction_make_resnet_backbone
(resnet)
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/blocks.py:189
↓ 1 callersFunction_make_scratch
(in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False)
oneposeviagen/trellis/trellis/models/heads/dpt_head.py:326
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
oneposeviagen/SpaTrackerV2/models/monoD/depth_anything_v2/util/blocks.py:4
↓ 1 callersFunction_make_scratch
(in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/heads/dpt_head.py:326
↓ 1 callersMethod_make_upsampler
(self, in_channels: int, out_channels: int)
oneposeviagen/SpaTrackerV2/models/moge/model/v1.py:95
↓ 1 callersFunction_make_vit_b_rn50_backbone
( model, features=[256, 512, 768, 768], size=[384, 384], hooks=[0, 1, 8, 11], vit_features
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/midas_c/midas/backbones/vit.py:120
↓ 1 callersFunction_naive_sdpa
Naive implementation of scaled dot product attention.
oneposeviagen/trellis/trellis/modules/attention/full_attn.py:23
↓ 1 callersFunction_naive_sdpa
Naive implementation of scaled dot product attention.
oneposeviagen/Amodal3R/amodal3r/modules/attention/full_attn.py:23
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
oneposeviagen/Amodal3R/dit/utils.py:540
↓ 1 callersMethod_normalize_weights
Normalizes the given weights to be non-negative. If input weights are None, it creates and returns a set of weights of ones.
oneposeviagen/trellis/trellis/representations/mesh/flexicube.py:92
↓ 1 callersMethod_normalize_weights
Normalizes the given weights to be non-negative. If input weights are None, it creates and returns a set of weights of ones.
oneposeviagen/Amodal3R/amodal3r/representations/mesh/flexicube.py:89
↓ 1 callersFunction_ntuple
(n)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/blocks.py:22
↓ 1 callersFunction_ntuple
(n)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/heads/track_modules/modules.py:19
↓ 1 callersFunction_ntuple
(n)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/co_tracker/utils.py:275
↓ 1 callersFunction_ntuple
(n)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/delta_utils/blocks.py:22
↓ 1 callersFunction_point_line_distance
(p1, r1, p2)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/camera_transform.py:175
↓ 1 callersMethod_prepare_memory_conditioned_features
Fuse the current frame's visual feature map with previous memory.
oneposeviagen/SAM2-in-video/sam2/modeling/sam2_base.py:493
↓ 1 callersMethod_process_batch
( self, points: np.ndarray, im_size: Tuple[int, ...], crop_box: List[int],
oneposeviagen/SAM2-in-video/sam2/automatic_mask_generator.py:276
↓ 1 callersMethod_process_crop
( self, image: np.ndarray, crop_box: List[int], crop_layer_idx: int, o
oneposeviagen/SAM2-in-video/sam2/automatic_mask_generator.py:233
↓ 1 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/models/aggregator.py:267
↓ 1 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/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).
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/models/aggregator.py:291
↓ 1 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/models/aggregator_front.py:295
↓ 1 callersMethod_remap_points
(self, points: torch.Tensor)
oneposeviagen/SpaTrackerV2/models/moge/model/v1.py:253
↓ 1 callersMethod_reset_tracking_results
Reset all tracking inputs and results across the videos.
oneposeviagen/SAM2-in-video/sam2/sam2_video_predictor.py:710
↓ 1 callersMethod_rope
(self, qkv: SparseTensor)
oneposeviagen/trellis/trellis/modules/sparse/attention/modules.py:99
↓ 1 callersMethod_rope
(self, qkv: SparseTensor)
oneposeviagen/Amodal3R/amodal3r/modules/sparse/attention/modules.py:100
↓ 1 callersMethod_rope
(self, qkv: SparseTensor)
oneposeviagen/Amodal3R/amodal3r/modules/sparse/attention/modules.py:214
↓ 1 callersMethod_rotate_features
Performs feature rotation by splitting and recombining feature dimensions. Args: x: Input tensor to rotate. Returns:
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/layers/rope.py:120
↓ 1 callersFunction_run_hf_inference
Run inference with HF SAM
oneposeviagen/SpaTrackerV2/app_3rd/sam_utils/inference.py:84
↓ 1 callersMethod_run_memory_encoder
Run the memory encoder on `high_res_masks`. This is usually after applying non-overlapping constraints to object scores. Since their
oneposeviagen/SAM2-in-video/sam2/sam2_video_predictor.py:827
↓ 1 callersFunction_run_original_inference
Run inference with original SAM
oneposeviagen/SpaTrackerV2/app_3rd/sam_utils/inference.py:58
↓ 1 callersMethod_sin_cos_embedding
Create sinusoidal position embeddings. Args: x: a 1-D Tensor of N indices Returns: an (N, D) Tensor
oneposeviagen/trellis/trellis/modules/transformer/blocks.py:20
↓ 1 callersMethod_sin_cos_embedding
Create sinusoidal position embeddings. Args: x: a 1-D Tensor of N indices Returns: an (N, D) Tensor
oneposeviagen/Amodal3R/amodal3r/modules/transformer/blocks.py:20
↓ 1 callersFunction_smooth
(err: torch.FloatTensor, beta: float = 0.0)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/spatrack_modules/alignment.py:426
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/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.
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/utils/rotation.py:112
↓ 1 callersMethod_triangulate
Connects four neighboring dual vertices to form a quadrilateral. The quadrilaterals are then split into triangles based on the gamma
oneposeviagen/trellis/trellis/representations/mesh/flexicube.py:316
↓ 1 callersMethod_triangulate
Connects four neighboring dual vertices to form a quadrilateral. The quadrilaterals are then split into triangles based on the gamma
oneposeviagen/Amodal3R/amodal3r/representations/mesh/flexicube.py:313
↓ 1 callersMethod_updown
(self, x: sp.SparseTensor)
oneposeviagen/trellis/trellis/models/structured_latent_flow.py:47
↓ 1 callersMethod_updown
(self, x: sp.SparseTensor)
oneposeviagen/trellis/trellis/models/structured_latent_flow.py:94
↓ 1 callersMethod_updown
(self, x: sp.SparseTensor)
oneposeviagen/Amodal3R/amodal3r/models/structured_latent_flow_doubleattn_weighted.py:47
↓ 1 callersMethod_updown
(self, x: sp.SparseTensor)
oneposeviagen/Amodal3R/amodal3r/models/structured_latent_flow.py:47
↓ 1 callersMethod_use_mask_as_output
Directly turn binary `mask_inputs` into a output mask logits without using SAM. (same input and output shapes as in _forward_sam_head
oneposeviagen/SAM2-in-video/sam2/modeling/sam2_base.py:411
↓ 1 callersMethod_use_multimask
Whether to use multimask output in the SAM head.
oneposeviagen/SAM2-in-video/sam2/modeling/sam2_base.py:801
↓ 1 callersMethod_v_to_xstart_eps
(self, x_t, t, v)
oneposeviagen/trellis/trellis/pipelines/samplers/flow_euler.py:41
↓ 1 callersMethod_v_to_xstart_eps
(self, x_t, t, v)
oneposeviagen/Amodal3R/amodal3r/pipelines/samplers/flow_euler.py:32
↓ 1 callersFunctionactivate_head
Process network output to extract 3D points and confidence values. Args: out: Network output tensor (B, C, H, W) activation:
oneposeviagen/trellis/trellis/models/heads/head_act.py:62
↓ 1 callersFunctionactivate_head
Process network output to extract 3D points and confidence values. Args: out: Network output tensor (B, C, H, W) activation:
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/heads/head_act.py:61
↓ 1 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
oneposeviagen/trellis/trellis/models/heads/head_act.py:13
↓ 1 callersMethodadd_new_mask
Add new mask to a frame.
oneposeviagen/SAM2-in-video/sam2/sam2_video_predictor.py:255
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
oneposeviagen/SpaTrackerV2/models/monoD/depth_anything_v2/dinov2_layers/block.py:142
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
oneposeviagen/SpaTrackerV2/models/moge/model/dinov2/layers/block.py:148
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/vggt4track/layers/block.py:148
↓ 1 callersFunctionaffine_invariant_global_loss
( pred_points: torch.Tensor, gt_points: torch.Tensor, mask: torch.Tensor, align_resolution:
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/spatrack_modules/alignment.py:432
↓ 1 callersFunctionalign_affine_lstsq
Solve `min sum_i w_i * (a * x_i + b - y_i ) ^ 2`, where `a` and `b` are scalars, with respect to `a` and `b` using least squares. ### Parame
oneposeviagen/SpaTrackerV2/models/moge/utils/alignment.py:399
← previousnext →701–800 of 3,004, ranked by callers