MCPcopy Create free account

hub / github.com/SLDGroup/EMCAD / functions

Functions190 in github.com/SLDGroup/EMCAD

↓ 13 callersMethodresize
(self, img, gt)
utils/dataloader.py:114
↓ 11 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
lib/pvtv2.py:13
↓ 6 callersMethod__init__
(self, in_channels, out_channels=None, ratio=16, activation='relu')
lib/decoders.py:256
↓ 6 callersFunctionact_layer
(act, inplace=False, neg_slope=0.2, n_prelu=1)
lib/decoders.py:48
↓ 5 callersFunctionstructure_loss
(pred, mask, w=1)
train_polyp.py:20
↓ 4 callersFunctionMSCBLayer
create a series of multi-scale convolution blocks.
lib/decoders.py:178
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
lib/resnet.py:141
↓ 4 callersFunction_pad
(x, crop_size)
utils/misc.py:155
↓ 3 callersMethod__init__
(self, optimizer, curr_iter, max_iter, lr_decay)
utils/misc.py:101
↓ 3 callersFunctionget_loader
(image_root, gt_root, batchsize, trainsize, shuffle=False, num_workers=4, pin_memory=True, augmentation=False,
utils/dataloader_polyp.py:97
↓ 3 callersMethodstep
(self)
utils/misc.py:110
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000,deep_base=False,stem_width=32)
lib/resnet.py:105
↓ 2 callersMethod_pad
(self, img, mask)
utils/joint_transforms.py:163
↓ 2 callersMethod_pad
(self, img, mask)
utils/joint_transforms.py:208
↓ 2 callersFunctionchannel_shuffle
(x, groups)
lib/decoders.py:67
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
lib/resnet.py:26
↓ 2 callersFunctionhorizontal_flip
(image)
utils/utils.py:276
↓ 2 callersMethodupdate
(self, val, n=1)
utils/utils.py:61
↓ 2 callersFunctionvertical_flip
(image)
utils/utils.py:280
↓ 1 callersMethod__init__
(self, num=40)
utils/utils.py:50
↓ 1 callersMethod_dice_loss
(self, score, target)
utils/utils.py:115
↓ 1 callersFunction_fast_hist
(label_pred, label_true, num_classes)
utils/misc.py:60
↓ 1 callersMethod_one_hot_encoder
(self, input_tensor)
utils/utils.py:107
↓ 1 callersFunctionadjust_lr
(optimizer, init_lr, epoch, decay_rate=0.1, decay_epoch=30)
utils/utils.py:44
↓ 1 callersMethodbinary_loader
(self, path)
utils/dataloader.py:89
↓ 1 callersMethodbinary_loader
(self, path)
utils/dataloader.py:170
↓ 1 callersFunctioncal_params_flops
(model, size, logger)
utils/utils.py:300
↓ 1 callersFunctioncalculate_dice_percase
(pred, gt)
utils/utils.py:154
↓ 1 callersFunctioncalculate_metric_percase
(pred, gt)
utils/utils.py:140
↓ 1 callersFunctionclip_gradient
For calibrating misalignment gradient via cliping gradient technique :param optimizer: :param grad_clip: :return:
utils/utils.py:32
↓ 1 callersFunctiondice_coefficient
(predicted, labels)
train_polyp.py:32
↓ 1 callersFunctiondice_coefficient
(predicted, labels)
test_polyp.py:16
↓ 1 callersMethodfilter_files
(self)
utils/dataloader.py:71
↓ 1 callersMethodfilter_files
(self)
utils/dataloader_polyp.py:49
↓ 1 callersMethodforward_features
(self, x)
lib/pvtv2.py:313
↓ 1 callersFunctiongcd
(a, b)
lib/decoders.py:10
↓ 1 callersFunctionget_binary_metrics
(pred, gt)
test_polyp.py:36
↓ 1 callersFunctioninference
(args, model, test_save_path=None)
test_synapse.py:69
↓ 1 callersFunctioninference
(args, model, best_performance)
trainer.py:22
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:99
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:156
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:210
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:243
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:277
↓ 1 callersMethodinit_weights
(self, scheme='')
lib/decoders.py:304
↓ 1 callersFunctioniou
(predicted, labels)
train_polyp.py:42
↓ 1 callersFunctioniou
(predicted, labels)
test_polyp.py:26
↓ 1 callersFunctionpowerset
Returns all the subsets of this set. This is a generator.
utils/utils.py:20
↓ 1 callersFunctionrandom_rot_flip
(image, label)
utils/dataset_ACDC.py:13
↓ 1 callersFunctionrandom_rot_flip
(image, label)
utils/dataset_synapse.py:12
↓ 1 callersFunctionrandom_rotate
(image, label)
utils/dataset_ACDC.py:23
↓ 1 callersFunctionrandom_rotate
(image, label)
utils/dataset_synapse.py:22
↓ 1 callersMethodreset
(self)
utils/misc.py:87
↓ 1 callersMethodreset
(self)
utils/utils.py:54
↓ 1 callersFunctionresnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/resnet.py:227
↓ 1 callersFunctionresnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/resnet.py:239
↓ 1 callersFunctionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/resnet.py:182
↓ 1 callersFunctionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/resnet.py:194
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/resnet.py:214
↓ 1 callersMethodrgb_loader
(self, path)
utils/dataloader.py:84
↓ 1 callersMethodrgb_loader
(self, path)
utils/dataloader.py:165
↓ 1 callersMethodshow
(self)
utils/utils.py:68
↓ 1 callersFunctiontest
(model, path, dataset, opt)
train_polyp.py:52
↓ 1 callersFunctiontest
(model, path, dataset, opt, save_base=None)
test_polyp.py:56
↓ 1 callersFunctiontest_single_volume
(image, label, net, classes, patch_size=[256, 256], test_save_path=None, case=None, z_spacing=1, class_names=N
utils/utils.py:165
↓ 1 callersFunctiontif2png
Usage: formatting `tif/tiff` files to `jpg/png` files :param _src_path: :param _dst_path: :return:
utils/format_conversion.py:8
↓ 1 callersFunctiontrain
(train_loader, model, optimizer, epoch, opt, model_name)
train_polyp.py:107
↓ 1 callersFunctionval_single_volume
(image, label, net, classes, patch_size=[256, 256], test_save_path=None, case=None, z_spacing=1)
utils/utils.py:239
FunctionCalParams
Usage: Calculate Params and FLOPs via [THOP](https://github.com/Lyken17/pytorch-OpCounter) Necessarity: from thop import
utils/utils.py:71
Method__call__
(self, sample)
utils/dataset_ACDC.py:34
Method__call__
(self, sample)
utils/dataset_synapse.py:33
Method__call__
(self, img)
utils/transforms.py:10
Method__call__
(self, tensor)
utils/transforms.py:21
Method__call__
(self, img)
utils/transforms.py:28
Method__call__
(self, img)
utils/transforms.py:37
Method__call__
(self, img)
utils/transforms.py:42
Method__call__
(self, img)
utils/transforms.py:48
Method__call__
(self, img, mask)
utils/joint_transforms.py:13
Method__call__
(self, img, mask)
utils/joint_transforms.py:28
Method__call__
(self, img, mask)
utils/joint_transforms.py:53
Method__call__
(self, img, mask)
utils/joint_transforms.py:63
Method__call__
(self, img, mask)
utils/joint_transforms.py:73
Method__call__
(self, img, mask)
utils/joint_transforms.py:82
Method__call__
(self, img, mask)
utils/joint_transforms.py:101
Method__call__
(self, img, mask)
utils/joint_transforms.py:135
Method__call__
(self, img, mask)
utils/joint_transforms.py:146
Method__call__
(self, img, mask)
utils/joint_transforms.py:171
Method__call__
(self, img, mask)
utils/joint_transforms.py:216
Method__getitem__
(self, idx)
utils/dataset_ACDC.py:61
Method__getitem__
(self, idx)
utils/dataset_synapse.py:61
Method__getitem__
(self, index)
utils/dataloader.py:54
Method__getitem__
(self, index)
utils/dataloader_polyp.py:57
Method__init__
(self, output_size)
utils/dataset_ACDC.py:31
Method__init__
(self, base_dir, list_dir, split, transform=None)
utils/dataset_ACDC.py:52
Method__init__
(self, output_size)
utils/dataset_synapse.py:30
Method__init__
(self, base_dir, list_dir, split, nclass=9, transform=None)
utils/dataset_synapse.py:51
Method__init__
(self, weight=None, size_average=True, ignore_index=255)
utils/misc.py:42
Method__init__
(self, gamma=2, weight=None, size_average=True, ignore_index=255)
utils/misc.py:51
Method__init__
(self)
utils/misc.py:84
Method__init__
(self, regular_filter, cuda=True)
utils/misc.py:117
next →1–100 of 190, ranked by callers