MCPcopy Create free account

hub / github.com/cv-benchmarks/pkuseg / functions

Functions75 in github.com/cv-benchmarks/pkuseg

↓ 8 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilation=1, multi_grid=[1])
libs/networks/resnet.py:147
↓ 8 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
libs/networks/resnet.py:183
↓ 6 callersFunctionconv3x3
A 3x3 convolution with padding.
libs/networks/resnet.py:25
↓ 6 callersMethodinit
(log_level=DEFAULT_LOG_LEVEL, log_file=DEFAULT_LOG_FILE, log_format=DEFAULT_LOG_FORM
libs/utils/logger.py:36
↓ 4 callersMethodinfo
(message)
libs/utils/logger.py:116
↓ 3 callersMethod_build_module
(self, net_config, key)
libs/networks/builder.py:37
↓ 3 callersFunctionconv1x1
A 3x3 convolution with padding.
libs/networks/resnet.py:19
↓ 2 callersMethod__init__
(self, block, layers, deep_stem=True, dilation=8, use_mg=True)
libs/networks/resnet.py:104
↓ 2 callersFunctionassure_dir
(dir_path)
libs/utils/utils.py:5
↓ 1 callersMethod__init__
(self, ignore_index=255, reduction='elementwise_mean', aux_weight=0.4, use_weight=False)
libs/utils/loss.py:65
↓ 1 callersMethod__init__
(self, optimizer, power, total_iter, last_iter=-1)
libs/utils/trainer.py:17
↓ 1 callersMethod__init__
(self, in_planes, inner_planes=256, out_planes=512, dilations=(12, 24, 36))
libs/networks/heads.py:21
↓ 1 callersFunctionbuild_dataset
(dst_config)
libs/datasets/builder.py:11
↓ 1 callersMethoddebug
(message)
libs/utils/logger.py:109
↓ 1 callersMethoderror
(message)
libs/utils/logger.py:130
↓ 1 callersMethodfetch_pair
(self, path_pair)
libs/datasets/base.py:40
↓ 1 callersMethodfetch_pair
(self, path_pair)
libs/datasets/base_bak.py:41
↓ 1 callersMethodid2trainId
(self, label, reverse=False)
libs/datasets/cityscapes.py:41
↓ 1 callersFunctionmain
(cfgs)
train.py:69
↓ 1 callersMethodread_list
(self)
libs/datasets/base.py:36
↓ 1 callersMethodread_list
(self)
libs/datasets/base_bak.py:37
↓ 1 callersFunctionresnet50_os8
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:238
↓ 1 callersFunctionsave_states
(save_path, network, optimizer, scheduler)
libs/utils/utils.py:10
↓ 1 callersFunctiontest_FPN
()
libs/networks/decoder.py:75
↓ 1 callersFunctiontest_city_dst
()
libs/datasets/cityscapes.py:52
↓ 1 callersFunctiontrain
(rank, world_size, pth_dir, freq_config, criterion, train_loader, model, optimizer, scheduler)
train.py:34
↓ 1 callersMethodwarn
(message)
libs/utils/logger.py:123
Method__getitem__
(self, idx)
libs/datasets/base.py:22
Method__getitem__
(self, idx)
libs/datasets/base_bak.py:21
Method__init__
(self, ignore_index=255, reduction='elementwise_mean', thresh=0.7, min_kept=100000, use_weig
libs/utils/loss.py:19
Method__init__
(self, dataset, total_iter, batch_size, world_size, rank, last_iter=-1, rand_seed=666)
libs/utils/trainer.py:30
Method__init__
(self, inner_planes=256, out_planes=512, comb='cat', in_planes_list=[256, 512, 1024, 256])
libs/networks/decoder.py:7
Method__init__
(self, net_config, aux_config=None)
libs/networks/builder.py:11
Method__init__
(self, in_planes, out_planes)
libs/networks/heads.py:7
Method__init__
(self, in_planes, planes, stride=1, dilation=1, downsample=None)
libs/networks/resnet.py:34
Method__init__
(self, in_planes, planes, stride=1, dilation=1, downsample=None)
libs/networks/resnet.py:67
Method__init__
(self, list_path, data_root, trans_types, trans_args)
libs/datasets/base.py:7
Method__init__
(self, list_path, data_root, trans_config)
libs/datasets/base_bak.py:7
Method__init__
(self, **kwargs)
libs/datasets/cityscapes.py:12
Method__iter__
(self)
libs/utils/trainer.py:46
Method__len__
(self)
libs/datasets/base.py:19
Method__len__
(self)
libs/datasets/base_bak.py:18
Functionall_reduce
(tensor, op=dist.ReduceOp.SUM, world_size=1)
libs/utils/trainer.py:9
Methodclear_log_file
()
libs/utils/logger.py:95
Methodcritical
(message)
libs/utils/logger.py:137
Methodfetch_pair
(self, path_pair)
libs/datasets/cityscapes.py:31
Methodforward
(self, pred, target)
libs/utils/loss.py:32
Methodforward
(self, preds, target)
libs/utils/loss.py:73
Methodforward
(self, xs)
libs/networks/decoder.py:48
Methodforward
(self, x)
libs/networks/builder.py:48
Methodforward
(self, x)
libs/networks/heads.py:16
Methodforward
(self, x)
libs/networks/heads.py:47
Methodforward
(self, x)
libs/networks/resnet.py:45
Methodforward
(self, x)
libs/networks/resnet.py:80
Methodforward
(self, x)
libs/networks/resnet.py:167
Functiongen_indices
(self)
libs/utils/trainer.py:54
Methodget_lr
(self)
libs/utils/trainer.py:22
Functionload_states
(load_path, network, optimizer, schduler)
libs/utils/utils.py:19
Functionnormalize
(image, label, mean, std, scale=1, use_rgb=False)
libs/datasets/transforms.py:12
Functionpad_border
(image, label, crop_h, crop_w, ignore_index=-1)
libs/datasets/transforms.py:30
Functionrand_crop
(image, label, crop_h, crop_w, ignore_index=-1)
libs/datasets/transforms.py:44
Functionrand_flip
(image, label, flip_prob=0.5)
libs/datasets/transforms.py:55
Functionrand_resize
(image, label, min_scale=0.5, max_scale=2.0)
libs/datasets/transforms.py:20
Methodread_list
(self)
libs/datasets/cityscapes.py:25
Functionresnet101
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:219
Functionresnet101_os16
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:232
Functionresnet101_os8
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:244
Functionresnet18
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:196
Functionresnet34
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:204
Functionresnet50
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:212
Functionresnet50_os16
(pretrained=False, progress=True, **kwargs)
libs/networks/resnet.py:226
Methodset_log_file
(file_path)
libs/utils/logger.py:81
Methodset_log_level
(log_level)
libs/utils/logger.py:86
Methodset_stdout_level
(log_level)
libs/utils/logger.py:100
Functionto_tensor
(image, label)
libs/datasets/transforms.py:62