Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gsunshine/Enjoy-Hamburger
/ functions
Functions
1,928 in github.com/Gsunshine/Enjoy-Hamburger
⨍
Functions
1,928
◇
Types & classes
483
↳
Endpoints
1
Function
disallow_downsampling
Decorator: Raises ValueError when the number of output nodes is less than the number of input nodes.
gan/HamGAN/masks.py:31
Function
disallow_non_square
Decorator: Raises ValueError for non square masks.
gan/HamGAN/masks.py:46
Function
discriminator
Builds the discriminator graph. Args: image: The current batch of images to classify as fake or real. labels: The corresponding label
gan/HamGAN/discriminator.py:84
Function
discriminator
TF-GAN compatible discriminator.
gan/HamGAN/train_experiment.py:312
Method
embedded_gaussian
Embedded gaussian with temperature.
seg_light_ham/mmseg/models/decode_heads/dnl_head.py:22
Method
embedded_gaussian
Embedded gaussian with temperature.
seg_mm/mmseg/models/decode_heads/dnl_head.py:22
Method
encode_decode
(self, img, img_metas)
seg_light_ham/tools/deploy_test.py:63
Method
encode_decode
(self, img, img_metas)
seg_light_ham/tools/deploy_test.py:122
Method
encode_decode
Placeholder for encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_light_ham/mmseg/models/segmentors/base.py:42
Method
encode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_light_ham/mmseg/models/segmentors/cascade_encoder_decoder.py:51
Method
encode_decode
(self, img, img_metas)
seg_mm/tools/deploy_test.py:63
Method
encode_decode
(self, img, img_metas)
seg_mm/tools/deploy_test.py:122
Method
encode_decode
Placeholder for encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_mm/mmseg/models/segmentors/base.py:42
Method
encode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
seg_mm/mmseg/models/segmentors/cascade_encoder_decoder.py:51
Method
enumerate_cells
Abstract method that takes (rows, cols) as input and returns a dict that maps 1d numbers to 2d locations.
gan/HamGAN/space_filling_curves.py:6
Method
enumerate_cells
(self, rows, cols)
gan/HamGAN/space_filling_curves.py:15
Method
evaluate
Evaluate the results. Args: results (list[tuple[torch.Tensor]] | list[str]]): per image pre_eval results or predi
seg_light_ham/mmseg/datasets/dataset_wrappers.py:42
Method
evaluate
Evaluation in Cityscapes/default protocol. Args: results (list): Testing results of the dataset. metric (str | list[s
seg_light_ham/mmseg/datasets/cityscapes.py:130
Method
evaluate
Evaluate the results. Args: results (list[tuple[torch.Tensor]] | list[str]]): per image pre_eval results or predi
seg_mm/mmseg/datasets/dataset_wrappers.py:42
Method
evaluate
Evaluation in Cityscapes/default protocol. Args: results (list): Testing results of the dataset. metric (str | list[s
seg_mm/mmseg/datasets/cityscapes.py:130
Method
extra_repr
Extra repr.
seg_light_ham/mmseg/models/decode_heads/decode_head.py:109
Method
extra_repr
Extra repr.
seg_mm/mmseg/models/decode_heads/decode_head.py:109
Method
extract_feat
(self, imgs)
seg_light_ham/tools/deploy_test.py:60
Method
extract_feat
(self, imgs)
seg_light_ham/tools/deploy_test.py:119
Method
extract_feat
(self, imgs)
seg_mm/tools/deploy_test.py:60
Method
extract_feat
(self, imgs)
seg_mm/tools/deploy_test.py:119
Function
fast_hist
(label_true, label_pred)
seg/HamNet/sync_bn/metric.py:6
Method
format_results
Format the results into dir (standard format for LoveDA evaluation). Args: results (list): Testing results of the dataset.
seg_light_ham/mmseg/datasets/loveda.py:67
Method
format_results
Place holder to format result to dataset specific output.
seg_light_ham/mmseg/datasets/custom.py:238
Method
format_results
format result for every sample of ConcatDataset.
seg_light_ham/mmseg/datasets/dataset_wrappers.py:129
Method
format_results
Format the results into dir (standard format for Cityscapes evaluation). Args: results (list): Testing results of the dat
seg_light_ham/mmseg/datasets/cityscapes.py:95
Method
format_results
Format the results into dir (standard format for LoveDA evaluation). Args: results (list): Testing results of the dataset.
seg_mm/mmseg/datasets/loveda.py:67
Method
format_results
Place holder to format result to dataset specific output.
seg_mm/mmseg/datasets/custom.py:238
Method
format_results
format result for every sample of ConcatDataset.
seg_mm/mmseg/datasets/dataset_wrappers.py:129
Method
format_results
Format the results into dir (standard format for Cityscapes evaluation). Args: results (list): Testing results of the dat
seg_mm/mmseg/datasets/cityscapes.py:95
Method
forward
(self, x, H, W)
seg_light_ham/van.py:51
Method
forward
(self, x)
seg_light_ham/van.py:69
Method
forward
(self, x, H, W)
seg_light_ham/van.py:86
Method
forward
(self, x, H, W)
seg_light_ham/van.py:131
Method
forward
(self, x)
seg_light_ham/van.py:173
Method
forward
(self, x)
seg_light_ham/van.py:279
Method
forward
(self, x, H, W)
seg_light_ham/van.py:289
Method
forward
(self, x)
seg_light_ham/mmseg/ops/encoding.py:58
Method
forward
(self, x)
seg_light_ham/mmseg/ops/wrappers.py:46
Method
forward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
seg_light_ham/mmseg/models/segmentors/base.py:97
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/necks/mla_neck.py:36
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/necks/mla_neck.py:104
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/necks/fpn.py:163
Method
forward
(self, x_low, x_high)
seg_light_ham/mmseg/models/necks/ic_neck.py:63
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/necks/ic_neck.py:138
Method
forward
Forward function.
seg_light_ham/mmseg/models/necks/jpu.py:99
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/necks/multilevel_neck.py:64
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/resnest.py:29
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/resnest.py:118
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/resnest.py:227
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/backbones/stdc.py:96
Method
forward
(self, spatial_inputs, context_inputs)
seg_light_ham/mmseg/models/backbones/stdc.py:179
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/stdc.py:317
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/stdc.py:394
Method
forward
(self, x, hw_shape, identity=None)
seg_light_ham/mmseg/models/backbones/mit.py:81
Method
forward
(self, x, hw_shape, identity=None)
seg_light_ham/mmseg/models/backbones/mit.py:156
Method
forward
(self, x, hw_shape)
seg_light_ham/mmseg/models/backbones/mit.py:278
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/mit.py:419
Method
forward
Forward function.
seg_light_ham/mmseg/models/backbones/unet.py:79
Method
forward
Forward function.
seg_light_ham/mmseg/models/backbones/unet.py:140
Method
forward
Forward function.
seg_light_ham/mmseg/models/backbones/unet.py:214
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/unet.py:404
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:96
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:171
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:288
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:355
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:424
Method
forward
(self, x_d, x_s)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:523
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv2.py:615
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/cgnet.py:38
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/cgnet.py:143
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/cgnet.py:180
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/cgnet.py:335
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/vit.py:93
Method
forward
(self, inputs)
seg_light_ham/mmseg/models/backbones/vit.py:373
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/mobilenet_v3.py:245
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv1.py:77
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv1.py:122
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv1.py:196
Method
forward
(self, x_sp, x_cp)
seg_light_ham/mmseg/models/backbones/bisenetv1.py:254
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/bisenetv1.py:324
Method
forward
Forward function.
seg_light_ham/mmseg/models/backbones/hrnet.py:191
Method
forward
Forward function.
seg_light_ham/mmseg/models/backbones/hrnet.py:596
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/fast_scnn.py:76
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/fast_scnn.py:186
Method
forward
(self, higher_res_feature, lower_res_feature)
seg_light_ham/mmseg/models/backbones/fast_scnn.py:257
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/fast_scnn.py:401
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/icnet.py:133
Method
forward
Args: x (tensor): input features with shape of (num_windows*B, N, C) mask (tensor | None, Optional): mask with shape
seg_light_ham/mmseg/models/backbones/swin.py:81
Method
forward
(self, query, hw_shape)
seg_light_ham/mmseg/models/backbones/swin.py:180
Method
forward
(self, x, hw_shape)
seg_light_ham/mmseg/models/backbones/swin.py:357
Method
forward
(self, x, hw_shape)
seg_light_ham/mmseg/models/backbones/swin.py:454
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/swin.py:738
Method
forward
(self, x)
seg_light_ham/mmseg/models/backbones/timm_backbone.py:61
Method
forward
(self, input)
seg_light_ham/mmseg/models/backbones/erfnet.py:54
← previous
next →
1,401–1,500 of 1,928, ranked by callers