MCPcopy Create free account

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

Functions813 in github.com/GeWu-Lab/AnyTouch2

Method__init__
( self, out_dim, student_temp=0.1, center_momentum=0.9, )
sparsh/tactile_ssl/loss/dino_loss.py:12
Method__init__
(self, window_size=20, fmt=None)
util/misc.py:29
Method__init__
(self, delimiter="\t")
util/misc.py:87
Method__init__
(self)
util/misc.py:254
Method__init__
(self, dataset, num_replicas=None, rank=None, shuffle=True, drop_last: bool = False)
util/sampler.py:7
Method__iter__
(self)
util/sampler.py:11
Method__len__
(self)
data/downstream_dataset.py:90
Method__len__
(self)
data/downstream_dataset.py:194
Method__len__
(self)
data/downstream_dataset.py:317
Method__len__
(self)
sparsh/tactile_ssl/data/vision_based_grasp_probes.py:57
Method__len__
(self)
sparsh/tactile_ssl/data/vision_based_textile_probes.py:59
Method__len__
(self)
sparsh/tactile_ssl/data/vision_based_pose_probes.py:141
Method__str__
(self)
util/misc.py:77
Method__str__
(self)
util/misc.py:108
Function_get_conv1d_output_size
(input_size, kernel_size, stride, padding, dilation)
sparsh/tactile_ssl/utils/__init__.py:191
Method_get_trajectory_pose_force
(self, idx_trajectory)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:264
Method_getitem_trajectory
(self, idx_trajectory, idx_sample)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:189
Method_getitem_trajectory
(self, idx_trajectory, idx_sample)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:247
Method_init_weights
(self, m)
model/linear_probe.py:79
Method_init_weights
(self, m)
sparsh/tactile_ssl/model/layers/dino_head.py:37
Method_init_weights
(self, m)
sparsh/tactile_ssl/downstream_task/attentive_pooler.py:85
Method_len_trajectory
(self, idx_trajectory)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:121
Method_len_trajectory
(self, idx_trajectory)
sparsh/tactile_ssl/data/vision_based_forces_slip_probes.py:137
Method_plot_tactile_clip
(self, clip)
sparsh/tactile_ssl/data/vision_based_interactive.py:140
Method_sigterm_handler_fn
(self, signum: _SIGNUM, _: FrameType)
sparsh/tactile_ssl/utils/signal_connector.py:125
Method_sigterm_notifier_fn
(self, signum: _SIGNUM, _: FrameType)
sparsh/tactile_ssl/utils/signal_connector.py:111
Method_slurm_sigusr_handler_fn
(self, signum: _SIGNUM, _: FrameType)
sparsh/tactile_ssl/utils/signal_connector.py:76
Functionadd_residual
( x: Tensor, brange: Tensor, residual: Tensor, residual_scale_factor: float, scaling_vecto
model/layers/decoder_block.py:179
Functionadd_residual
( x: Tensor, brange: Tensor, residual: Tensor, residual_scale_factor: float, scaling_vecto
sparsh/tactile_ssl/model/layers/decoder_block.py:182
Functionadjust_learning_rate
Decay the learning rate with half-cycle cosine after warmup
util/lr_sched.py:9
Functionall_reduce_mean
(x)
util/misc.py:332
Methodattn_residual_func
(x: Tensor)
model/layers/block.py:87
Methodattn_residual_func
(x: Tensor, attn_bias=None)
model/layers/block.py:217
Methodattn_residual_func
(x: Tensor)
sparsh/tactile_ssl/model/layers/block.py:90
Methodattn_residual_func
(x: Tensor, attn_bias=None)
sparsh/tactile_ssl/model/layers/block.py:220
Methodavg
(self)
util/misc.py:61
Methodblock
(input_dim, output_dim)
model/layers/gumbel_vector_quantizer.py:66
Methodblock
(input_dim, output_dim)
sparsh/tactile_ssl/model/layers/gumbel_vector_quantizer.py:66
Functioncheck_saved_dataset
(object)
sparsh/scripts/download_datasets_scratch/compress_feeling_success.py:55
Functioncheck_saved_dataset
(object)
sparsh/scripts/download_datasets_scratch/compress_object_folder.py:50
Functioncheck_saved_dataset
(object)
sparsh/scripts/download_datasets_scratch/compress_touch_go.py:65
Methodcodebook
(self)
model/layers/gumbel_vector_quantizer.py:116
Methodcodebook
(self)
sparsh/tactile_ssl/model/layers/gumbel_vector_quantizer.py:116
Methodconfigure_optimizers
( # pyright: ignore[reportIncompatibleMethodOverride] self, num_iterations_per_epoch, num_epochs
sparsh/tactile_ssl/algorithm/ijepa.py:381
Methodconfigure_optimizers
( # pyright: ignore[reportIncompatibleMethodOverride] self, num_iterations_per_epoch, num_epochs
sparsh/tactile_ssl/algorithm/dinov2.py:518
Methodconfigure_optimizers
( # pyright: ignore[reportIncompatibleMethodOverride] self, num_iterations_per_epoch, num_epochs
sparsh/tactile_ssl/algorithm/dino.py:440
Methodconfigure_optimizers
( self, num_iterations_per_epoch, num_epochs, )
sparsh/tactile_ssl/algorithm/vjepa.py:382
Methodconfigure_optimizers
( self, num_iterations_per_epoch, num_epochs )
sparsh/tactile_ssl/algorithm/mae.py:160
Methodconfigure_optimizers
( self, num_iterations_per_epoch, num_epochs, *args, **kwargs )
sparsh/tactile_ssl/downstream_task/sl_module.py:118
Methodconstrain_mask
Helper to restrict given mask to a set of acceptable regions
sparsh/tactile_ssl/algorithm/ijepa.py:159
Methodconstrain_mask
Helper to restrict given mask to a set of acceptable regions
sparsh/tactile_ssl/algorithm/dinov2.py:244
Methodconstrain_mask
Helper to restrict given mask to a set of acceptable regions
sparsh/tactile_ssl/algorithm/dino.py:230
Methodcount_parameters
(model)
sparsh/tactile_ssl/algorithm/vjepa.py:86
Methodcross_attn_residual_func
(q: Tensor, kv: Tensor)
model/layers/decoder_block.py:108
Methodcross_attn_residual_func
(q: Tensor, kv: Tensor)
sparsh/tactile_ssl/model/layers/decoder_block.py:111
Methoddel_decoder
(self)
sparsh/tactile_ssl/model/point_mae.py:910
Functiondraw_3d_axes
Draw 3D axes in 3D matplotlib plot. Args: ax: matplotlib 3D axis world_T_camera: n x 4 x 4 transformation matrix from camera
sparsh/tactile_ssl/utils/plotting_utils.py:50
Methodemb_forward
(self, pixel_values: Optional[torch.FloatTensor] = None, noise=None, sensor_type=None, use_mask = True)
model/tactile_mae.py:118
Methodemb_forward
(self, pixel_values: Optional[torch.FloatTensor] = None, points=None, points_num=None, noise=None, sensor_type
sparsh/tactile_ssl/model/point_mae.py:499
Methodemb_forward
(self, pixel_values: Optional[torch.FloatTensor] = None, points=None, points_num=None, noise=None, sensor_type
sparsh/tactile_ssl/model/point_mae.py:1049
Methodemb_forward
(self, pixel_values: torch.FloatTensor, noise=None, sensor_type=None)
sparsh/tactile_ssl/model/point_mae.py:1508
Methodf
(*args, **kwargs)
sparsh/tactile_ssl/model/multimodal_transformer.py:90
Methodf
(*args, **kwargs)
sparsh/tactile_ssl/model/vision_transformer.py:193
Methodffn_residual_func
(x: Tensor)
model/layers/block.py:90
Methodffn_residual_func
(x: Tensor, attn_bias=None)
model/layers/block.py:220
Methodffn_residual_func
(q: Tensor)
model/layers/decoder_block.py:111
Methodffn_residual_func
(x: Tensor)
sparsh/tactile_ssl/model/layers/block.py:93
Methodffn_residual_func
(x: Tensor, attn_bias=None)
sparsh/tactile_ssl/model/layers/block.py:223
Methodffn_residual_func
(q: Tensor)
sparsh/tactile_ssl/model/layers/decoder_block.py:114
Methodflops
(self)
sparsh/tactile_ssl/model/layers/patch_embed.py:103
Methodforward
(self, x=None, sensor_type=None, probe=False, get_cls=False)
model/tactile_mae.py:144
Methodforward
(self, x)
model/linear_probe.py:92
Methodforward
(self, x)
model/linear_probe.py:122
Methodforward
(self, x)
model/linear_probe.py:146
Methodforward
(self, x, sensor_type = None, return_feature = False)
model/linear_probe.py:215
Methodforward
(self, x)
model/layers/drop_path.py:33
Methodforward
(self, x_or_x_list)
model/layers/block.py:249
Methodforward
(self, x: Tensor)
model/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, attn_bias=None)
model/layers/attention.py:78
Methodforward
(self, q: Tensor, x: Tensor)
model/layers/attention.py:120
Methodforward
(self, q: Tensor, x: Tensor, attn_bias=None)
model/layers/attention.py:152
Methodforward
(self, q, x)
model/layers/attention.py:193
Methodforward
(self, x: Tensor)
model/layers/mlp.py:34
Methodforward
(self, q, kv)
model/layers/decoder_block.py:104
Methodforward
(self, x: Tensor)
model/layers/swiglu_ffn.py:30
Methodforward
(self, x: torch.Tensor)
sparsh/train_task.py:47
Methodforward
(self, x, masks=None)
sparsh/tactile_ssl/utils/masking.py:26
Methodforward
(self, ctxt, masks_ctxt, masks_tgt)
sparsh/tactile_ssl/utils/masking.py:44
Methodforward
(self, xs, masks=None, mask_types=None)
sparsh/tactile_ssl/model/multimodal_transformer.py:323
Methodforward
( self, xs: List[torch.Tensor], ids_restore: List[torch.Tensor], mask_types: L
sparsh/tactile_ssl/model/multimodal_transformer.py:439
Methodforward
(self, points)
sparsh/tactile_ssl/model/point_mae.py:61
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
sparsh/tactile_ssl/model/point_mae.py:89
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
sparsh/tactile_ssl/model/point_mae.py:189
Methodforward
(self, x=None, points=None, points_num=None, sensor_type=None, data_type=None, target_sensor_type = None)
sparsh/tactile_ssl/model/point_mae.py:571
Methodforward
(self, x)
sparsh/tactile_ssl/model/point_mae.py:1128
Methodforward
(self, x, sensor_type = None)
sparsh/tactile_ssl/model/point_mae.py:1529
Methodforward
(self, x)
sparsh/tactile_ssl/model/pretrained.py:42
Methodforward
(self, x)
sparsh/tactile_ssl/model/vision_transformer.py:50
Methodforward
(self, *args, **kwargs)
sparsh/tactile_ssl/model/vision_transformer.py:420
Methodforward
(self, x, context_masks, masks=None, mask_index=1)
sparsh/tactile_ssl/model/vision_transformer.py:448
← previousnext →501–600 of 813, ranked by callers