MCPcopy Create free account

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

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

↓ 1 callersFunctionparse_args
()
seg_mm/tools/torchserve/test_torchserve.py:11
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
seg_mm/setup.py:45
↓ 1 callersFunctionparse_version_info
(version_str)
seg_light_ham/mmseg/version.py:6
↓ 1 callersFunctionparse_version_info
(version_str)
seg_mm/mmseg/version.py:6
↓ 1 callersFunctionpatch_replication_callback
Monkey-patch an existing `DataParallel` object. Add the replication callback. Useful when you have customized `DataParallel` implementation.
seg/HamNet/sync_bn/nn/modules/replicate.py:70
↓ 1 callersFunctionplot_curve
(log_dicts, args)
seg_light_ham/tools/analyze_logs.py:12
↓ 1 callersFunctionplot_curve
(log_dicts, args)
seg_mm/tools/analyze_logs.py:12
↓ 1 callersFunctionpoly_lr_scheduler
(opt, init_lr, iter, lr_decay_iter, max_iter, power)
seg/HamNet/train.py:58
↓ 1 callersFunctionpre_eval_to_metrics
Convert pre-eval results to metrics. Args: pre_eval_results (list[tuple[torch.Tensor]]): per image eval results for computing
seg_light_ham/mmseg/core/evaluation/metrics.py:296
↓ 1 callersFunctionpre_eval_to_metrics
Convert pre-eval results to metrics. Args: pre_eval_results (list[tuple[torch.Tensor]]): per image eval results for computing
seg_mm/mmseg/core/evaluation/metrics.py:296
↓ 1 callersFunctionprepare_metric_arguments
Prepares the arguments needed for get_metrics. When training on TPUs, this function should be executed on TPU. Args: generator_inputs:
gan/HamGAN/estimator_lib.py:127
↓ 1 callersMethodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
seg_light_ham/mmseg/datasets/custom.py:222
↓ 1 callersMethodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
seg_mm/mmseg/datasets/custom.py:222
↓ 1 callersMethodprepare_train_img
Get training data and annotations after pipeline. Args: idx (int): Index of data. Returns: dict: Training da
seg_light_ham/mmseg/datasets/custom.py:205
↓ 1 callersMethodprepare_train_img
Get training data and annotations after pipeline. Args: idx (int): Index of data. Returns: dict: Training da
seg_mm/mmseg/datasets/custom.py:205
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
seg_light_ham/tools/publish_model.py:17
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
seg_mm/tools/publish_model.py:17
↓ 1 callersFunctionprovide_dataset
Provides dataset of ImageNet digits that were preprocessed by the Red Team. Args: batch_size: The number of images in each batch. shu
gan/HamGAN/data_provider.py:32
↓ 1 callersMethodpsp_forward
Forward function of PSP module.
seg_light_ham/mmseg/models/decode_heads/uper_head.py:77
↓ 1 callersMethodpsp_forward
Forward function of PSP module.
seg_mm/mmseg/models/decode_heads/uper_head.py:77
↓ 1 callersFunctionpytorch2libtorch
Export Pytorch model to TorchScript model and verify the outputs are same between Pytorch and TorchScript. Args: model (nn.Module): P
seg_light_ham/tools/pytorch2torchscript.py:89
↓ 1 callersFunctionpytorch2libtorch
Export Pytorch model to TorchScript model and verify the outputs are same between Pytorch and TorchScript. Args: model (nn.Module): P
seg_mm/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
seg_light_ham/tools/pytorch2onnx.py:129
↓ 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
seg_mm/tools/pytorch2onnx.py:129
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
seg_light_ham/align_resize.py:43
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
seg_light_ham/mmseg/datasets/pipelines/transforms.py:131
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
seg_mm/mmseg/datasets/pipelines/transforms.py:131
↓ 1 callersFunctionreadme
()
seg_mm/setup.py:11
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
seg_light_ham/mmseg/models/losses/utils.py:27
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
seg_mm/mmseg/models/losses/utils.py:27
↓ 1 callersFunctionreduce_mean
Reduce mean when distributed training.
seg_light_ham/mmseg/models/decode_heads/ema_head.py:14
↓ 1 callersFunctionreduce_mean
Reduce mean when distributed training.
seg_mm/mmseg/models/decode_heads/ema_head.py:14
↓ 1 callersMethodregister_slave
Register an slave device. Args: identifier: an identifier, usually is the device id. Returns: a `SlavePipe` obj
seg/HamNet/sync_bn/nn/modules/comm.py:78
↓ 1 callersFunctionresnet
(n_layers, stride)
seg/HamNet/network.py:149
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_light_ham/mmseg/datasets/loveda.py:33
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_light_ham/mmseg/datasets/ade.py:93
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_light_ham/mmseg/datasets/cityscapes.py:51
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_mm/mmseg/datasets/loveda.py:33
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_mm/mmseg/datasets/ade.py:93
↓ 1 callersMethodresults2img
Write the segmentation results to images. Args: results (list[ndarray]): Testing results of the dataset.
seg_mm/mmseg/datasets/cityscapes.py:51
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options, show_origin=False)
seg_light_ham/tools/browse_dataset.py:135
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options, show_origin=False)
seg_mm/tools/browse_dataset.py:135
↓ 1 callersMethodrun_master
Main entry for the master device in each forward pass. The messages were first collected from each devices (including the master devi
seg/HamNet/sync_bn/nn/modules/comm.py:96
↓ 1 callersMethodrun_slave
(self, msg)
seg/HamNet/sync_bn/nn/modules/comm.py:49
↓ 1 callersMethodsample
Sample pixels that have high loss or with low prediction confidence. Args: seg_logit (torch.Tensor): segmentation logits, shape (
seg_light_ham/mmseg/core/seg/sampler/ohem_pixel_sampler.py:32
↓ 1 callersMethodsample
Sample pixels that have high loss or with low prediction confidence. Args: seg_logit (torch.Tensor): segmentation logits, shape (
seg_mm/mmseg/core/seg/sampler/ohem_pixel_sampler.py:32
↓ 1 callersMethodsaturation
Saturation distortion.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:890
↓ 1 callersMethodsaturation
Saturation distortion.
seg_mm/mmseg/datasets/pipelines/transforms.py:890
↓ 1 callersFunctionsave_img_cv2
(img, name)
gan/HamGAN/generate_images.py:23
↓ 1 callersFunctionscale
(image, label=None)
seg/HamNet/dataset.py:32
↓ 1 callersMethodscaled_l2
(x, codewords, scale)
seg_light_ham/mmseg/ops/encoding.py:34
↓ 1 callersMethodscaled_l2
(x, codewords, scale)
seg_mm/mmseg/ops/encoding.py:34
↓ 1 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
seg_mm/mmseg/apis/train.py:50
↓ 1 callersMethodsimple_test
Placeholder for single image test.
seg_light_ham/mmseg/models/segmentors/base.py:53
↓ 1 callersMethodsimple_test
Placeholder for single image test.
seg_mm/mmseg/models/segmentors/base.py:53
↓ 1 callersFunctionslide_crop_image
(src_path, out_dir, mode, patch_H, patch_W, overlap)
seg_light_ham/tools/convert_datasets/isaid.py:47
↓ 1 callersFunctionslide_crop_image
(src_path, out_dir, mode, patch_H, patch_W, overlap)
seg_mm/tools/convert_datasets/isaid.py:47
↓ 1 callersFunctionslide_crop_label
(src_path, out_dir, mode, patch_H, patch_W, overlap)
seg_light_ham/tools/convert_datasets/isaid.py:95
↓ 1 callersFunctionslide_crop_label
(src_path, out_dir, mode, patch_H, patch_W, overlap)
seg_mm/tools/convert_datasets/isaid.py:95
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:155
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
seg_mm/mmseg/models/segmentors/encoder_decoder.py:155
↓ 1 callersFunctiontest_dt
()
seg/HamNet/dataset.py:140
↓ 1 callersFunctiontest_main
(ckp_name='final.pth')
seg/HamNet/test.py:143
↓ 1 callersFunctiontest_net
()
seg/HamNet/network.py:228
↓ 1 callersFunctiontotal_intersect_and_union
Calculate Total Intersection and Union. Args: results (list[ndarray] | list[str]): List of prediction segmentation maps or li
seg_light_ham/mmseg/core/evaluation/metrics.py:89
↓ 1 callersFunctiontotal_intersect_and_union
Calculate Total Intersection and Union. Args: results (list[ndarray] | list[str]): List of prediction segmentation maps or li
seg_mm/mmseg/core/evaluation/metrics.py:89
↓ 1 callersMethodtrain_batch
(self, image, label)
seg/HamNet/train.py:163
↓ 1 callersFunctiontrain_segmentor
Launch segmentor training.
seg_mm/mmseg/apis/train.py:69
↓ 1 callersFunctionvit_jax_to_torch
(jax_weights, num_layer=12)
seg_light_ham/tools/model_converters/vitjax2mmseg.py:9
↓ 1 callersFunctionvit_jax_to_torch
(jax_weights, num_layer=12)
seg_mm/tools/model_converters/vitjax2mmseg.py:9
↓ 1 callersFunctionvoc_test
(eval_steps)
seg/HamNet/run.py:10
↓ 1 callersFunctionvoc_val
(eval_steps)
seg/HamNet/run.py:27
↓ 1 callersFunctionweighted_norm
(x, x_, attn_map, shape, head=None, order=2, method='nearest')
gan/HamGAN/inverse_image.py:67
↓ 1 callersMethodwhole_inference
Inference with full image.
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:200
↓ 1 callersMethodwhole_inference
Inference with full image.
seg_mm/mmseg/models/segmentors/encoder_decoder.py:200
↓ 1 callersMethodwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) H (int): Height of image W (int): Width of im
seg_light_ham/mmseg/models/backbones/swin.py:256
↓ 1 callersMethodwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) H (int): Height of image W (int): Width of im
seg_mm/mmseg/models/backbones/swin.py:256
↓ 1 callersFunctionwrite_rec
(mIoU_rec, suffix)
seg/HamNet/eval.py:80
Method__add__
(self, other)
seg/HamNet/sync_bn/utils/data/dataset.py:22
Method__call__
Call function to resize images, bounding boxes, masks, semantic segmentation map. Args: results (dict): Result dict from
seg_light_ham/align_resize.py:206
Method__call__
Call function to load images into results. Args: results (dict): A result dict contains the file name of the imag
seg_light_ham/mmseg/apis/inference.py:46
Method__call__
Call function to apply test time augment transforms on results. Args: results (dict): Result dict contains the data to transform.
seg_light_ham/mmseg/datasets/pipelines/test_time_aug.py:94
Method__call__
Call function to resize images, semantic segmentation map to multiple of size divisor. Args: results (dict): Result dict
seg_light_ham/mmseg/datasets/pipelines/transforms.py:27
Method__call__
Call function to resize images, bounding boxes, masks, semantic segmentation map. Args: results (dict): Result dict from
seg_light_ham/mmseg/datasets/pipelines/transforms.py:273
Method__call__
Call function to flip bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict from loading p
seg_light_ham/mmseg/datasets/pipelines/transforms.py:322
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:405
Method__call__
Call function to normalize images. Args: results (dict): Result dict from loading pipeline. Returns: dict: N
seg_light_ham/mmseg/datasets/pipelines/transforms.py:444
Method__call__
Call function to rerange images. Args: results (dict): Result dict from loading pipeline. Returns: dict: Rera
seg_light_ham/mmseg/datasets/pipelines/transforms.py:486
Method__call__
Call function to Use CLAHE method process images. Args: results (dict): Result dict from loading pipeline. Returns:
seg_light_ham/mmseg/datasets/pipelines/transforms.py:535
Method__call__
Call function to randomly crop images, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:592
Method__call__
Call function to rotate image, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. Retu
seg_light_ham/mmseg/datasets/pipelines/transforms.py:672
Method__call__
Call function to convert RGB image to grayscale image. Args: results (dict): Result dict from loading pipeline. Returns:
seg_light_ham/mmseg/datasets/pipelines/transforms.py:739
Method__call__
Call function to process the image with gamma correction. Args: results (dict): Result dict from loading pipeline. Retur
seg_light_ham/mmseg/datasets/pipelines/transforms.py:787
Method__call__
Call function to scale the semantic segmentation map. Args: results (dict): Result dict from loading pipeline. Returns:
seg_light_ham/mmseg/datasets/pipelines/transforms.py:817
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Retu
seg_light_ham/mmseg/datasets/pipelines/transforms.py:911
Method__call__
Call function to drop some regions of image.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:1010
Method__call__
Call function to make a mosaic of image. Args: results (dict): Result dict. Returns: dict: Result dict with
seg_light_ham/mmseg/datasets/pipelines/transforms.py:1104
Method__call__
Call functions to load image and get image meta information. Args: results (dict): Result dict from :obj:`mmseg.CustomDataset`.
seg_light_ham/mmseg/datasets/pipelines/loading.py:43
Method__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmseg.CustomDataset`. Ret
seg_light_ham/mmseg/datasets/pipelines/loading.py:114
Method__call__
Call function to apply transforms sequentially. Args: data (dict): A result dict contains the data to transform. Returns
seg_light_ham/mmseg/datasets/pipelines/compose.py:30
← previousnext →701–800 of 1,928, ranked by callers