MCPcopy Create free account

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

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

Method__repr__
(self)
seg_mm/mmseg/datasets/pipelines/formatting.py:287
Method_add_weighted
return *dest* by `dest := dest*alpha + delta*beta + bias`
seg/HamNet/sync_bn/nn/modules/batchnorm.py:118
Function_async_copy
(inputs, device_ids)
seg/HamNet/sync_bn/nn/parallel/data_parallel.py:70
Method_build_bases
(self, B, S, D, R, cuda=False)
seg_light_ham/mmseg/models/decode_heads/ham_head.py:110
Method_build_bases
(self, B, S, D, R, cuda=False)
seg_mm/mmseg/models/decode_heads/ham_head.py:109
Method_build_bases
(self, B, S, D, R, cuda=False)
seg/HamNet/hamburger/ham.py:123
Method_build_bases
(self, B, S, D, R, cuda=False)
seg/HamNet/hamburger/ham.py:182
Method_build_bases
(self, B, S, D, R, cuda=False)
seg/HamNet/hamburger/ham.py:232
Method_check_input_dim
(self, input)
seg/HamNet/sync_bn/nn/modules/batchnorm.py:256
Method_check_input_dim
(self, input)
seg/HamNet/sync_bn/nn/modules/batchnorm.py:320
Function_conv_filter
convert patch embedding weight from manual patchify + linear proj to conv
seg_light_ham/van.py:294
Method_data_parallel_master
Reduce the sum and square-sum, compute the statistics, and broadcast it.
seg/HamNet/sync_bn/nn/modules/batchnorm.py:97
Method_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
seg_light_ham/mmseg/models/segmentors/cascade_encoder_decoder.py:66
Method_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
seg_mm/mmseg/models/segmentors/cascade_encoder_decoder.py:66
Method_do_evaluate
perform evaluation and save ckpt.
seg_light_ham/mmseg/core/evaluation/eval_hooks.py:43
Method_do_evaluate
perform evaluation and save ckpt.
seg_light_ham/mmseg/core/evaluation/eval_hooks.py:90
Method_do_evaluate
perform evaluation and save ckpt.
seg_mm/mmseg/core/evaluation/eval_hooks.py:43
Method_do_evaluate
perform evaluation and save ckpt.
seg_mm/mmseg/core/evaluation/eval_hooks.py:90
Method_get_item
(self, image_id)
seg/HamNet/test.py:80
Method_get_item
(self, image_id)
seg/HamNet/dataset.py:111
Method_get_item
(self, image_id)
seg/HamNet/dataset.py:129
Method_init_decode_head
Initialize ``decode_head``
seg_light_ham/mmseg/models/segmentors/cascade_encoder_decoder.py:41
Method_init_decode_head
Initialize ``decode_head``
seg_mm/mmseg/models/segmentors/cascade_encoder_decoder.py:41
Method_init_weights
(self, m)
seg_light_ham/van.py:36
Method_init_weights
(self, m)
seg_light_ham/van.py:116
Method_init_weights
(self, m)
seg_light_ham/van.py:158
Method_init_weights
(self, m)
seg_light_ham/van.py:225
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/resnest.py:229
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/cgnet.py:40
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/cgnet.py:145
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/swin.py:359
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/resnet.py:72
Method_inner_forward
(x)
seg_light_ham/mmseg/models/backbones/resnet.py:270
Method_inner_forward
(x)
seg_light_ham/mmseg/models/utils/inverted_residual.py:88
Method_inner_forward
(x)
seg_light_ham/mmseg/models/utils/inverted_residual.py:190
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/resnest.py:229
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/cgnet.py:40
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/cgnet.py:145
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/swin.py:359
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/resnet.py:72
Method_inner_forward
(x)
seg_mm/mmseg/models/backbones/resnet.py:270
Method_inner_forward
(x)
seg_mm/mmseg/models/utils/inverted_residual.py:88
Method_inner_forward
(x)
seg_mm/mmseg/models/utils/inverted_residual.py:190
Function_make_noise
(_)
gan/HamGAN/train_experiment.py:109
Function_process_record
Takes the largest central square and resamples to image_size.
gan/HamGAN/data_provider.py:100
Function_verify_dataset_shape
(ds, z_dim)
gan/HamGAN/train_experiment.py:71
Function_worker_loop
(dataset, index_queue, data_queue, collate_fn, seed, init_fn, worker_id)
seg/HamNet/sync_bn/utils/data/dataloader.py:34
Function_worker_manager_loop
(in_queue, out_queue, done_event, pin_memory, device_id)
seg/HamNet/sync_bn/utils/data/dataloader.py:64
Functionade_classes
ADE20K class names for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:15
Functionade_classes
ADE20K class names for external use.
seg_mm/mmseg/core/evaluation/class_names.py:15
Functionade_palette
ADE20K palette for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:133
Functionade_palette
ADE20K palette for external use.
seg_mm/mmseg/core/evaluation/class_names.py:133
Functionallow_non_square
Decorator: Augments nO for square masks or allows non square masks.
gan/HamGAN/masks.py:8
Functionas_numpy
(obj)
seg/HamNet/sync_bn/utils/th.py:18
Functionas_variable
(obj)
seg/HamNet/sync_bn/utils/th.py:8
Methodaug_test
(self, imgs, img_metas, **kwargs)
seg_light_ham/tools/deploy_test.py:97
Methodaug_test
(self, imgs, img_metas, **kwargs)
seg_light_ham/tools/deploy_test.py:145
Methodaug_test
Test with augmentations. Only rescale=True is supported.
seg_light_ham/mmseg/models/segmentors/encoder_decoder.py:267
Methodaug_test
(self, imgs, img_metas, **kwargs)
seg_mm/tools/deploy_test.py:97
Methodaug_test
(self, imgs, img_metas, **kwargs)
seg_mm/tools/deploy_test.py:145
Methodaug_test
Test with augmentations. Only rescale=True is supported.
seg_mm/mmseg/models/segmentors/encoder_decoder.py:267
Functionavg_grads
Calculate the average gradient for each shared variable across all towers. Note that this function provides a synchronization point across all to
gan/HamGAN/ops.py:533
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
seg_light_ham/mmseg/models/losses/cross_entropy_loss.py:58
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
seg_mm/mmseg/models/losses/cross_entropy_loss.py:58
Functionbuild_head
Build head.
seg_light_ham/mmseg/models/builder.py:28
Functionbuild_head
Build head.
seg_mm/mmseg/models/builder.py:28
Functionbuild_neck
Build neck.
seg_light_ham/mmseg/models/builder.py:23
Functionbuild_neck
Build neck.
seg_mm/mmseg/models/builder.py:23
Functioncal_scores
(hist)
seg/HamNet/sync_bn/metric.py:41
Functioncalculate_uncertainty
Estimate uncertainty based on seg logits. For each location of the prediction ``seg_logits`` we estimate uncertainty as the difference betwee
seg_light_ham/mmseg/models/decode_heads/point_head.py:19
Functioncalculate_uncertainty
Estimate uncertainty based on seg logits. For each location of the prediction ``seg_logits`` we estimate uncertainty as the difference betwee
seg_mm/mmseg/models/decode_heads/point_head.py:19
Functioncd
(x, shape, steps=6)
gan/HamGAN/ham.py:45
Functioncityscapes_classes
Cityscapes class names for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:5
Functioncityscapes_classes
Cityscapes class names for external use.
seg_mm/mmseg/core/evaluation/class_names.py:5
Functioncityscapes_palette
Cityscapes palette for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:124
Functioncityscapes_palette
Cityscapes palette for external use.
seg_mm/mmseg/core/evaluation/class_names.py:124
Methodcls_seg
Classify each pixel.
seg_light_ham/mmseg/models/decode_heads/decode_head.py:224
Methodcls_seg
Classify each pixel.
seg_mm/mmseg/models/decode_heads/decode_head.py:224
Functioncocostuff_classes
CocoStuff class names for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:55
Functioncocostuff_classes
CocoStuff class names for external use.
seg_mm/mmseg/core/evaluation/class_names.py:55
Functioncocostuff_palette
CocoStuff palette for external use.
seg_light_ham/mmseg/core/evaluation/class_names.py:184
Functioncocostuff_palette
CocoStuff palette for external use.
seg_mm/mmseg/core/evaluation/class_names.py:184
Methodcompute_coef
(self, x, bases, coef)
seg_light_ham/mmseg/models/decode_heads/ham_head.py:138
Methodcompute_coef
(self, x, bases, coef)
seg_mm/mmseg/models/decode_heads/ham_head.py:137
Methodcompute_coef
(self, x, bases, _)
seg/HamNet/hamburger/ham.py:155
Methodcompute_coef
(self, x, bases, _)
seg/HamNet/hamburger/ham.py:214
Methodcompute_coef
(self, x, bases, coef)
seg/HamNet/hamburger/ham.py:260
Functioncompute_stride
Decorator: Computes a default value for stride, based on number of nodes.
gan/HamGAN/masks.py:58
Functionconvert_json_to_label
(json_file)
seg_light_ham/tools/convert_datasets/cityscapes.py:9
Functionconvert_json_to_label
(json_file)
seg_mm/tools/convert_datasets/cityscapes.py:9
Functionconvert_mat
(mat_file, in_dir, out_dir)
seg_light_ham/tools/convert_datasets/voc_aug.py:14
Functionconvert_mat
(mat_file, in_dir, out_dir)
seg_mm/tools/convert_datasets/voc_aug.py:14
Functionconvert_to_trainID
(tuple_path, in_img_dir, in_ann_dir, out_img_dir, out_mask_dir, is_train)
seg_light_ham/tools/convert_datasets/coco_stuff10k.py:189
Functionconvert_to_trainID
(maskpath, out_mask_dir, is_train)
seg_light_ham/tools/convert_datasets/coco_stuff164k.py:189
Functionconvert_to_trainID
(tuple_path, in_img_dir, in_ann_dir, out_img_dir, out_mask_dir, is_train)
seg_mm/tools/convert_datasets/coco_stuff10k.py:189
Functionconvert_to_trainID
(maskpath, out_mask_dir, is_train)
seg_mm/tools/convert_datasets/coco_stuff164k.py:189
Functioncross_entropy
The wrapper function for :func:`F.cross_entropy`
seg_light_ham/mmseg/models/losses/cross_entropy_loss.py:10
Functioncross_entropy
The wrapper function for :func:`F.cross_entropy`
seg_mm/mmseg/models/losses/cross_entropy_loss.py:10
Methodcummulative_sizes
(self)
seg/HamNet/sync_bn/utils/data/dataset.py:87
Functiondefault_collate
Puts each data field into a tensor with outer dimension batch size
seg/HamNet/sync_bn/utils/data/dataloader.py:101
← previousnext →1,301–1,400 of 1,928, ranked by callers