MCPcopy Create free account

hub / github.com/alinlab/SelfPatch / functions

Functions386 in github.com/alinlab/SelfPatch

↓ 1 callersMethodlog_every
(self, iterable, print_freq, header=None)
utils.py:328
↓ 1 callersFunctionmain
()
detection/tools/train.py:94
↓ 1 callersFunctionmain
()
detection/tools/test.py:109
↓ 1 callersFunctionmain
()
segmentation/tools/train.py:66
↓ 1 callersFunctionmain
()
segmentation/tools/test.py:80
↓ 1 callersFunctionmain
()
segmentation/tools/benchmark.py:24
↓ 1 callersFunctionmain
()
segmentation/tools/browse_dataset.py:144
↓ 1 callersFunctionmain
()
segmentation/tools/deploy_test.py:193
↓ 1 callersFunctionmain
()
segmentation/tools/analyze_logs.py:120
↓ 1 callersFunctionmain
()
segmentation/tools/get_flops.py:23
↓ 1 callersFunctionmain
()
segmentation/tools/publish_model.py:30
↓ 1 callersFunctionmain
()
segmentation/tools/print_config.py:21
↓ 1 callersFunctionmain
()
segmentation/tools/model_converters/mit2mmseg.py:60
↓ 1 callersFunctionmain
()
segmentation/tools/model_converters/swin2mmseg.py:65
↓ 1 callersFunctionmain
()
segmentation/tools/model_converters/vit2mmseg.py:50
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/pascal_context.py:48
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/drive.py:25
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/voc_aug.py:37
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/coco_stuff10k.py:244
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/coco_stuff164k.py:215
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/hrf.py:35
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/chase_db1.py:24
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/stare.py:34
↓ 1 callersFunctionmain
()
segmentation/tools/convert_datasets/cityscapes.py:26
↓ 1 callersFunctionmain
(args)
segmentation/tools/torchserve/test_torchserve.py:36
↓ 1 callersMethodmake_layer
Stack InvertedResidual blocks to build a layer for MobileNetV2. Args: out_channels (int): out_channels of block. num_
segmentation/backbones/mobilenet_v2.py:137
↓ 1 callersMethodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``.
segmentation/backbones/resnet.py:582
↓ 1 callersMethodmake_stage_plugins
make plugins for ResNet 'stage_idx'th stage . Currently we support to insert 'context_block', 'empirical_attention_block', 'nonlocal_
segmentation/backbones/resnet.py:529
↓ 1 callersFunctionmmseg2torchserve
Converts mmsegmentation model (config + checkpoint) to TorchServe `.mar`. Args: config_file: In MMSegmentation config for
segmentation/tools/torchserve/mmseg2torchserve.py:15
↓ 1 callersMethodnorm0
nn.Module: the normalization layer named "norm0"
segmentation/backbones/resnest.py:109
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
segmentation/backbones/resnest.py:114
↓ 1 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
segmentation/backbones/resnet.py:60
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
segmentation/backbones/resnet.py:587
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
segmentation/backbones/resnet.py:65
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
segmentation/backbones/resnet.py:258
↓ 1 callersFunctionnorm_mask
(mask)
eval_video_segmentation.py:102
↓ 1 callersFunctiononnx2tensorrt
(onnx_file: str, trt_file: str, config: dict, input_conf
segmentation/tools/onnx2tensorrt.py:107
↓ 1 callersFunctionparse_args
()
detection/tools/train.py:29
↓ 1 callersFunctionparse_args
()
detection/tools/test.py:27
↓ 1 callersFunctionparse_args
()
segmentation/tools/train.py:22
↓ 1 callersFunctionparse_args
()
segmentation/tools/onnx2tensorrt.py:193
↓ 1 callersFunctionparse_args
()
segmentation/tools/test.py:21
↓ 1 callersFunctionparse_args
()
segmentation/tools/benchmark.py:14
↓ 1 callersFunctionparse_args
()
segmentation/tools/browse_dataset.py:13
↓ 1 callersFunctionparse_args
()
segmentation/tools/pytorch2onnx.py:285
↓ 1 callersFunctionparse_args
()
segmentation/tools/deploy_test.py:149
↓ 1 callersFunctionparse_args
()
segmentation/tools/analyze_logs.py:71
↓ 1 callersFunctionparse_args
()
segmentation/tools/get_flops.py:10
↓ 1 callersFunctionparse_args
()
segmentation/tools/publish_model.py:8
↓ 1 callersFunctionparse_args
()
segmentation/tools/print_config.py:9
↓ 1 callersFunctionparse_args
()
segmentation/tools/pytorch2torchscript.py:132
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/pascal_context.py:38
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/drive.py:12
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/voc_aug.py:25
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/coco_stuff10k.py:232
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/coco_stuff164k.py:203
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/hrf.py:14
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/chase_db1.py:14
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/stare.py:22
↓ 1 callersFunctionparse_args
()
segmentation/tools/convert_datasets/cityscapes.py:14
↓ 1 callersFunctionparse_args
()
segmentation/tools/torchserve/mmseg2torchserve.py:71
↓ 1 callersFunctionparse_args
()
segmentation/tools/torchserve/test_torchserve.py:12
↓ 1 callersFunctionplot_curve
(log_dicts, args)
segmentation/tools/analyze_logs.py:12
↓ 1 callersMethodprepare_tokens
(self, x)
detection/backbone/vit_SelfPatch.py:272
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
segmentation/tools/publish_model.py:17
↓ 1 callersFunctionpytorch2libtorch
Export Pytorch model to TorchScript model and verify the outputs are same between Pytorch and TorchScript. Args: model (nn.Module): P
segmentation/tools/pytorch2torchscript.py:89
↓ 1 callersFunctionpytorch2onnx
Export Pytorch model to ONNX model and verify the outputs are same between Pytorch and ONNX. Args: model (nn.Module): Pytorch model w
segmentation/tools/pytorch2onnx.py:129
↓ 1 callersFunctionread_frame_list
(video_dir)
eval_video_segmentation.py:191
↓ 1 callersFunctionread_seg
(seg_dir, factor, scale_size=[480])
eval_video_segmentation.py:224
↓ 1 callersFunctionrestrict_neighborhood
(h, w)
eval_video_segmentation.py:85
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, show_origin=False)
segmentation/tools/browse_dataset.py:125
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
utils.py:432
↓ 1 callersMethodsynchronize_between_processes
(self)
utils.py:321
↓ 1 callersFunctionto_one_hot
Take integer y (tensor or variable) with n dims & convert it to 1-hot representation with n+1 dims.
eval_video_segmentation.py:176
↓ 1 callersFunctiontrain_dino
(args)
main_selfpatch.py:151
↓ 1 callersFunctiontrain_one_epoch
(student, teacher, teacher_without_ddp, dino_loss, data_loader, optimizer, lr_schedule, wd
main_selfpatch.py:317
↓ 1 callersMethodupdate_center
Update center used for teacher output.
main_selfpatch.py:459
↓ 1 callersMethodupdate_patch_center
Update center used for teacher output.
main_selfpatch.py:471
↓ 1 callersMethodwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) H (int): Height of image W (int): Width of im
segmentation/backbones/swin.py:253
Method__call__
(self, image)
main_selfpatch.py:526
Method__call__
(self, img)
utils.py:45
Method__call__
(self, img)
utils.py:64
Method__getattr__
(self, attr)
utils.py:305
Method__init__
(self, backbone, ca_head, c_head, p_head)
main_selfpatch.py:137
Method__init__
(self, global_crops_scale, local_crops_scale, local_crops_number)
main_selfpatch.py:488
Method__init__
(self, p=0.5, radius_min=0.1, radius_max=2.)
utils.py:40
Method__init__
(self, p)
utils.py:61
Method__init__
(self, window_size=20, fmt=None)
utils.py:209
Method__init__
(self, delimiter="\t")
utils.py:294
Method__init__
(self, params, lr=0, weight_decay=0, momentum=0.9, eta=0.001, weight_decay_filter=None, lars_
utils.py:537
Method__init__
(self, backbone, head)
utils.py:583
Method__init__
(self, drop_prob=None)
selfpatch_vision_transformer.py:44
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
selfpatch_vision_transformer.py:75
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
selfpatch_vision_transformer.py:118
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
selfpatch_vision_transformer.py:144
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
selfpatch_vision_transformer.py:176
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
selfpatch_vision_transformer.py:197
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
selfpatch_vision_transformer.py:224
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
selfpatch_vision_transformer.py:247
Method__init__
(self, img_size=[224], patch_size=16, in_chans=3, num_classes=0, embed_dim=768, depth=12, num
selfpatch_vision_transformer.py:264
← previousnext →101–200 of 386, ranked by callers