MCPcopy Create free account

hub / github.com/NVIDIA/FastPhotoStyle / functions

Functions42 in github.com/NVIDIA/FastPhotoStyle

↓ 8 callersFunctionweight_assign
(lua, pth, maps)
converter.py:11
↓ 4 callersMethod__feature_wct
(self, cont_feat, styl_feat, cont_seg, styl_seg)
photo_wct.py:70
↓ 4 callersFunctionmemory_limit_image_resize
(cont_img)
process_stylization.py:40
↓ 4 callersMethodprocess
(self, seg)
process_stylization.py:21
↓ 4 callersFunctionsmooth_filter
:param initImg: intermediate output. Either image path or PIL Image :param contentImg: content image output. Either path or PIL Image :re
smooth_filter.py:380
↓ 4 callersMethodtransform
(self, cont_img, styl_img, cont_seg, styl_seg)
photo_wct.py:25
↓ 2 callersMethod__replication_padding
(self, arr,pad)
photo_smooth.py:89
↓ 2 callersMethod__wct_core
(self, cont_feat, styl_feat)
photo_wct.py:122
↓ 2 callersFunctionoverlay
(img, pred_color, blend_factor=0.4)
process_stylization_ade20k_ssn.py:20
↓ 2 callersMethodprocess
(self, initImg, contentImg)
photo_gif.py:22
↓ 2 callersFunctionsegment_this_img
(f)
demo_with_ade20k_ssn.py:83
↓ 2 callersMethodself_remapping
(self, seg)
process_stylization_ade20k_ssn.py:94
↓ 2 callersFunctionvisualize_result
(label_map)
process_stylization_ade20k_ssn.py:34
↓ 1 callersMethod__compute_label_info
(self, cont_seg, styl_seg)
photo_wct.py:56
↓ 1 callersMethod__compute_laplacian
(self, img, eps=10**(-7), win_rad=1)
photo_smooth.py:68
↓ 1 callersMethod__init__
(self, level)
models.py:9
↓ 1 callersMethod__rolling_block
(self, A, block=(3, 3))
photo_smooth.py:96
↓ 1 callersMethodcross_remapping
(self, cont_seg, styl_seg)
process_stylization_ade20k_ssn.py:48
↓ 1 callersFunctiondownload_file_from_google_drive
(id, destination)
download_models.py:4
↓ 1 callersMethodforward_multiple
(self, x)
models.py:131
↓ 1 callersFunctionget_confirm_token
(response)
download_models.py:18
↓ 1 callersFunctionphoto_wct_loader
(p_wct)
converter.py:17
↓ 1 callersMethodprocess_opencv
:param initImg: intermediate output. Either image path or PIL Image :param contentImg: content image output. Either path or PIL Image
photo_gif.py:25
↓ 1 callersFunctionsave_response_content
(response, destination)
download_models.py:25
↓ 1 callersFunctionsmooth_local_affine
(output_cpu, input_cpu, epsilon, patch, h, w, f_r, f_e)
smooth_filter.py:332
Method__enter__
(self)
process_stylization.py:33
Method__exit__
(self, exc_type, exc_value, exc_tb)
process_stylization.py:36
Method__init__
(self, r, eps)
photo_gif.py:17
Method__init__
(self, beta=0.9999)
photo_smooth.py:16
Method__init__
(self)
photo_wct.py:14
Method__init__
(self, level)
models.py:191
Method__init__
(self)
process_stylization.py:18
Method__init__
(self, msg)
process_stylization.py:29
Method__init__
(self, mapping_name, min_ratio=0.02)
process_stylization_ade20k_ssn.py:44
Methodforward
(self, *input)
photo_gif.py:14
Methodforward
(self, *input)
photo_wct.py:170
Methodforward
(self, x)
models.py:76
Methodforward
(self, x, pool1_idx=None, pool1_size=None, pool2_idx=None, pool2_size=None, pool3_idx=None, po
models.py:251
Methodis_cuda
(self)
photo_wct.py:167
Methodprocess
(self, initImg, contentImg)
photo_smooth.py:20
Functionstylization
(stylization_module, smoothing_module, content_image_path, style_image_path, content_seg_path, style_seg_path,
process_stylization.py:60
Functionstylization
(stylization_module, smoothing_module, content_image_path, style_image_path, content_seg_path,
process_stylization_ade20k_ssn.py:124