MCPcopy Create free account

hub / github.com/blandocs/Tag2Pix / functions

Functions206 in github.com/blandocs/Tag2Pix

↓ 8 callersMethod_make_layer
(self, block, planes, blocks, stride=1, inplanes=None)
model/se_resnet.py:98
↓ 7 callersMethod__init__
(self, name)
model/GD_seadain.py:35
↓ 7 callersMethod__init__
(self, name)
model/GD_adain.py:35
↓ 6 callersMethod__init__
(self, input_size, cv_class_num, iv_class_num, input_dim=1, output_dim=3, layers=[12, 8, 5,
network.py:145
↓ 5 callersMethod__init__
(self, channel, reduction=16)
model/GD_cat_all.py:34
↓ 5 callersMethod__init__
(self, channel, reduction=16)
model/GD_cat_conv.py:36
↓ 5 callersFunctionadd_intensity
(img, intensity)
preprocessor/utils/xdog_blend.py:24
↓ 5 callersMethodload
(self, checkpoint_path)
tag2pix.py:369
↓ 4 callersMethod__init__
(self, input_size, cv_class_num, iv_class_num, input_dim=1, output_dim=3, layers=[12, 8, 5,
model/GD_resnext.py:119
↓ 4 callersMethod_make_block
(self, inplanes, planes, block_num)
model/GD_senet.py:111
↓ 4 callersMethod_make_block_1
(self, inplanes, planes)
network.py:351
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
network.py:234
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_seadain.py:248
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_cat_all.py:220
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_cat_conv.py:241
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_adain.py:239
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_resnext.py:187
↓ 4 callersMethod_make_encoder_block
(self, inplanes, planes)
model/GD_senet.py:117
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
model/pretrained.py:102
↓ 4 callersMethodsave
(self, save_epoch)
tag2pix.py:340
↓ 3 callersMethod_make_block_3
(self, inplanes, planes)
network.py:363
↓ 3 callersFunctionchunks
Yield successive n-sized chunks from l.
preprocessor/sketch_extractor.py:39
↓ 3 callersFunctionget_tag_dict
(tag_dump_path)
loader/dataloader.py:35
↓ 3 callersFunctionread_tagline_txt
(tag_txt_path, img_dir_path, iv_dict, cv_dict, data_size=0, is_train=True, seed=-1)
loader/dataloader.py:48
↓ 2 callersMethod__init__
(self, channel, reduction=16)
model/se_resnet.py:7
↓ 2 callersMethod__init__
(self, inplanes)
model/pretrained.py:7
↓ 2 callersFunctionbatch_keras_enhanced
(img_list)
preprocessor/utils/sketch_keras_util.py:97
↓ 2 callersFunctiondownload_waifu2x_caffe
()
preprocessor/crop_and_upscale.py:140
↓ 2 callersFunctionget_dataset
(args)
loader/dataloader.py:432
↓ 2 callersFunctionget_mod
()
preprocessor/utils/sketch_keras_util.py:73
↓ 2 callersFunctionget_xdog_image
(img, sigma=0.4, k=2.5, gamma=0.95, epsilon=-0.5, phi=10**9)
preprocessor/utils/xdog_blend.py:20
↓ 2 callersFunctionmake_square_by_mirror
(img, orig_h, orig_w)
preprocessor/crop_and_upscale.py:19
↓ 2 callersFunctionset_seed
(seed, print_log=True)
loader/dataloader.py:16
↓ 2 callersFunctionto_keras_enhanced
(img)
preprocessor/utils/sketch_keras_util.py:32
↓ 2 callersFunctionupscale_all
(dataset_path, image_base=None, save_path=None)
preprocessor/crop_and_upscale.py:126
↓ 2 callersMethodvisualize_results
(self, epoch, fix=True)
tag2pix.py:309
↓ 1 callersMethod__init__
(self, input_size, cv_class_num, iv_class_num, input_dim=1, output_dim=3, layers=[12, 8, 5,
model/GD_senet.py:39
↓ 1 callersMethod__len__
(self)
loader/dataloader.py:394
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
network.py:242
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_seadain.py:256
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_cat_all.py:228
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_cat_conv.py:249
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_adain.py:247
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_resnext.py:195
↓ 1 callersMethod_make_encoder_block_first
(self, inplanes, planes)
model/GD_senet.py:125
↓ 1 callersMethodapply
(module, name)
model/GD_seadain.py:45
↓ 1 callersMethodapply
(module, name)
model/GD_adain.py:45
↓ 1 callersMethodcompute_weight
(self, module)
model/GD_seadain.py:38
↓ 1 callersMethodcompute_weight
(self, module)
model/GD_adain.py:38
↓ 1 callersFunctioncrop_all
(dataset_path)
preprocessor/crop_and_upscale.py:60
↓ 1 callersFunctiondelete_img
(img_path)
preprocessor/crop_and_upscale.py:56
↓ 1 callersFunctiondetect
(image_path)
preprocessor/face_extractor.py:52
↓ 1 callersFunctiondetect_all
(dataset_path)
preprocessor/face_extractor.py:42
↓ 1 callersFunctiondog
(img, size=(0,0), k=1.6, sigma=0.5, gamma=1)
preprocessor/utils/xdog_blend.py:5
↓ 1 callersFunctiondownload_sketchKeras
()
preprocessor/sketch_extractor.py:23
↓ 1 callersMethodenhance_brightness
(self, input_size)
loader/dataloader.py:199
↓ 1 callersFunctionequal_lr
(module, name='weight')
model/GD_seadain.py:59
↓ 1 callersFunctionequal_lr
(module, name='weight')
model/GD_adain.py:59
↓ 1 callersFunctionget_face_pos
(temp_faces_path)
preprocessor/face_extractor.py:95
↓ 1 callersFunctionget_filtered_tags
(tag_path)
preprocessor/face_extractor.py:25
↓ 1 callersFunctionget_keras_enhanced
(img)
preprocessor/utils/sketch_keras_util.py:79
↓ 1 callersFunctionget_light_map
(img)
preprocessor/utils/sketch_keras_util.py:44
↓ 1 callersFunctionget_light_map_single
(img)
preprocessor/utils/sketch_keras_util.py:12
↓ 1 callersMethodget_test_data
(self, test_data_loader, count)
tag2pix.py:384
↓ 1 callersFunctionget_test_dataset
(args)
loader/dataloader.py:397
↓ 1 callersFunctionget_train_dataset
(args)
loader/dataloader.py:291
↓ 1 callersFunctionjson_filter
(meta)
preprocessor/tagset_extractor.py:55
↓ 1 callersFunctionload_metafile_list
(path, use_2017=False)
preprocessor/tagset_extractor.py:16
↓ 1 callersMethodload_test
(self, checkpoint_path)
tag2pix.py:365
↓ 1 callersFunctionload_weight
(model, pretrained_dict)
model/pretrained.py:159
↓ 1 callersFunctionmain
()
main.py:99
↓ 1 callersFunctionmain_tag_extract
(dataset_path, file_list)
preprocessor/tagset_extractor.py:51
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1, no_bn=False)
network.py:18
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1)
model/GD_seadain.py:17
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1)
model/GD_cat_all.py:16
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1, no_bn=False)
model/GD_cat_conv.py:17
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1)
model/GD_adain.py:17
↓ 1 callersFunctionmake_secat_layer
(block, inplanes, planes, cat_planes, block_count, stride=1)
model/GD_resnext.py:16
↓ 1 callersFunctionmake_tag_dict
(file_list)
preprocessor/tagset_extractor.py:22
↓ 1 callersFunctionmake_xdog
(img)
preprocessor/sketch_extractor.py:17
↓ 1 callersFunctionmerge
(images, size)
utils.py:17
↓ 1 callersFunctionmove_all
(dataset_path)
preprocessor/face_extractor.py:107
↓ 1 callersFunctionnormalize_pic
(img)
preprocessor/utils/sketch_keras_util.py:23
↓ 1 callersFunctionparse_args
()
main.py:14
↓ 1 callersMethodprint_params
(self)
tag2pix.py:451
↓ 1 callersMethodremove_half
(self)
model/pretrained.py:140
↓ 1 callersFunctionresize_img_512_3d
(img)
preprocessor/utils/sketch_keras_util.py:27
↓ 1 callersFunctionrot_crop
return maximum width ratio of rotated image without letterbox
loader/dataloader.py:260
↓ 1 callersMethodsave_tag_tensor_name
iv_tensor, cv_tensor: batched one-hot tag tensors
tag2pix.py:419
↓ 1 callersFunctionse_resnext_half
(dump_path, **kwargs)
model/pretrained.py:165
↓ 1 callersMethodtest
(self)
tag2pix.py:272
↓ 1 callersMethodtrain
(self)
tag2pix.py:133
↓ 1 callersFunctionupdate_tag_dict
(meta_obj)
preprocessor/tagset_extractor.py:25
↓ 1 callersFunctionupscale_lanczos_all
(dataset_path, image_base, save_path)
preprocessor/crop_and_upscale.py:118
↓ 1 callersFunctionupscale_waifu2x_all
(dataset_path, image_base, save_path)
preprocessor/crop_and_upscale.py:109
↓ 1 callersFunctionvalidate_args
(args)
main.py:76
↓ 1 callersFunctionxdog
(img, sigma=0.5, k=1.6, gamma=1, epsilon=1, phi=1)
preprocessor/utils/xdog_blend.py:10
Method__call__
(self, module, input)
model/GD_seadain.py:55
Method__call__
(self, module, input)
model/GD_adain.py:55
Method__call__
(self, img)
loader/dataloader.py:209
next →1–100 of 206, ranked by callers