MCPcopy Create free account

hub / github.com/Seung-Hun-Lee/DRANet / functions

Functions117 in github.com/Seung-Hun-Lee/DRANet

↓ 8 callersMethod__init__
(self)
models/DRANet.py:130
↓ 8 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilation=1, new_level=True, residual=True)
models/drn.py:181
↓ 4 callersFunctioncadt
(source, target, style, W=10)
models/cadt.py:27
↓ 4 callersMethodtrain
(self)
trainer.py:527
↓ 3 callersMethod_img_transform
(self, image)
dataloader/Cityscapes.py:126
↓ 3 callersFunctioncheck_integrity
(fpath: str, md5: Optional[str] = None)
dataloader/utils.py:37
↓ 3 callersMethodeval
(self, cv)
trainer.py:438
↓ 3 callersFunctioninit_params
Init layer parameters.
utils.py:37
↓ 3 callersMethodset_train
(self)
trainer.py:231
↓ 3 callersMethodset_zero_grad
(self)
trainer.py:220
↓ 3 callersFunctionslice_patches
(imgs, hight_slice=2, width_slice=4)
utils.py:137
↓ 2 callersFunctionMIOU
(GT, Pred, num_class=19)
miou.py:4
↓ 2 callersMethod__init__
(self, block, layers, num_cls=19, channels=(16, 32, 64, 128, 256, 512, 512, 512),
models/drn.py:113
↓ 2 callersMethod_mask_transform
(self, gt_image)
dataloader/Cityscapes.py:142
↓ 2 callersMethod_train_sync_transform
:param image: PIL input image :param gt_image: PIL input gt_image :return:
dataloader/Cityscapes.py:98
↓ 2 callersMethod_val_sync_transform
(self, img, mask)
dataloader/Cityscapes.py:117
↓ 2 callersFunctionconv3x3
(in_planes, out_planes, stride=1, padding=1, dilation=1)
models/drn.py:29
↓ 2 callersFunctiondecode_labels
Decode batch of segmentation masks. Args: mask: result of inference after taking argmax. num_images: number of images to decode from
dataloader/Cityscapes.py:153
↓ 2 callersFunctionformat_time
(seconds)
utils.py:104
↓ 2 callersFunctiongen_bar_updater
()
dataloader/utils.py:13
↓ 2 callersFunctionget_args
()
args.py:16
↓ 2 callersFunctiongram
(x)
models/cadt.py:5
↓ 2 callersFunctionimshow
(img)
dataloader/MNIST_M.py:50
↓ 2 callersFunctionprogress_bar
(current, total, msg=None)
utils.py:60
↓ 2 callersFunctionsafe_load_state_dict
Copies parameters and buffers from :attr:`state_dict` into this module and its descendants. Any params in :attr:`state_dict` that do not match
models/utils.py:10
↓ 2 callersMethodsave_networks
(self)
trainer.py:116
↓ 2 callersMethodset_default
(self)
trainer.py:97
↓ 2 callersMethodset_eval
(self)
trainer.py:242
↓ 2 callersMethodset_networks
(self)
trainer.py:146
↓ 1 callersMethod_check_input_dim
(self, input)
models/batchinstancenorm.py:43
↓ 1 callersFunction_get_confirm_token
(response: "requests.models.Response")
dataloader/utils.py:188
↓ 1 callersFunction_get_redirect_url
(url: str, max_hops: int = 10)
dataloader/utils.py:45
↓ 1 callersFunction_is_gzip
(filename: str)
dataloader/utils.py:226
↓ 1 callersFunction_is_tar
(filename: str)
dataloader/utils.py:214
↓ 1 callersFunction_is_targz
(filename: str)
dataloader/utils.py:218
↓ 1 callersFunction_is_tarxz
(filename: str)
dataloader/utils.py:210
↓ 1 callersFunction_is_tgz
(filename: str)
dataloader/utils.py:222
↓ 1 callersFunction_is_zip
(filename: str)
dataloader/utils.py:230
↓ 1 callersFunction_quota_exceeded
(response: "requests.models.Response")
dataloader/utils.py:140
↓ 1 callersFunction_save_response_content
( response: "requests.models.Response", destination: str, chunk_size: int = 32768, # type: ignore[name-de
dataloader/utils.py:196
↓ 1 callersFunctioncadt_gram
(gram, con_sim)
models/cadt.py:43
↓ 1 callersFunctioncalculate_md5
(fpath: str, chunk_size: int = 1024 * 1024)
dataloader/utils.py:25
↓ 1 callersFunctioncheck_dirs
(dirs)
args.py:6
↓ 1 callersFunctioncheck_md5
(fpath: str, md5: str, **kwargs: Any)
dataloader/utils.py:33
↓ 1 callersMethodconsistency
(self, contents, styles, contents_converted, styles_converted, converts)
loss_functions.py:96
↓ 1 callersMethodcontent_perceptual
(self, perceptual, perceptual_converted)
loss_functions.py:81
↓ 1 callersMethoddis
(self, real, fake)
loss_functions.py:55
↓ 1 callersFunctiondownload_url
Download a file from a url and place it in root. Args: url (str): URL to download file from root (str): Directory to place downloa
dataloader/utils.py:59
↓ 1 callersFunctiondrn26
(pretrained=True, finetune=True, out_map=True, **kwargs)
models/drn.py:254
↓ 1 callersFunctionextract_archive
(from_path: str, to_path: Optional[str] = None, remove_finished: bool = False)
dataloader/utils.py:234
↓ 1 callersMethodgen
(self, fake)
loss_functions.py:71
↓ 1 callersMethodget_batch
(self, batch_data_iter)
trainer.py:246
↓ 1 callersFunctionget_dataset
(dataset, batch, imsize, workers)
dataset.py:10
↓ 1 callersMethodid2trainId
(self, label, reverse=False, ignore_label=-1)
dataloader/Cityscapes.py:78
↓ 1 callersFunctioniterable_to_str
(iterable: Iterable)
dataloader/utils.py:282
↓ 1 callersMethodload_networks
(self, step)
trainer.py:131
↓ 1 callersFunctionloss_weights
You must set these hyperparameters to apply our method to other datasets. These hyperparameters may not be the optimal value for your
loss_functions.py:5
↓ 1 callersMethodprint_loss
(self)
trainer.py:506
↓ 1 callersMethodrecon
(self, imgs, recon_imgs)
loss_functions.py:49
↓ 1 callersFunctionset_converts
train_converts: converts for image-to-image translation training test_converts: converts for domain adaptation test tensorboard_converts:
trainer.py:19
↓ 1 callersMethodset_optimizers
(self)
trainer.py:192
↓ 1 callersMethodstyle_perceptual
(self, style_gram, style_gram_converted)
loss_functions.py:88
↓ 1 callersMethodtask
(self, pred, gt)
loss_functions.py:104
↓ 1 callersMethodtensor_board_log
(self, imgs, labels)
trainer.py:377
↓ 1 callersMethodtest
(self)
trainer.py:567
↓ 1 callersMethodtrain_dis
(self, imgs)
trainer.py:256
↓ 1 callersMethodtrain_esg
(self, imgs)
trainer.py:330
↓ 1 callersMethodtrain_task
(self, imgs, labels)
trainer.py:291
FunctionMIOU_score
(GT, Pred, num_class=19)
miou.py:13
Method__getitem__
(self, item)
dataloader/Cityscapes.py:84
Method__getitem__
(self, idx)
dataloader/MNIST_M.py:30
Method__getitem__
(self, item)
dataloader/GTA5.py:48
Method__init__
(self, args)
trainer.py:62
Method__init__
(self, args)
loss_functions.py:45
Method__init__
(self, list_path='./data_list/Cityscapes', split='train', c
dataloader/Cityscapes.py:44
Method__init__
(self, root, train, transform=None)
dataloader/MNIST_M.py:13
Method__init__
(self, list_path='./data_list/GTA5', split='train', crop_si
dataloader/GTA5.py:17
Method__init__
(self, in_channels, filters=64, kernel_size=3, stride=1, padding=1)
models/DRANet.py:15
Method__init__
(self, channels=3)
models/DRANet.py:39
Method__init__
(self, imsize, converts, ch=64, down_scale=2)
models/DRANet.py:58
Method__init__
(self, channels=512)
models/DRANet.py:88
Method__init__
(self, channels=3, num_classes=10)
models/DRANet.py:104
Method__init__
(self, channels=3)
models/DRANet.py:169
Method__init__
(self, channels=3)
models/DRANet.py:194
Method__init__
(self, channels=3)
models/DRANet.py:225
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=(1, 1), residual=True)
models/drn.py:37
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=(1, 1), residual=True)
models/drn.py:73
Method__init__
(self, num_features, eps=1e-5, momentum=0.1, affine=True)
models/batchinstancenorm.py:8
Method__len__
(self)
dataloader/Cityscapes.py:149
Method__len__
(self)
dataloader/MNIST_M.py:27
Method_check_input_dim
(self, input)
models/batchinstancenorm.py:49
Method_check_input_dim
(self, input)
models/batchinstancenorm.py:55
Functionbar_update
(count, block_size, total_size)
dataloader/utils.py:16
Functiondecorator
(cls)
models/utils.py:5
Functiondownload_and_extract_archive
( url: str, download_root: str, extract_root: Optional[str] = None, filename: Optional[str] =
dataloader/utils.py:261
Functiondownload_file_from_google_drive
Download a Google Drive file from and place it in root. Args: file_id (str): id of file to be downloaded root (str): Directory to
dataloader/utils.py:146
Functiondrn42
(pretrained=False, finetune=False, out_map=True, **kwargs)
models/drn.py:269
Functiondrn58
(pretrained=False, **kwargs)
models/drn.py:277
Methodforward
(self, x)
models/DRANet.py:32
Methodforward
(self, x)
models/DRANet.py:52
next →1–100 of 117, ranked by callers