MCPcopy Create free account

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

Functions813 in github.com/GeWu-Lab/AnyTouch2

↓ 1 callersMethodload_task
(self, checkpoint_task: str)
sparsh/tactile_ssl/downstream_task/sl_module.py:54
↓ 1 callersFunctionload_textile_dataset
(config, dataset_name)
sparsh/tactile_ssl/data/digit/utils.py:301
↓ 1 callersFunctionlossfunc
(t, s, temp)
sparsh/tactile_ssl/loss/ibot_patch_loss.py:19
↓ 1 callersFunctionmain
(args)
scripts/quick_start.py:77
↓ 1 callersFunctionmain
Main function to train the model
sparsh/train_task.py:356
↓ 1 callersFunctionmain
(args: argparse.Namespace)
sparsh/scripts/slip_labelling.py:283
↓ 1 callersFunctionmain
()
sparsh/scripts/download_datasets_scratch/compress_feeling_success.py:67
↓ 1 callersFunctionmain
()
sparsh/scripts/download_datasets_scratch/compress_object_folder.py:61
↓ 1 callersFunctionmain
()
sparsh/scripts/download_datasets_scratch/compress_touch_go.py:87
↓ 1 callersFunctionmain
(args)
train/main_touchdbench.py:58
↓ 1 callersFunctionmain
(args)
train/main_objbench.py:43
↓ 1 callersFunctionnamed_apply
( fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False )
sparsh/tactile_ssl/model/vision_transformer.py:30
↓ 1 callersFunctionnumpy_to_binary
(arr)
sparsh/scripts/download_datasets_scratch/compress_feeling_success.py:18
↓ 1 callersFunctionnumpy_to_binary
(arr)
sparsh/scripts/download_datasets_scratch/compress_object_folder.py:16
↓ 1 callersFunctionnumpy_to_binary
(arr)
sparsh/scripts/download_datasets_scratch/compress_touch_go.py:20
↓ 1 callersMethodon_train_batch_end
( self, outputs: Dict, batch: Dict, batch_idx: int, trainer_instance=None )
sparsh/tactile_ssl/algorithm/module.py:36
↓ 1 callersMethodon_train_batch_start
(self, batch: Dict, batch_idx: int)
sparsh/tactile_ssl/algorithm/module.py:46
↓ 1 callersMethodon_train_epoch_end
(self, trainer_instance=None)
sparsh/tactile_ssl/algorithm/module.py:30
↓ 1 callersMethodon_train_epoch_start
(self, trainer_instance=None)
sparsh/tactile_ssl/algorithm/module.py:49
↓ 1 callersMethodon_validation_batch_end
( self, outputs: Dict, batch: Dict, batch_idx: int, trainer_instance=None )
sparsh/tactile_ssl/algorithm/module.py:41
↓ 1 callersMethodon_validation_epoch_end
(self, trainer_instance=None)
sparsh/tactile_ssl/algorithm/module.py:33
↓ 1 callersMethodpairwise_NNs_inner
Pairwise nearest neighbors for L2-normalized vectors. Uses Torch rather than Faiss to remain on GPU.
sparsh/tactile_ssl/loss/koleo_loss.py:25
↓ 1 callersMethodpatch2img
x: (N, L, patch_size**2 *3) imgs: (N, 3, H, W)
sparsh/tactile_ssl/algorithm/vjepa.py:218
↓ 1 callersMethodpatchify
imgs: (N, 3, H, W) x: (N, L, patch_size**2 *3)
sparsh/tactile_ssl/model/point_mae.py:759
↓ 1 callersMethodpatchify
imgs: (N, 3, T, H, W) x: (N, L, patch_size**2 *3*T)
sparsh/tactile_ssl/model/point_mae.py:1384
↓ 1 callersMethodpatchify_img
imgs: (N, 3, H, W) x: (N, L, patch_size**2 *3)
sparsh/tactile_ssl/algorithm/vjepa.py:190
↓ 1 callersMethodplot_confusion_matrix
(self, labels_gt, labels_pred)
sparsh/tactile_ssl/test/test_t4_grasp.py:124
↓ 1 callersMethodplot_confusion_matrix
(self, labels_gt, labels_pred, n_classes)
sparsh/tactile_ssl/test/test_t3_pose.py:191
↓ 1 callersMethodplot_confusion_matrix
(self, labels_gt, labels_pred)
sparsh/tactile_ssl/test/test_t6_textile.py:128
↓ 1 callersFunctionplot_correlation
(forces_gt, forces_pred, log_path, epoch)
train/probe_touchd_engine.py:11
↓ 1 callersFunctionplot_data_summary
( data_dir, trajectories, ee_pose, in_contact, forces, frictional_coeff, slip_perc
sparsh/scripts/slip_labelling.py:144
↓ 1 callersMethodplot_delta_forces
(self, traj_id, delta_forces_gt, delta_forces_pred)
sparsh/tactile_ssl/test/test_t2_slip.py:320
↓ 1 callersMethodplot_slip
(self, test_dset, traj_id, slip_gt, slip_pred)
sparsh/tactile_ssl/test/test_t2_slip.py:188
↓ 1 callersFunctionplot_slip_per_stroke
( trajectories, slip_trajectories, ee_pose, shear_magnitude, forces, frictional_coeff )
sparsh/scripts/slip_labelling.py:65
↓ 1 callersMethodpost_transcode
( self, x: torch.Tensor, x_norm: torch.Tensor, masks: Optional[List[torch.Tens
sparsh/tactile_ssl/model/multimodal_transformer.py:242
↓ 1 callersMethodpost_transcode
(self, x: torch.Tensor)
sparsh/tactile_ssl/model/multimodal_transformer.py:436
↓ 1 callersMethodpre_embed
(self, xs: List[torch.Tensor], *args, **kwargs)
sparsh/tactile_ssl/model/multimodal_transformer.py:187
↓ 1 callersMethodpre_embed
( self, xs: List[torch.Tensor], ids_restore: List[torch.Tensor], mask_types: L
sparsh/tactile_ssl/model/multimodal_transformer.py:365
↓ 1 callersFunctionprint_config_tree
Prints content of DictConfig using Rich library and its tree structure. Args: cfg (DictConfig): Configuration composed by Hydra.
sparsh/tactile_ssl/utils/logging.py:44
↓ 1 callersFunctionquaternion_invert
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor o
sparsh/tactile_ssl/utils/__init__.py:93
↓ 1 callersFunctionrandom_seed
(seed=0)
scripts/quick_start.py:72
↓ 1 callersMethodreduce_center_update
(self, teacher_patch_tokens)
sparsh/tactile_ssl/loss/ibot_patch_loss.py:144
↓ 1 callersMethodreduce_center_update
(self, teacher_output)
sparsh/tactile_ssl/loss/dino_loss.py:82
↓ 1 callersMethodreg_fn
(self, z)
sparsh/tactile_ssl/algorithm/vjepa.py:187
↓ 1 callersMethodregister_hooks
(self)
sparsh/tactile_ssl/downstream_task/forcefield_sl.py:154
↓ 1 callersMethodregister_signal_handlers
(self)
sparsh/tactile_ssl/utils/signal_connector.py:47
↓ 1 callersFunctionresnet_multiimage_input
Constructs a ResNet model. Args: num_layers (int): Number of resnet layers. Must be 18 or 50 pretrained (bool): If True, returns a
sparsh/tactile_ssl/downstream_task/utils_forcefield/pose_estimator/resnet_encoder.py:44
↓ 1 callersFunctionrobost_loss
(im, im_warp, p=2, q=None, eps=None)
sparsh/tactile_ssl/downstream_task/utils_forcefield/ssl_utils.py:68
↓ 1 callersFunctionrot_from_axisangle
Convert an axisangle rotation into a 4x4 transformation matrix (adapted from https://github.com/Wallacoloo/printipi) Input 'vec' has to be Bx1
sparsh/tactile_ssl/downstream_task/utils_forcefield/pose_estimator/utils.py:46
↓ 1 callersMethodsample_masks
(self, x)
sparsh/tactile_ssl/algorithm/ijepa.py:239
↓ 1 callersMethodsample_masks
(self, x)
sparsh/tactile_ssl/algorithm/dinov2.py:281
↓ 1 callersMethodsample_masks
(self, x)
sparsh/tactile_ssl/algorithm/dino.py:267
↓ 1 callersFunctionsave_on_master
(*args, **kwargs)
util/misc.py:211
↓ 1 callersMethodshow_val_forces
(self, trainer_instance=None)
sparsh/tactile_ssl/downstream_task/slip_sl.py:225
↓ 1 callersMethodshow_val_slip
(self, trainer_instance=None)
sparsh/tactile_ssl/downstream_task/slip_sl.py:173
↓ 1 callersFunctionshow_video
(object)
sparsh/scripts/download_datasets_scratch/compress_touch_go.py:26
↓ 1 callersFunctionsmooth_1st_loss
The First order smoothness loss. Modified from https://github.com/lliuz/ARFlow/blob/master/losses/flow_loss.py licensed under MIT License
sparsh/tactile_ssl/downstream_task/utils_forcefield/ssl_utils.py:95
↓ 1 callersMethodstep
(self)
sparsh/tactile_ssl/utils/masking.py:143
↓ 1 callersMethodteacher_temp_schedule
(self, num_epochs, num_iterations_per_epoch)
sparsh/tactile_ssl/algorithm/dinov2.py:596
↓ 1 callersMethodteacher_temp_schedule
(self, num_epochs, num_iterations_per_epoch)
sparsh/tactile_ssl/algorithm/dino.py:518
↓ 1 callersFunctiontrain
(cfg: DictConfig)
sparsh/train_task.py:276
↓ 1 callersMethodtrain_loop
The training loop running a single training epoch. Args: module: the LightningModule to train optimizer: the optimize
sparsh/tactile_ssl/trainer/trainer.py:266
↓ 1 callersFunctiontrain_one_epoch
(model: torch.nn.Module, data_loader, optimizer: torch.optim.Optimizer,
train/probe_touchd_engine.py:40
↓ 1 callersFunctiontrain_one_epoch
(model: torch.nn.Module, data_loader, optimizer: torch.optim.Optimizer,
train/probe_objbench_engine.py:12
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/ijepa.py:331
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/dinov2.py:470
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/dino.py:393
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/vjepa.py:348
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/mae.py:146
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/forcefield_sl.py:178
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/pose_sl.py:185
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/textile_sl.py:112
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/slip_sl.py:88
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/grasp_sl.py:101
↓ 1 callersMethodtraining_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/downstream_task/force_sl.py:113
↓ 1 callersFunctiontransformation_from_parameters
Convert the network's (axisangle, translation) output into a 4x4 matrix
sparsh/tactile_ssl/downstream_task/utils_forcefield/pose_estimator/utils.py:10
↓ 1 callersFunctionupdate_average
(beta, old, new)
sparsh/tactile_ssl/utils/ema.py:6
↓ 1 callersMethodupdate_shear
(self, shear, normal, margin=0, spacing=12)
sparsh/tactile_ssl/test/demo_t1_forcefield.py:147
↓ 1 callersFunctionupsample
Upsample input tensor by a factor of 2
sparsh/tactile_ssl/downstream_task/utils_forcefield/layers/Head.py:62
↓ 1 callersMethodval_loop
The validation loop ruunning a single validation epoch. Args: module: the LightningModule to evaluate val_loader: The
sparsh/tactile_ssl/trainer/trainer.py:363
↓ 1 callersMethodvalidation_step
(self, batch: Dict[str, Any], batch_idx: int)
sparsh/tactile_ssl/algorithm/module.py:17
↓ 1 callersFunctionwarp
warp an image/tensor (im2) back to im1, according to the optical flow x: [B, C, H, W] (im2) flo: [B, 2, H, W] flow
sparsh/tactile_ssl/downstream_task/utils_forcefield/ssl_utils.py:33
FunctionDecoderImage
(**kwargs)
sparsh/tactile_ssl/probe/reconstruction.py:76
Method__call__
(self, batch)
sparsh/tactile_ssl/utils/masking.py:90
Method__call__
Create encoder and predictor masks when collating imgs into a batch # 1. sample pred block size using seed # 2. sample severa
sparsh/tactile_ssl/utils/masking.py:195
Method__call__
(self, signum: _SIGNUM, frame: FrameType)
sparsh/tactile_ssl/utils/signal_connector.py:33
Method__call__
(self, loss, optimizer, clip_grad=None, parameters=None, create_graph=False, update_grad=True)
util/misc.py:257
Method__getattr__
(self, attr)
util/misc.py:100
Method__getitem__
(self, index)
data/downstream_dataset.py:93
Method__getitem__
(self, index)
data/downstream_dataset.py:197
Method__getitem__
(self, index)
data/downstream_dataset.py:320
Method__getitem__
(self, idx: int)
sparsh/tactile_ssl/data/vision_based_grasp_probes.py:69
Method__getitem__
(self, idx)
sparsh/tactile_ssl/data/vision_based_slip_probes.py:124
Method__getitem__
(self, idx)
sparsh/tactile_ssl/data/gelsight_grasp.py:61
Method__getitem__
Returns a single training item from the dataset as a dictionary.
sparsh/tactile_ssl/data/digit_ycbslide.py:69
Method__getitem__
(self, idx: int)
sparsh/tactile_ssl/data/vision_based_textile_probes.py:71
Method__getitem__
(self, idx)
sparsh/tactile_ssl/data/digit_slip.py:69
Method__getitem__
(self, idx)
sparsh/tactile_ssl/data/vision_based_pose_probes.py:161
Method__getitem__
(self, idx)
sparsh/tactile_ssl/data/vision_based_force_probes.py:98
Method__getitem__
Returns a single training item from the dataset as a dictionary.
sparsh/tactile_ssl/data/vision_tactile_forcefield.py:93
← previousnext →301–400 of 813, ranked by callers