MCPcopy Create free account

hub / github.com/Gsunshine/Enjoy-Hamburger / functions

Functions1,928 in github.com/Gsunshine/Enjoy-Hamburger

↓ 3 callersMethod__init__
(self, args)
seg/HamNet/hamburger/ham.py:120
↓ 3 callersMethod_make_layer
(self, in_channels, out_channels, blocks,
seg_light_ham/mmseg/models/backbones/fast_scnn.py:160
↓ 3 callersMethod_make_layer
(self, in_channels, out_channels, blocks,
seg_mm/mmseg/models/backbones/fast_scnn.py:160
↓ 3 callersMethod_make_stage
Make each stage.
seg_light_ham/mmseg/models/backbones/hrnet.py:529
↓ 3 callersMethod_make_stage
Make each stage.
seg_mm/mmseg/models/backbones/hrnet.py:529
↓ 3 callersMethod_make_transition_layer
Make transition layer.
seg_light_ham/mmseg/models/backbones/hrnet.py:434
↓ 3 callersMethod_make_transition_layer
Make transition layer.
seg_mm/mmseg/models/backbones/hrnet.py:434
↓ 3 callersFunctionaccuracy
Calculate accuracy according to the prediction and target. Args: pred (torch.Tensor): The model prediction, shape (N, num_class, ...)
seg_light_ham/mmseg/models/losses/accuracy.py:5
↓ 3 callersFunctionaccuracy
Calculate accuracy according to the prediction and target. Args: pred (torch.Tensor): The model prediction, shape (N, num_class, ...)
seg_mm/mmseg/models/losses/accuracy.py:5
↓ 3 callersFunctionbuild_backbone
Build backbone.
seg_light_ham/mmseg/models/builder.py:18
↓ 3 callersFunctionbuild_backbone
Build backbone.
seg_mm/mmseg/models/builder.py:18
↓ 3 callersFunctionbuild_loss
Build loss.
seg_light_ham/mmseg/models/builder.py:33
↓ 3 callersFunctionbuild_loss
Build loss.
seg_mm/mmseg/models/builder.py:33
↓ 3 callersFunctionchange_range
Maps value x from range [a, b] to range [c, d]
gan/HamGAN/explore_latent.py:41
↓ 3 callersFunctionchange_range
Maps value x from range [a, b] to range [c, d]
gan/HamGAN/inverse_image.py:76
↓ 3 callersFunctioncollect_env
Collect the information of the running environments.
seg_light_ham/mmseg/utils/collect_env.py:8
↓ 3 callersMethodcrop
Crop from ``img``
seg_light_ham/mmseg/datasets/pipelines/transforms.py:586
↓ 3 callersMethodcrop
Crop from ``img``
seg_mm/mmseg/datasets/pipelines/transforms.py:586
↓ 3 callersMethodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:70
↓ 3 callersMethodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_mm/mmseg/models/segmentors/encoder_decoder.py:70
↓ 3 callersFunctionfeed_disc
(img, target)
gan/HamGAN/inverse_image.py:39
↓ 3 callersMethodforward_train
Placeholder for Forward function for training.
seg_light_ham/mmseg/models/segmentors/base.py:48
↓ 3 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:122
↓ 3 callersMethodforward_train
Placeholder for Forward function for training.
seg_mm/mmseg/models/segmentors/base.py:48
↓ 3 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
seg_mm/mmseg/models/segmentors/encoder_decoder.py:122
↓ 3 callersMethodget_ann_info
Get annotation by index. Args: idx (int): Index of data. Returns: dict: Annotation info of specified index.
seg_light_ham/mmseg/datasets/custom.py:169
↓ 3 callersMethodget_ann_info
Get annotation by index. Args: idx (int): Index of data. Returns: dict: Annotation info of specified index.
seg_mm/mmseg/datasets/custom.py:169
↓ 3 callersFunctionget_class_weight
Get class weight for loss function. Args: class_weight (list[float] | str | None): If class_weight is a str, take it as a fil
seg_light_ham/mmseg/models/losses/utils.py:9
↓ 3 callersFunctionget_class_weight
Get class weight for loss function. Args: class_weight (list[float] | str | None): If class_weight is a str, take it as a fil
seg_mm/mmseg/models/losses/utils.py:9
↓ 3 callersFunctionget_hams
(key)
seg/HamNet/hamburger/ham.py:271
↓ 3 callersMethodget_indices
(self, **kwargs)
gan/HamGAN/masks.py:76
↓ 3 callersFunctionget_params
(model, key)
seg/HamNet/train.py:33
↓ 3 callersMethodget_square_grid_indices_from_1d
(self, grid, filling_curve='manhattan')
gan/HamGAN/masks.py:116
↓ 3 callersMethodhamburger
(self, x)
seg_light_ham/mmseg/models/decode_heads/ham_head.py:253
↓ 3 callersMethodinference
Inference with slide/whole style. Args: img (Tensor): The input image of shape (N, 3, H, W). img_meta (dict): Image i
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:219
↓ 3 callersMethodinference
Inference with slide/whole style. Args: img (Tensor): The input image of shape (N, 3, H, W). img_meta (dict): Image i
seg_mm/mmseg/models/segmentors/encoder_decoder.py:219
↓ 3 callersFunctioninit_segmentor
Initialize a segmentor from config file. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
seg_light_ham/mmseg/apis/inference.py:12
↓ 3 callersFunctioninit_segmentor
Initialize a segmentor from config file. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
seg_mm/mmseg/apis/inference.py:12
↓ 3 callersFunctionis_within_directory
(directory, target)
seg_light_ham/tools/convert_datasets/stare.py:59
↓ 3 callersFunctionis_within_directory
(directory, target)
seg_mm/tools/convert_datasets/stare.py:59
↓ 3 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
seg_light_ham/mmseg/models/backbones/resnet.py:222
↓ 3 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
seg_mm/mmseg/models/backbones/resnet.py:222
↓ 3 callersFunctionmulti_gpu_test
Test model with multiple gpus by progressive mode. This method tests model with multiple gpus and collects the results under two different mo
seg_light_ham/mmseg/apis/test.py:140
↓ 3 callersFunctionnchw_to_nlc
Flatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
seg_light_ham/mmseg/models/utils/shape_convert.py:19
↓ 3 callersFunctionnchw_to_nlc
Flatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
seg_mm/mmseg/models/utils/shape_convert.py:19
↓ 3 callersFunctionsafe_extract
(tar, path=".", members=None, *, numeric_owner=False)
seg_light_ham/tools/convert_datasets/stare.py:68
↓ 3 callersFunctionsafe_extract
(tar, path=".", members=None, *, numeric_owner=False)
seg_mm/tools/convert_datasets/stare.py:68
↓ 3 callersMethodsave_checkpoints
(self, name)
seg/HamNet/train.py:134
↓ 3 callersFunctionsave_img_cv2
(img, name)
gan/HamGAN/explore_latent.py:32
↓ 3 callersFunctionsingle_gpu_test
Test with single GPU by progressive mode. Args: model (nn.Module): Model to be tested. data_loader (utils.data.Dataloader): Pytor
seg_mm/mmseg/apis/test.py:34
↓ 3 callersFunctiontrain_main
(ckp_name='latest.pth', split='trainaug', dtype=None, val=True, reset_steps=Fals
seg/HamNet/train.py:227
↓ 3 callersFunctionun_gz
(src, dst)
seg_light_ham/tools/convert_datasets/stare.py:15
↓ 3 callersFunctionun_gz
(src, dst)
seg_mm/tools/convert_datasets/stare.py:15
↓ 2 callersMethod__init__
(self, in_channels=3, embed_dims=768, conv_type='Conv2d',
seg_light_ham/mmseg/models/utils/embed.py:111
↓ 2 callersMethod__init__
(self, ocr_channels, scale=1, **kwargs)
seg_light_ham/mmseg/models/decode_heads/ocr_head.py:98
↓ 2 callersMethod__init__
(self, in_channels, channels)
seg_light_ham/mmseg/models/decode_heads/da_head.py:21
↓ 2 callersMethod__init__
(self, in_channels=3, embed_dims=768, conv_type='Conv2d',
seg_mm/mmseg/models/utils/embed.py:111
↓ 2 callersMethod__init__
(self, ocr_channels, scale=1, **kwargs)
seg_mm/mmseg/models/decode_heads/ocr_head.py:98
↓ 2 callersMethod__init__
(self, args=None)
seg_mm/mmseg/models/decode_heads/ham_head.py:104
↓ 2 callersMethod__init__
(self, in_channels, channels)
seg_mm/mmseg/models/decode_heads/da_head.py:21
↓ 2 callersMethod__init__
(self, in_c, args=None)
seg/HamNet/hamburger/burger.py:19
↓ 2 callersMethod_align
(self, img, size_divisor, interpolation=None)
seg_light_ham/align_resize.py:152
↓ 2 callersMethod_build_bases
(self, B, S, D, R, cuda=False)
seg_light_ham/mmseg/models/decode_heads/ham_head.py:40
↓ 2 callersMethod_build_bases
(self, B, S, D, R, cuda=False)
seg_mm/mmseg/models/decode_heads/ham_head.py:39
↓ 2 callersMethod_build_bases
(self, B, S, D, R, cuda=False)
seg/HamNet/hamburger/ham.py:42
↓ 2 callersMethod_check_input_dim
(self, input)
seg/HamNet/sync_bn/nn/modules/batchnorm.py:193
↓ 2 callersMethod_freeze_stages
Freeze stages param and norm stats.
seg_light_ham/mmseg/models/backbones/hrnet.py:570
↓ 2 callersMethod_freeze_stages
Freeze stages param and norm stats.
seg_light_ham/mmseg/models/backbones/resnet.py:640
↓ 2 callersMethod_freeze_stages
Freeze stages param and norm stats.
seg_mm/mmseg/models/backbones/hrnet.py:570
↓ 2 callersMethod_freeze_stages
Freeze stages param and norm stats.
seg_mm/mmseg/models/backbones/resnet.py:640
↓ 2 callersMethod_get_coarse_point_feats
Sample from fine grained features. Args: prev_output (list[Tensor]): Prediction of previous decode head. points (Tens
seg_light_ham/mmseg/models/decode_heads/point_head.py:155
↓ 2 callersMethod_get_coarse_point_feats
Sample from fine grained features. Args: prev_output (list[Tensor]): Prediction of previous decode head. points (Tens
seg_mm/mmseg/models/decode_heads/point_head.py:155
↓ 2 callersMethod_get_fine_grained_point_feats
Sample from fine grained features. Args: x (list[Tensor]): Feature pyramid from by neck or backbone. points (Tensor):
seg_light_ham/mmseg/models/decode_heads/point_head.py:131
↓ 2 callersMethod_get_fine_grained_point_feats
Sample from fine grained features. Args: x (list[Tensor]): Feature pyramid from by neck or backbone. points (Tensor):
seg_mm/mmseg/models/decode_heads/point_head.py:131
↓ 2 callersMethod_mosaic_combine
Calculate global coordinate of mosaic image and local coordinate of cropped sub-image. Args: loc (str): Index for the sub
seg_light_ham/mmseg/datasets/pipelines/transforms.py:1242
↓ 2 callersMethod_mosaic_combine
Calculate global coordinate of mosaic image and local coordinate of cropped sub-image. Args: loc (str): Index for the sub
seg_mm/mmseg/datasets/pipelines/transforms.py:1242
↓ 2 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
seg_light_ham/mmseg/models/segmentors/base.py:166
↓ 2 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
seg_mm/mmseg/models/segmentors/base.py:166
↓ 2 callersMethod_process_next_batch
(self, batch)
seg/HamNet/sync_bn/utils/data/dataloader.py:299
↓ 2 callersMethod_put_indices
(self)
seg/HamNet/sync_bn/utils/data/dataloader.py:290
↓ 2 callersFunction_retrieve_data_cfg
(_data_cfg, skip_type, show_origin)
seg_light_ham/tools/browse_dataset.py:123
↓ 2 callersFunction_retrieve_data_cfg
(_data_cfg, skip_type, show_origin)
seg_mm/tools/browse_dataset.py:123
↓ 2 callersMethod_shutdown_workers
(self)
seg/HamNet/sync_bn/utils/data/dataloader.py:314
↓ 2 callersFunction_sum_ft
sum over the first and last dimention
seg/HamNet/sync_bn/nn/modules/batchnorm.py:24
↓ 2 callersFunction_update_input_img
(img_list, img_meta_list, update_ori_shape=False)
seg_light_ham/tools/pytorch2onnx.py:101
↓ 2 callersFunction_update_input_img
(img_list, img_meta_list, update_ori_shape=False)
seg_mm/tools/pytorch2onnx.py:101
↓ 2 callersFunctionas_numpy
(v)
seg/HamNet/sync_bn/nn/modules/unittest.py:17
↓ 2 callersFunctionasync_copy_to
(obj, dev, main_stream=None)
seg/HamNet/sync_bn/nn/parallel/data_parallel.py:12
↓ 2 callersFunctioncal_scores
(hist)
seg/HamNet/metric.py:42
↓ 2 callersFunctionclip_big_image
(image_path, clip_save_dir, to_label=False)
seg_light_ham/tools/convert_datasets/vaihingen.py:34
↓ 2 callersFunctionclip_big_image
(image_path, clip_save_dir, args, to_label=False)
seg_light_ham/tools/convert_datasets/potsdam.py:34
↓ 2 callersFunctionclip_big_image
(image_path, clip_save_dir, to_label=False)
seg_mm/tools/convert_datasets/vaihingen.py:34
↓ 2 callersFunctionclip_big_image
(image_path, clip_save_dir, args, to_label=False)
seg_mm/tools/convert_datasets/potsdam.py:34
↓ 2 callersFunctioncollect_env
Collect the information of the running environments.
seg_mm/mmseg/utils/collect_env.py:8
↓ 2 callersMethodcontrast
Contrast distortion.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:882
↓ 2 callersMethodcontrast
Contrast distortion.
seg_mm/mmseg/datasets/pipelines/transforms.py:882
↓ 2 callersFunctiondigit_version
(version_str)
seg_light_ham/tools/pytorch2torchscript.py:17
↓ 2 callersFunctiondigit_version
(version_str)
seg_mm/tools/pytorch2torchscript.py:17
↓ 2 callersFunctionensure_dir
(dir_path)
seg/HamNet/train.py:53
↓ 2 callersFunctionexecute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
seg/HamNet/sync_bn/nn/modules/replicate.py:27
← previousnext →101–200 of 1,928, ranked by callers