MCPcopy Create free account

hub / github.com/cientgu/Mask_Guided_Portrait_Editing / functions

Functions241 in github.com/cientgu/Mask_Guided_Portrait_Editing

↓ 44 callersMethodforward
(self, label, inst, image, mask_list, label2, mask2)
models/pix2pixHD_mask_model.py:1232
↓ 34 callersMethod__init__
(self, requires_grad=False)
models/networks.py:1433
↓ 23 callersFunctionmake_dataset
(dir)
data/image_folder.py:21
↓ 20 callersMethodload_network
(self, network, network_label, epoch_label, save_dir='')
models/base_model.py:53
↓ 19 callersMethodsave_network
(self, network, network_label, epoch_label, gpu_ids)
models/base_model.py:45
↓ 15 callersMethod__call__
(self, input, target_is_real)
models/networks.py:1012
↓ 11 callersMethodencode_input
(self, label_map, inst_map=None, real_image=None, feat_map=None, image_affine=None, infer=False)
models/pix2pixHD_mask_model.py:196
↓ 11 callersFunctionget_norm_layer
(norm_type='instance')
models/networks.py:22
↓ 8 callersMethodsave
(self, which_epoch)
models/pix2pixHD_mask_model.py:1180
↓ 8 callersMethodsave
(self)
util/html.py:44
↓ 6 callersMethodset_features
(self, idx, feat, cluster_idx)
models/ui_model.py:328
↓ 6 callersMethodsingle_forward
(self, net_input, feat_map)
models/ui_model.py:217
↓ 5 callersMethodadd_images
(self, ims, txts, links, width=512)
util/html.py:32
↓ 4 callersMethodget_edges
(self, t)
models/ui_model.py:110
↓ 3 callersFunctionCreateDataLoader
(opt)
data/data_loader.py:2
↓ 3 callersMethodadd_header
(self, str)
util/html.py:24
↓ 3 callersMethodbackup_current_state
(self)
models/ui_model.py:288
↓ 3 callersFunctioncreate_model
(opt)
models/models.py:5
↓ 3 callersMethodinference
(self, bg_contentimage, label2, mask2_list, image, label, mask_list)
models/pix2pixHD_mask_model.py:556
↓ 3 callersMethodload_data
()
data/base_data_loader.py:10
↓ 3 callersMethodloss_filter
(kl_loss,l2_mask_image,g_gan, g_gan_feat, g_vgg, d_real, d_fake, l2_image, loss_parsing,g2_gan,d2_real,d2_fake
models/pix2pixHD_mask_model.py:40
↓ 3 callersMethodparse
(self, save=True)
options/base_options.py:81
↓ 2 callersMethodappend_region
(self,label,face_label,mask_tensor)
data/aligned_dataset.py:330
↓ 2 callersMethodappend_region
(self,label,face_label,mask_tensor)
data/aligned_dataset_test.py:309
↓ 2 callersMethodappend_region
(self,label,face_label,mask_tensor)
data/aligned_dataset_test_temp.py:313
↓ 2 callersMethodget_target_tensor
(self, input, target_is_real)
models/networks.py:994
↓ 2 callersFunctiongrammatrix
(feature)
models/networks.py:1122
↓ 2 callersFunctionmkdir
(path)
util/util.py:48
↓ 2 callersMethodquery
(self, images)
util/image_pool.py:11
↓ 2 callersMethodsave_images
(self, webpage, visuals, image_path)
util/visualizer.py:146
↓ 2 callersFunctionsoftmax2label
(featuremap)
models/pix2pixHD_mask_model.py:18
↓ 2 callersMethodtoTensor
(self, img, normalize=False)
models/ui_model.py:35
↓ 1 callersFunctionCreateDataset
(opt)
data/custom_dataset_data_loader.py:5
↓ 1 callersFunction__crop
(img, pos, size)
data/base_dataset.py:82
↓ 1 callersFunction__flip
(img, flip)
data/base_dataset.py:90
↓ 1 callersFunction__make_power_2
(img, base, method=Image.BICUBIC)
data/base_dataset.py:66
↓ 1 callersFunction__scale_width
(img, target_width, method=Image.BICUBIC)
data/base_dataset.py:74
↓ 1 callersMethodadd_table
(self, border=1)
util/html.py:28
↓ 1 callersMethodappend_region
(self,label,face_label,mask_tensor)
data/aligned_dataset_train_temp.py:264
↓ 1 callersFunctionbninception
r"""BNInception model architecture from <https://arxiv.org/pdf/1502.03167.pdf>`_ paper.
models/bninception.py:495
↓ 1 callersMethodbuild_conv_block
(self, dim, padding_type, norm_layer, activation, use_dropout)
models/networks.py:1251
↓ 1 callersMethodcopy_features
(self, idx_src, idx_tgt)
models/ui_model.py:333
↓ 1 callersMethoddisplay_current_results
(self, visuals, epoch, step)
util/visualizer.py:39
↓ 1 callersMethodfeatures
(self, input)
models/bninception.py:252
↓ 1 callersMethodforward
(self, X, layers_num=5)
models/networks.py:1455
↓ 1 callersMethodforward_sample_net
(self, label, inst, image, feat, image_affine, infer=False)
models/pix2pixHD_mask_model.py:249
↓ 1 callersMethodforward_vae_net
(self, bg_image, label, inst, image, feat, image_affine, mask_list, ori_label, infer=False)
models/pix2pixHD_mask_model.py:328
↓ 1 callersMethodget_crop_region
(self, idx)
models/ui_model.py:295
↓ 1 callersMethodget_edges
(self, t)
models/pix2pixHD_mask_model.py:1169
↓ 1 callersMethodget_image_dir
(self)
util/html.py:21
↓ 1 callersFunctionget_params
(opt, size)
data/base_dataset.py:19
↓ 1 callersMethodinference_encode
(self, path, image, label, mask_list)
models/pix2pixHD_mask_model.py:889
↓ 1 callersMethodinference_generate
(self, path, image, label, mask_list)
models/pix2pixHD_mask_model.py:991
↓ 1 callersMethodinference_multi_embed
(self, label, inst, image, mask_list, label2, mask2_list)
models/pix2pixHD_mask_model.py:804
↓ 1 callersMethodinference_parsing
(self, label, image)
models/pix2pixHD_mask_model.py:1097
↓ 1 callersMethodinit_loss_filter
(self, use_gan_feat_loss, use_vgg_loss, use_l2_loss)
models/pix2pixHD_mask_model.py:38
↓ 1 callersMethodinitialize
(self, opt)
data/custom_dataset_data_loader.py:18
↓ 1 callersMethodinitialize
(self, opt)
data/aligned_dataset.py:16
↓ 1 callersMethodinitialize
(self)
options/base_options.py:13
↓ 1 callersMethodinitialize
(self, opt)
models/ui_model.py:17
↓ 1 callersFunctionis_image_file
(filename)
data/image_folder.py:17
↓ 1 callersFunctionlabelcolormap
(N)
util/util.py:61
↓ 1 callersMethodload_face_id_model
(self, network, load_path)
models/networks.py:1033
↓ 1 callersMethodlogits
(self, features)
models/bninception.py:484
↓ 1 callersMethodname
(self)
data/custom_dataset_data_loader.py:15
↓ 1 callersMethodname
(self)
data/aligned_dataset.py:364
↓ 1 callersFunctionnormalize
()
data/base_dataset.py:63
↓ 1 callersMethodplot_current_errors
(self, errors, step)
util/visualizer.py:97
↓ 1 callersMethodprint_current_errors
(self, epoch, i, errors, t)
util/visualizer.py:104
↓ 1 callersMethodsave
(self, label)
models/base_model.py:41
↓ 1 callersMethodsingleD_forward
(self, model, input)
models/networks.py:1342
↓ 1 callersFunctiontensor2im
(image_tensor, imtype=np.uint8, normalize=True)
util/util.py:10
↓ 1 callersFunctionuint82bin
returns the binary of integer n, count refers to amount of bits
util/util.py:57
↓ 1 callersMethodupdate_fixed_params
(self)
models/pix2pixHD_mask_model.py:1201
↓ 1 callersMethodupdate_learning_rate
()
models/base_model.py:98
Method__call__
(self, *args, **kwargs)
models/networks.py:266
Method__call__
(self, *args, **kwargs)
models/networks.py:304
Method__call__
(self, *args, **kwargs)
models/networks.py:343
Method__call__
(self, *args, **kwargs)
models/networks.py:371
Method__call__
(self, *args, **kwargs)
models/networks.py:405
Method__call__
(self, *args, **kwargs)
models/networks.py:434
Method__call__
(self, *args, **kwargs)
models/networks.py:470
Method__call__
(self, *args, **kwargs)
models/networks.py:528
Method__call__
(self, *args, **kwargs)
models/networks.py:566
Method__call__
(self, *args, **kwargs)
models/networks.py:607
Method__call__
(self, *args, **kwargs)
models/networks.py:665
Method__call__
(self, *args, **kwargs)
models/networks.py:720
Method__call__
(self, *args, **kwargs)
models/networks.py:763
Method__call__
(self, *args, **kwargs)
models/networks.py:812
Method__call__
(self, *args, **kwargs)
models/networks.py:842
Method__call__
(self, gray_image)
util/util.py:90
Method__getitem__
(self, index)
data/aligned_dataset_train_temp.py:44
Method__getitem__
(self, index)
data/aligned_dataset.py:54
Method__getitem__
(self, index)
data/image_folder.py:54
Method__getitem__
(self, index)
data/aligned_dataset_test.py:56
Method__getitem__
(self, index)
data/aligned_dataset_test_temp.py:56
Method__init__
(self)
data/base_data_loader.py:3
Method__init__
(self)
data/base_dataset.py:10
Method__init__
(self, root, transform=None, return_paths=False, loader=default_loader)
data/image_folder.py:40
Method__init__
(self)
options/base_options.py:9
next →1–100 of 241, ranked by callers