MCPcopy Create free account

hub / github.com/cchen-cc/SFDA-DPL / functions

Functions215 in github.com/cchen-cc/SFDA-DPL

Method__init__
(self, num_classes, backbone, BatchNorm)
networks/decoder.py:8
Method__init__
Construct a Unet generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- th
networks/models.py:304
Method__init__
Construct a Unet submodule with skip connections. Parameters: outer_nc (int) -- the number of filters in the outer conv layer
networks/models.py:339
Method__init__
Construct a PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int)
networks/models.py:406
Method__init__
(self, )
networks/GAN.py:54
Method__init__
(self, )
networks/GAN.py:87
Method__init__
(self, )
networks/GAN.py:119
Method__init__
(self, )
networks/GAN.py:151
Method__init__
(self, inplanes, planes, kernel_size, padding, dilation, BatchNorm)
networks/aspp.py:8
Method__init__
(self, backbone='resnet', output_stride=16, num_classes=21, sync_bn=True, freeze_bn=False)
networks/deeplabv3_eval.py:11
Method__init__
(self, backbone='resnet', output_stride=16, num_classes=21, sync_bn=True, freeze_bn=False)
networks/deeplabv3.py:11
Method__init__
(self, inplanes, planes, kernel_size=3, stride=1, dilation=1, bias=False, BatchNorm=None)
networks/backbone/xception.py:18
Method__init__
(self, output_stride, BatchNorm, pretrained=True)
networks/backbone/xception.py:98
Method__init__
(self, inp, oup, stride, dilation, expand_ratio, BatchNorm)
networks/backbone/mobilenet.py:26
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=(1, 1), residual=True, BatchNorm
networks/backbone/drn.py:28
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=(1, 1), residual=True, BatchNorm
networks/backbone/drn.py:64
Method__init__
(self, block, layers, BatchNorm=None)
networks/backbone/drn.py:239
Method__init__
(self, inplanes, planes, stride=1, dilation=1, downsample=None, BatchNorm=None)
networks/backbone/resnet.py:9
Method__init__
(self)
networks/sync_batchnorm/comm.py:21
Method__init__
(self, num_features, eps=1e-5, momentum=0.1, affine=True)
networks/sync_batchnorm/batchnorm.py:39
Method__init__
:param base_dir: path to VOC dataset directory :param split: train/val :param transform: transform to apply
dataloaders/fundus_dataloader.py:18
Method__init__
(self, size, padding=0)
dataloaders/custom_transforms.py:154
Method__init__
(self, size)
dataloaders/custom_transforms.py:187
Method__init__
(self, size)
dataloaders/custom_transforms.py:228
Method__init__
(self, size)
dataloaders/custom_transforms.py:247
Method__init__
(self, size)
dataloaders/custom_transforms.py:274
Method__init__
(self, size=512)
dataloaders/custom_transforms.py:317
Method__init__
(self, size)
dataloaders/custom_transforms.py:336
Method__init__
(self, size)
dataloaders/custom_transforms.py:360
Method__init__
(self, size)
dataloaders/custom_transforms.py:377
Method__init__
(self, mean=(0., 0., 0.), std=(1., 1., 1.))
dataloaders/custom_transforms.py:399
Method__init__
(self, width = 5)
dataloaders/custom_transforms.py:416
Method__init__
(self, mean=(0., 0., 0.), std=(1., 1., 1.))
dataloaders/custom_transforms.py:439
Method__init__
(self, mean=(0., 0., 0.))
dataloaders/custom_transforms.py:476
Method__len__
(self)
dataloaders/fundus_dataloader.py:51
Method__setstate__
(self, state)
networks/sync_batchnorm/comm.py:79
Method__str__
(self)
dataloaders/fundus_dataloader.py:85
Method_check_input_dim
(self, input)
networks/sync_batchnorm/batchnorm.py:223
Method_check_input_dim
(self, input)
networks/sync_batchnorm/batchnorm.py:275
Method_data_parallel_master
Reduce the sum and square-sum, compute the statistics, and broadcast it.
networks/sync_batchnorm/batchnorm.py:90
Method_read_img_into_memory
(self)
dataloaders/fundus_dataloader.py:72
Function_upscan
(f)
utils/metrics.py:7
Functionbatchnorm
(inputs, running_mean, running_var)
networks/layers.py:69
Functioncal_gradient_penalty
Calculate the gradient penalty loss, used in WGAN-GP paper https://arxiv.org/abs/1704.00028 Arguments: netD (network) -- dis
networks/models.py:264
Functionconv2d
(inputs, weight, bias, stride=1, padding=1, dilation=1, groups=1, kernel_size=3)
networks/layers.py:41
Functiondeconv2d
(inputs, weight, bias, stride=2, padding=0, dilation=0, groups=1, kernel_size=None)
networks/layers.py:50
Functiondefine_D
Create a discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int) -- the number
networks/models.py:154
Functiondefine_G
Create a generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- the number of channels
networks/models.py:119
Functiondice_coeff
This definition generalize to real valued pred and target vector. This should be differentiable. pred: tensor with first dimension as batch
utils/metrics.py:85
Functiondice_numpy_medpy
(binary_segmentation, binary_gt_label)
utils/metrics.py:50
Functiondraw_boundary
Draw the mask probability for each img and save them to the save path :param prediction: [2, h, w] numpy :param save_path: string including
utils/Utils.py:88
Functiondraw_ent
Draw the entropy information for each img and save them to the save path :param prediction: [2, h, w] numpy :param save_path: string incl
utils/Utils.py:45
Functiondraw_mask
Draw the mask probability for each img and save them to the save path :param prediction: [2, h, w] numpy :param save_path: string including
utils/Utils.py:69
Functiondrn_c_26
(BatchNorm, pretrained=True)
networks/backbone/drn.py:307
Functiondrn_c_42
(BatchNorm, pretrained=True)
networks/backbone/drn.py:317
Functiondrn_c_58
(BatchNorm, pretrained=True)
networks/backbone/drn.py:327
Functiondrn_d_105
(BatchNorm, pretrained=True)
networks/backbone/drn.py:387
Functiondrn_d_22
(BatchNorm, pretrained=True)
networks/backbone/drn.py:337
Functiondrn_d_24
(BatchNorm, pretrained=True)
networks/backbone/drn.py:347
Functiondrn_d_38
(BatchNorm, pretrained=True)
networks/backbone/drn.py:357
Functiondrn_d_40
(BatchNorm, pretrained=True)
networks/backbone/drn.py:367
Functiondrn_d_54
(BatchNorm, pretrained=True)
networks/backbone/drn.py:377
Functiondropout
(inputs)
networks/layers.py:66
Functiondropout2D
(inputs)
networks/layers.py:85
Functionentropy_loss
(p, C=2)
utils/losses.py:6
Methodforward
(self, logits: torch.tensor, target: torch.tensor, **kwargs)
utils/losses.py:16
Methodforward
(self, logits, target, distribution, **kwargs)
utils/losses.py:33
Methodforward
(self, x)
networks/aspp_eval.py:17
Methodforward
(self, x)
networks/aspp_eval.py:68
Methodforward
(self, x, low_level_feat)
networks/decoder.py:44
Methodforward
(self, x)
networks/models.py:14
Methodforward
Standard forward
networks/models.py:328
Methodforward
(self, x)
networks/models.py:396
Methodforward
Standard forward.
networks/models.py:446
Methodforward
(self, x)
networks/GAN.py:44
Methodforward
(self, x)
networks/GAN.py:77
Methodforward
(self, x)
networks/GAN.py:110
Methodforward
(self, x)
networks/GAN.py:142
Methodforward
(self, x)
networks/GAN.py:174
Methodforward
(self, x)
networks/aspp.py:17
Methodforward
(self, x)
networks/aspp.py:68
Methodforward
(self, input)
networks/deeplabv3_eval.py:29
Methodforward
(self, input)
networks/deeplabv3.py:29
Methodforward
(self, x)
networks/backbone/xception.py:26
Methodforward
(self, inp)
networks/backbone/xception.py:80
Methodforward
(self, x)
networks/backbone/xception.py:182
Methodforward
(self, x)
networks/backbone/mobilenet.py:61
Methodforward
(self, x)
networks/backbone/mobilenet.py:118
Methodforward
(self, x)
networks/backbone/drn.py:42
Methodforward
(self, x)
networks/backbone/drn.py:79
Methodforward
(self, x)
networks/backbone/drn.py:208
Methodforward
(self, x)
networks/backbone/drn.py:287
Methodforward
(self, x)
networks/backbone/resnet.py:23
Methodforward
(self, input)
networks/backbone/resnet.py:113
Methodforward
(self, input)
networks/sync_batchnorm/batchnorm.py:48
Methodget_10x_lr_params
(self)
networks/deeplabv3_eval.py:56
Methodget_10x_lr_params
(self)
networks/deeplabv3.py:56
Methodget_1x_lr_params
(self)
networks/deeplabv3_eval.py:46
Methodget_1x_lr_params
(self)
networks/deeplabv3.py:46
Functionget_scheduler
Return a learning rate scheduler Parameters: optimizer -- the optimizer of the network opt (option class) -- stores all
networks/models.py:38
← previousnext →101–200 of 215, ranked by callers