MCPcopy Create free account

hub / github.com/GeWu-Lab/AnyTouch2 / functions

Functions813 in github.com/GeWu-Lab/AnyTouch2

↓ 2 callersMethodlog_metrics
(self, outputs, step, trainer_instance=None, label="train")
sparsh/tactile_ssl/downstream_task/slip_sl.py:138
↓ 2 callersMethodlog_metrics
(self, outputs, step, trainer_instance=None, label="train")
sparsh/tactile_ssl/downstream_task/grasp_sl.py:119
↓ 2 callersMethodlog_metrics
(self, outputs, step, trainer_instance=None, label="train")
sparsh/tactile_ssl/downstream_task/force_sl.py:138
↓ 2 callersMethodlog_on_batch_end
( self, outputs, stage: Literal["train", "val"] = "train", trainer_instance=None )
sparsh/tactile_ssl/algorithm/dinov2.py:132
↓ 2 callersMethodlog_on_batch_end
( self, outputs, stage: Literal["train", "val"] = "train", trainer_instance=None )
sparsh/tactile_ssl/algorithm/dino.py:117
↓ 2 callersMethodlog_results
(self, outputs: Dict, label: str, trainer_instance=None, step=None)
sparsh/tactile_ssl/algorithm/ijepa.py:88
↓ 2 callersMethodlog_results
(self, outputs: Dict, label: str, trainer_instance=None, step=None)
sparsh/tactile_ssl/algorithm/vjepa.py:299
↓ 2 callersMethodlog_results
( self, outputs: Dict, label: str, trainer_instance=None, step: Option
sparsh/tactile_ssl/algorithm/mae.py:214
↓ 2 callersMethodloss_fn
(self, z, h, predictor_masks)
sparsh/tactile_ssl/algorithm/vjepa.py:176
↓ 2 callersFunctionmake_2tuple
(x)
sparsh/tactile_ssl/model/layers/patch_embed.py:22
↓ 2 callersFunctionmake_tuple
(x)
sparsh/tactile_ssl/model/layers/patch_embed.py:31
↓ 2 callersFunctionnorm_cdf
(x)
sparsh/tactile_ssl/utils/tensors.py:16
↓ 2 callersMethodprepare_tokens
( self, xs: List[torch.Tensor], masks: Optional[List[torch.Tensor]] = None, ma
sparsh/tactile_ssl/model/multimodal_transformer.py:205
↓ 2 callersMethodprogbar_wrapper
Wraps the iterable with tqdm for global rank zero. Args: iterable: the iterable to wrap with tqdm total: the total le
sparsh/tactile_ssl/trainer/trainer.py:554
↓ 2 callersFunctionquaternion_raw_multiply
Multiply two quaternions. Usual torch rules for broadcasting apply. Args: a: Quaternions as tensor of shape (..., 4), real part
sparsh/tactile_ssl/utils/__init__.py:72
↓ 2 callersMethodrandom_masking
Perform per-sample random masking by per-sample shuffling. Per-sample shuffling is done by argsort random noise. Args:
sparsh/tactile_ssl/model/point_mae.py:363
↓ 2 callersMethodrandom_masking
(self, sequence, noise=None, points_num=None)
sparsh/tactile_ssl/model/point_mae.py:939
↓ 2 callersFunctionread_video_ffmpeg
(object)
sparsh/scripts/download_datasets_scratch/compress_touch_go.py:76
↓ 2 callersMethodsave_checkpoint
Saves a checkpoint to the ``checkpoint_dir`` Args: state: A mapping containing model, optimizer and lr scheduler.
sparsh/tactile_ssl/trainer/trainer.py:585
↓ 2 callersMethodsave_latest_checkpoint
Saves a checkpoint to the ``checkpoint_dir`` Args: state: A mapping containing model, optimizer and lr scheduler.
sparsh/tactile_ssl/trainer/trainer.py:610
↓ 2 callersFunctionsetup_for_distributed
This function disables printing when not in master process
util/misc.py:170
↓ 2 callersMethodsinkhorn_knopp_teacher
(self, teacher_output, teacher_temp, n_iterations=3)
sparsh/tactile_ssl/loss/dino_loss.py:34
↓ 2 callersMethodstep_scheduler
Steps the learning rate scheduler if necessary. Args: scheduler_cfg: The learning rate scheduler configuration. H
sparsh/tactile_ssl/trainer/trainer.py:469
↓ 2 callersMethodstep_wd_scheduler
( self, wd_scheduler_cfg: Optional[object], level: Literal["step", "epoch"], c
sparsh/tactile_ssl/trainer/trainer.py:451
↓ 2 callersMethodtraining_step
A single training step, running forward and backward. The optimizer step is called separately, as this is given as a closure to the optimizer
sparsh/tactile_ssl/trainer/trainer.py:424
↓ 2 callersMethodtranscode
(self, x: torch.Tensor)
sparsh/tactile_ssl/model/multimodal_transformer.py:229
↓ 2 callersMethodupdate
(self, value, n=1)
util/misc.py:37
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
model/layers/swiglu_ffn.py:15
↓ 1 callersMethod__init__
( self, modal_chans: int, shared_attn: bool = True, shared_mask_token: bool =
sparsh/tactile_ssl/model/multimodal_transformer.py:329
↓ 1 callersMethod__init__
(self, optimizer, ref_weight_decay, T_max, final_weight_decay=0.0)
sparsh/tactile_ssl/model/custom_scheduler.py:52
↓ 1 callersMethod__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
sparsh/tactile_ssl/model/vision_transformer.py:57
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
sparsh/tactile_ssl/model/layers/swiglu_ffn.py:15
↓ 1 callersMethod__init__
( self, input_embed_dim: int=768, *args, **kwargs )
sparsh/tactile_ssl/probe/reconstruction.py:17
↓ 1 callersMethod__init__
( self, model_encoder: nn.Module, model_task: nn.Module, optim_cfg: partial,
sparsh/tactile_ssl/downstream_task/forcefield_sl.py:96
↓ 1 callersMethod__init__
( self, model_encoder: nn.Module, model_task: nn.Module, optim_cfg: partial,
sparsh/tactile_ssl/downstream_task/pose_sl.py:102
↓ 1 callersMethod__init__
( self, attn_pool=False, embed_dim=768, num_heads=12, mlp_ratio=4.0,
sparsh/tactile_ssl/downstream_task/slip_decoders.py:13
↓ 1 callersMethod__init__
( self, num_queries=1, embed_dim=768, num_heads=12, mlp_ratio=4.0,
sparsh/tactile_ssl/downstream_task/attentive_pooler.py:21
↓ 1 callersMethod__init__
( self, model_encoder: nn.Module, model_task: nn.Module, optim_cfg: partial,
sparsh/tactile_ssl/downstream_task/textile_sl.py:74
↓ 1 callersMethod__init__
( self, model_encoder: nn.Module, model_task: nn.Module, optim_cfg: partial,
sparsh/tactile_ssl/downstream_task/grasp_sl.py:67
↓ 1 callersMethod__init__
( self, model_encoder: nn.Module, model_task: nn.Module, optim_cfg: partial,
sparsh/tactile_ssl/downstream_task/force_sl.py:75
↓ 1 callersMethod__init__
(self)
sparsh/tactile_ssl/downstream_task/utils_forcefield/ssl_flow_loss.py:122
↓ 1 callersMethod__init__
(self, height, width, eps=1e-7)
sparsh/tactile_ssl/downstream_task/utils_forcefield/ssl_utils.py:184
↓ 1 callersMethod__init__
(self, resample_dim)
sparsh/tactile_ssl/downstream_task/utils_forcefield/layers/Fusion.py:38
↓ 1 callersMethod__init__
(self, num_layers, pretrained, num_input_images=1)
sparsh/tactile_ssl/downstream_task/utils_forcefield/pose_estimator/resnet_encoder.py:72
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:118
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/gelsight_grasp.py:58
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/digit_ycbslide.py:66
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/digit_slip.py:66
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/vision_based_force_probes.py:86
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/vision_tactile_forcefield.py:80
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:134
↓ 1 callersMethod__len__
(self)
sparsh/tactile_ssl/data/vision_tactile.py:80
↓ 1 callersFunction_build_mlp
( nlayers, in_dim, bottleneck_dim, hidden_dim=None, use_bn=False, bias=True )
sparsh/tactile_ssl/model/layers/dino_head.py:51
↓ 1 callersMethod_create_meters
(self)
sparsh/tactile_ssl/algorithm/vjepa.py:135
↓ 1 callersMethod_forward_context
Returns list of tensors of shape [B, N, D], one for each mask-pred.
sparsh/tactile_ssl/algorithm/vjepa.py:167
↓ 1 callersMethod_forward_target
(self, x, predictor_masks)
sparsh/tactile_ssl/algorithm/vjepa.py:159
↓ 1 callersMethod_get_color
(self, ref_frame)
sparsh/tactile_ssl/data/digit_slip.py:82
↓ 1 callersMethod_get_current_signal_handlers
Collects the currently assigned signal handlers.
sparsh/tactile_ssl/utils/signal_connector.py:136
↓ 1 callersMethod_get_digit_images
(self, ref_frame, do_flip, do_crop, do_rot)
sparsh/tactile_ssl/data/digit_ycbslide.py:88
↓ 1 callersMethod_get_force_labels
(self, idx_sample)
sparsh/tactile_ssl/data/vision_based_force_probes.py:131
↓ 1 callersMethod_get_force_slip_labels
We use the slip horizon labels to debounce fast switches in slip events, which is likely noise if there is atleast one slip event in
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:162
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
sparsh/tactile_ssl/model/vision_transformer.py:374
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
sparsh/tactile_ssl/model/vision_transformer.py:358
↓ 1 callersMethod_get_layers_from_hooks
(self)
sparsh/tactile_ssl/downstream_task/forcefield_sl.py:158
↓ 1 callersMethod_get_slip_labels
(self, trajectory_i, sample)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:108
↓ 1 callersMethod_get_slip_labels
(self, trajectory_i, sample)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:124
↓ 1 callersMethod_get_tactile_images
(self, idx)
sparsh/tactile_ssl/data/vision_based_grasp_probes.py:79
↓ 1 callersMethod_get_tactile_images
(self, idx)
sparsh/tactile_ssl/data/gelsight_grasp.py:71
↓ 1 callersMethod_get_tactile_images
(self, idx)
sparsh/tactile_ssl/data/vision_based_textile_probes.py:80
↓ 1 callersMethod_get_tactile_images
(self, idx: int)
sparsh/tactile_ssl/data/vision_based_pose_probes.py:170
↓ 1 callersMethod_get_tactile_images
(self, idx_sample)
sparsh/tactile_ssl/data/vision_based_force_probes.py:110
↓ 1 callersMethod_get_tactile_images
(self, ref_frame, add_bg=False)
sparsh/tactile_ssl/data/vision_tactile_forcefield.py:109
↓ 1 callersMethod_get_tactile_images
(self, ref_frame, do_flip, do_crop, do_rot)
sparsh/tactile_ssl/data/vision_tactile.py:112
↓ 1 callersMethod_get_tactile_inputs
(self, add_bg=False)
sparsh/tactile_ssl/data/vision_based_interactive.py:166
↓ 1 callersMethod_get_trajectory_pose_force
(self, idx_trajectory)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:208
↓ 1 callersMethod_init_digit_sensor
(self)
sparsh/tactile_ssl/data/vision_based_interactive.py:106
↓ 1 callersMethod_init_gelsight_sensor
(self)
sparsh/tactile_ssl/data/vision_based_interactive.py:86
↓ 1 callersMethod_init_shear
(self, shear, normal, margin=0, spacing=12)
sparsh/tactile_ssl/test/demo_t1_forcefield.py:87
↓ 1 callersMethod_is_on_windows
()
sparsh/tactile_ssl/utils/signal_connector.py:168
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
sparsh/tactile_ssl/utils/tensors.py:13
↓ 1 callersMethod_normal2mask
(self, heightmap, bg_template, b, r, clip)
sparsh/tactile_ssl/test/demo_t1_forcefield.py:59
↓ 1 callersMethod_parse_optimizers_schedulers
Recursively parses the output of :meth:`lightning.pytorch.LightningModule.configure_optimizers`. Args: configure_optim_output: Th
sparsh/tactile_ssl/trainer/trainer.py:645
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:153
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_textile_probes.py:62
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_pose_probes.py:144
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_force_probes.py:89
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_tactile_forcefield.py:83
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:184
↓ 1 callersMethod_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_tactile.py:83
↓ 1 callersMethod_register_hooks
(self, layers: List[int])
sparsh/tactile_ssl/model/pretrained.py:29
↓ 1 callersMethod_rescale_blocks
(self)
model/linear_probe.py:65
↓ 1 callersMethod_rescale_blocks
(self)
sparsh/tactile_ssl/model/multimodal_transformer.py:126
↓ 1 callersMethod_rescale_blocks
(self)
sparsh/tactile_ssl/model/vision_transformer.py:236
↓ 1 callersMethod_rescale_blocks
(self)
sparsh/tactile_ssl/downstream_task/attentive_pooler.py:71
↓ 1 callersMethod_reset_meters
(self)
sparsh/tactile_ssl/algorithm/vjepa.py:140
↓ 1 callersMethod_sample_block_mask
(self, b_size)
sparsh/tactile_ssl/utils/masking.py:178
↓ 1 callersMethod_sample_block_size
( self, generator, temporal_scale, spatial_scale, aspect_ratio_scale )
sparsh/tactile_ssl/utils/masking.py:150
↓ 1 callersMethod_set_bg_template
(self)
sparsh/tactile_ssl/test/demo_t1_forcefield.py:78
↓ 1 callersMethod_valid_signals
Returns all valid signals supported on the current platform. Behaves identically to :func:`signals.valid_signals` in Python 3.8+ and implemen
sparsh/tactile_ssl/utils/signal_connector.py:145
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
model/layers/block.py:146
← previousnext →101–200 of 813, ranked by callers