MCPcopy Create free account

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

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

↓ 1 callersMethod_mosaic_transform_seg
Mosaic transform function for label annotations. Args: results (dict): Result dict. Returns: dict: Updated r
seg_light_ham/mmseg/datasets/pipelines/transforms.py:1191
↓ 1 callersMethod_mosaic_transform_seg
Mosaic transform function for label annotations. Args: results (dict): Result dict. Returns: dict: Updated r
seg_mm/mmseg/datasets/pipelines/transforms.py:1191
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:384
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
seg_mm/mmseg/datasets/pipelines/transforms.py:384
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:397
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
seg_mm/mmseg/datasets/pipelines/transforms.py:397
↓ 1 callersMethod_pos_embeding
Positiong embeding method. Resize the pos_embed, if the input image size doesn't match the training size. Args:
seg_light_ham/mmseg/models/backbones/vit.py:312
↓ 1 callersMethod_pos_embeding
Positiong embeding method. Resize the pos_embed, if the input image size doesn't match the training size. Args:
seg_mm/mmseg/models/backbones/vit.py:312
↓ 1 callersFunction_prepare_input_img
(img_path: str, test_pipeline: Iterable[dict], shape: Optional[I
seg_light_ham/tools/onnx2tensorrt.py:26
↓ 1 callersFunction_prepare_input_img
(img_path, test_pipeline, shape=None, res
seg_light_ham/tools/pytorch2onnx.py:76
↓ 1 callersFunction_prepare_input_img
(img_path: str, test_pipeline: Iterable[dict], shape: Optional[I
seg_mm/tools/onnx2tensorrt.py:26
↓ 1 callersFunction_prepare_input_img
(img_path, test_pipeline, shape=None, res
seg_mm/tools/pytorch2onnx.py:76
↓ 1 callersFunction_preprocess_dataset_record_fn
Returns function for processing the elements of the imagenet dataset.
gan/HamGAN/data_provider.py:97
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
seg_light_ham/align_resize.py:114
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
seg_light_ham/mmseg/datasets/pipelines/transforms.py:202
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
seg_mm/mmseg/datasets/pipelines/transforms.py:202
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
seg_light_ham/align_resize.py:161
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:240
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
seg_mm/mmseg/datasets/pipelines/transforms.py:240
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
seg_light_ham/align_resize.py:190
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:262
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
seg_mm/mmseg/datasets/pipelines/transforms.py:262
↓ 1 callersMethod_same_paddings
(cls, kernel_size)
seg/HamNet/hamburger/bread.py:23
↓ 1 callersFunction_set_SIGCHLD_handler
()
seg/HamNet/sync_bn/utils/data/dataloader.py:160
↓ 1 callersMethod_syncParameters
(self, bn1, bn2)
seg/HamNet/sync_bn/nn/modules/tests/test_sync_batchnorm.py:37
↓ 1 callersFunction_update_input_img
(img_list: Iterable, img_meta_list: Iterable)
seg_light_ham/tools/onnx2tensorrt.py:51
↓ 1 callersFunction_update_input_img
(img_list: Iterable, img_meta_list: Iterable)
seg_mm/tools/onnx2tensorrt.py:51
↓ 1 callersFunction_write_image_to_disk
(image, filename)
gan/HamGAN/eval_lib.py:159
↓ 1 callersFunctionadd_mim_extension
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the pa
seg_mm/setup.py:102
↓ 1 callersMethodaggregate
(assignment_weights, x, codewords)
seg_light_ham/mmseg/ops/encoding.py:47
↓ 1 callersMethodaggregate
(assignment_weights, x, codewords)
seg_mm/mmseg/ops/encoding.py:47
↓ 1 callersMethodaug_test
Placeholder for augmentation test.
seg_light_ham/mmseg/models/segmentors/base.py:58
↓ 1 callersMethodaug_test
Placeholder for augmentation test.
seg_mm/mmseg/models/segmentors/base.py:58
↓ 1 callersFunctionbinary_dice_loss
(pred, target, valid_mask, smooth=1, exponent=2, **kwards)
seg_light_ham/mmseg/models/losses/dice_loss.py:38
↓ 1 callersFunctionbinary_dice_loss
(pred, target, valid_mask, smooth=1, exponent=2, **kwards)
seg_mm/mmseg/models/losses/dice_loss.py:38
↓ 1 callersMethodbrightness
Brightness distortion.
seg_light_ham/mmseg/datasets/pipelines/transforms.py:873
↓ 1 callersMethodbrightness
Brightness distortion.
seg_mm/mmseg/datasets/pipelines/transforms.py:873
↓ 1 callersFunctionbuild_pixel_sampler
Build pixel sampler for segmentation map.
seg_light_ham/mmseg/core/seg/builder.py:7
↓ 1 callersFunctionbuild_pixel_sampler
Build pixel sampler for segmentation map.
seg_mm/mmseg/core/seg/builder.py:7
↓ 1 callersMethodcam_cls_seg
CAM feature classification.
seg_light_ham/mmseg/models/decode_heads/da_head.py:136
↓ 1 callersMethodcam_cls_seg
CAM feature classification.
seg_mm/mmseg/models/decode_heads/da_head.py:136
↓ 1 callersFunctionchange_range
Maps value x from range [a, b] to range [c, d]
gan/HamGAN/generate_images.py:32
↓ 1 callersFunctioncheck_torch_version
()
seg_light_ham/tools/pytorch2torchscript.py:29
↓ 1 callersFunctioncheck_torch_version
()
seg_mm/tools/pytorch2torchscript.py:29
↓ 1 callersMethodcompute_coef
(self, x, bases, coef)
seg_light_ham/mmseg/models/decode_heads/ham_head.py:58
↓ 1 callersMethodcompute_coef
(self, x, bases, coef)
seg_mm/mmseg/models/decode_heads/ham_head.py:57
↓ 1 callersMethodcompute_coef
(self, x, bases, coef)
seg/HamNet/hamburger/ham.py:60
↓ 1 callersFunctionconvert_mit
(ckpt)
seg_light_ham/tools/model_converters/mit2mmseg.py:11
↓ 1 callersFunctionconvert_mit
(ckpt)
seg_mm/tools/model_converters/mit2mmseg.py:11
↓ 1 callersFunctionconvert_stdc
(ckpt, stdc_type)
seg_light_ham/tools/model_converters/stdc2mmseg.py:10
↓ 1 callersFunctionconvert_stdc
(ckpt, stdc_type)
seg_mm/tools/model_converters/stdc2mmseg.py:10
↓ 1 callersFunctionconvert_swin
(ckpt)
seg_light_ham/tools/model_converters/swin2mmseg.py:11
↓ 1 callersFunctionconvert_swin
(ckpt)
seg_mm/tools/model_converters/swin2mmseg.py:11
↓ 1 callersFunctionconvert_twins
(args, ckpt)
seg_light_ham/tools/model_converters/twins2mmseg.py:11
↓ 1 callersFunctionconvert_twins
(args, ckpt)
seg_mm/tools/model_converters/twins2mmseg.py:11
↓ 1 callersFunctionconvert_vit
(ckpt)
seg_light_ham/tools/model_converters/vit2mmseg.py:11
↓ 1 callersFunctionconvert_vit
(ckpt)
seg_mm/tools/model_converters/vit2mmseg.py:11
↓ 1 callersFunctioncorrect_unfold_norm_order
(x)
seg_light_ham/tools/model_converters/swin2mmseg.py:21
↓ 1 callersFunctioncorrect_unfold_norm_order
(x)
seg_mm/tools/model_converters/swin2mmseg.py:21
↓ 1 callersFunctioncorrect_unfold_reduction_order
(x)
seg_light_ham/tools/model_converters/swin2mmseg.py:14
↓ 1 callersFunctioncorrect_unfold_reduction_order
(x)
seg_mm/tools/model_converters/swin2mmseg.py:14
↓ 1 callersFunctioncrop
(image, label=None)
seg/HamNet/dataset.py:67
↓ 1 callersFunctiondice_loss
(pred, target, valid_mask, smooth=1, exponent=2,
seg_light_ham/mmseg/models/losses/dice_loss.py:13
↓ 1 callersFunctiondice_loss
(pred, target, valid_mask, smooth=1, exponent=2,
seg_mm/mmseg/models/losses/dice_loss.py:13
↓ 1 callersFunctiondict_gather
Gathers variables from different GPUs on a specified device (-1 means the CPU), with dictionary support.
seg/HamNet/sync_bn/nn/parallel/data_parallel.py:28
↓ 1 callersFunctiondiscriminator_loss
(loss_vars)
gan/HamGAN/inverse_image.py:43
↓ 1 callersMethoddouble_step_seq
(step1, len1, step2, len2)
seg_light_ham/mmseg/models/backbones/swin.py:122
↓ 1 callersMethoddouble_step_seq
(step1, len1, step2, len2)
seg_mm/mmseg/models/backbones/swin.py:122
↓ 1 callersFunctionensure_dir
(dir_path)
seg/HamNet/eval.py:19
↓ 1 callersFunctionensure_dir
(dir_path)
seg/HamNet/test.py:20
↓ 1 callersMethodenumerate_cells
(self, rows, cols)
gan/HamGAN/space_filling_curves.py:38
↓ 1 callersFunctioneval_by_steps
(ckp_name)
seg/HamNet/eval.py:57
↓ 1 callersMethodextract_feat
Placeholder for extract features from images.
seg_light_ham/mmseg/models/segmentors/base.py:37
↓ 1 callersMethodextract_feat
Placeholder for extract features from images.
seg_mm/mmseg/models/segmentors/base.py:37
↓ 1 callersFunctionf_score
calculate the f-score value. Args: precision (float | torch.Tensor): The precision value. recall (float | torch.Tensor): The reca
seg_light_ham/mmseg/core/evaluation/metrics.py:9
↓ 1 callersFunctionf_score
calculate the f-score value. Args: precision (float | torch.Tensor): The precision value. recall (float | torch.Tensor): The reca
seg_mm/mmseg/core/evaluation/metrics.py:9
↓ 1 callersFunctionfetch
(image_path, label_path=None)
seg/HamNet/test.py:25
↓ 1 callersFunctionfind_latest_checkpoint
This function is for finding the latest checkpoint. It will be used when automatically resume, modified from https://github.com/open-mmlab/mm
seg_light_ham/mmseg/utils/misc.py:7
↓ 1 callersFunctionfind_latest_checkpoint
This function is for finding the latest checkpoint. It will be used when automatically resume, modified from https://github.com/open-mmlab/mm
seg_mm/mmseg/utils/misc.py:7
↓ 1 callersFunctionflip
(image, label=None)
seg/HamNet/dataset.py:79
↓ 1 callersMethodforward
Forward function.
seg_light_ham/mmseg/models/decode_heads/isa_head.py:101
↓ 1 callersMethodforward
Forward function.
seg_light_ham/mmseg/models/decode_heads/ocr_head.py:120
↓ 1 callersMethodforward
Forward function.
seg_light_ham/mmseg/models/decode_heads/da_head.py:143
↓ 1 callersMethodforward
Forward function.
seg_mm/mmseg/models/decode_heads/isa_head.py:101
↓ 1 callersMethodforward
Forward function.
seg_mm/mmseg/models/decode_heads/ocr_head.py:120
↓ 1 callersMethodforward
Forward function.
seg_mm/mmseg/models/decode_heads/da_head.py:143
↓ 1 callersMethodforward_add
(self, inputs)
seg_light_ham/mmseg/models/backbones/stdc.py:103
↓ 1 callersMethodforward_add
(self, inputs)
seg_mm/mmseg/models/backbones/stdc.py:103
↓ 1 callersMethodforward_cat
(self, inputs)
seg_light_ham/mmseg/models/backbones/stdc.py:114
↓ 1 callersMethodforward_cat
(self, inputs)
seg_mm/mmseg/models/backbones/stdc.py:114
↓ 1 callersMethodforward_features
(self, x)
seg_light_ham/van.py:262
↓ 1 callersFunctiongather_map
(outputs)
seg/HamNet/sync_bn/nn/parallel/data_parallel.py:33
↓ 1 callersFunctiongen_packages_items
()
seg_mm/setup.py:84
↓ 1 callersFunctiongenerate_coco_list
(folder)
seg_light_ham/tools/convert_datasets/coco_stuff10k.py:209
↓ 1 callersFunctiongenerate_coco_list
(folder)
seg_mm/tools/convert_datasets/coco_stuff10k.py:209
↓ 1 callersFunctionget_GiB
return x GiB.
seg_light_ham/tools/onnx2tensorrt.py:21
↓ 1 callersFunctionget_GiB
return x GiB.
seg_mm/tools/onnx2tensorrt.py:21
↓ 1 callersFunctionget_activations
Get Inception activations. Use TF-GAN utility to avoid holding images or Inception activations in memory all at once. Args: get_im
gan/HamGAN/eval_lib.py:22
↓ 1 callersFunctionget_activations_from_dataset
Get Inception activations. Args: image_ds: tf.Dataset for images. num_batches: The number of batches to fetch at a time. get_lo
gan/HamGAN/eval_lib.py:47
↓ 1 callersMethodget_classes_and_palette
Get class names of current dataset. Args: classes (Sequence[str] | str | None): If classes is None, use default C
seg_light_ham/mmseg/datasets/custom.py:295
← previousnext →401–500 of 1,928, ranked by callers