MCPcopy Create free account

hub / github.com/GraftingRayman/Comfyui-reactor-node / functions

Functions1,050 in github.com/GraftingRayman/Comfyui-reactor-node

↓ 1 callersFunctionrandom_generate_poisson_noise_pt
(img, scale_range=(0, 1.0), gray_prob=0)
r_basicsr/data/degradations.py:710
↓ 1 callersMethodread_image
img can be image path or cv2 loaded image.
r_facelib/utils/face_restoration_helper.py:114
↓ 1 callersFunctionread_img_worker
Read image worker. Args: path (str): Image path. key (str): Image key. compress_level (int): Compress level when enc
r_basicsr/utils/lmdb_util.py:132
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are 'none', 'mean' and 'sum'
r_basicsr/losses/loss_util.py:6
↓ 1 callersMethodrep_params
(self)
r_basicsr/archs/ecbsr_arch.py:213
↓ 1 callersMethodreset
(self)
r_basicsr/data/prefetch_dataloader.py:123
↓ 1 callersMethodreset_start_time
(self)
r_basicsr/utils/logger.py:68
↓ 1 callersMethodresume_training
Reload the optimizers and schedulers for resumed training. Args: resume_state (dict): Resume state.
r_basicsr/models/base_model.py:340
↓ 1 callersFunctionrgb2ycbcr
Convert a RGB image to YCbCr image. This function produces the same results as Matlab's `rgb2ycbcr` function. It implements the ITU-R BT.6
r_basicsr/utils/color_util.py:5
↓ 1 callersFunctionsave_response_content
(response, destination, file_size=None, chunk_size=32768)
r_basicsr/utils/download_util.py:49
↓ 1 callersFunctionscale_coords_landmarks
(img1_shape, coords, img0_shape, ratio_pad=None)
r_facelib/detection/yolov5face/utils/general.py:249
↓ 1 callersMethodset_epoch
(self, epoch)
r_basicsr/data/data_sampler.py:47
↓ 1 callersFunctionset_random_seed
Set random seeds.
r_basicsr/utils/misc.py:11
↓ 1 callersMethodsetup_optimizers
(self)
r_basicsr/models/video_recurrent_gan_model.py:68
↓ 1 callersMethodsetup_optimizers
(self)
r_basicsr/models/sr_model.py:73
↓ 1 callersMethodsetup_optimizers
(self)
r_basicsr/models/srgan_model.py:74
↓ 1 callersMethodsetup_optimizers
(self)
r_basicsr/models/stylegan2_model.py:88
↓ 1 callersMethodsetup_optimizers
(self)
r_basicsr/models/hifacegan_model.py:63
↓ 1 callersMethodshortcut
(self, x, seg)
r_basicsr/archs/hifacegan_util.py:102
↓ 1 callersFunctionswap_face_many
( source_img: Union[Image.Image, None], target_imgs: List[Image.Image], model: Union[str, None]
scripts/reactor_swapper.py:388
↓ 1 callersMethodswap_feat
swap the features from the dictionary.
r_basicsr/archs/dfdnet_arch.py:105
↓ 1 callersFunctiontensor2rgb
(t: torch.Tensor)
scripts/r_masking/core.py:626
↓ 1 callersMethodtest
(self)
r_basicsr/models/stylegan2_model.py:256
↓ 1 callersMethodtest
(self)
r_basicsr/models/video_recurrent_model.py:176
↓ 1 callersFunctiontest_pipeline
(root_path)
r_basicsr/test.py:11
↓ 1 callersFunctiontforminv
Function: ---------- apply the inverse of affine transform 'trans' to uv Parameters: ---------- @trans: 3x3 n
r_facelib/detection/matlab_cp2tform.py:37
↓ 1 callersFunctiontrain_pipeline
(root_path)
r_basicsr/train.py:91
↓ 1 callersMethodtransform
(self, image, use_origin_size)
r_facelib/detection/retinaface/retinaface.py:184
↓ 1 callersFunctionunload_all_models
()
scripts/reactor_swapper.py:96
↓ 1 callersMethodupdate_learning_rate
Update learning rate. Args: current_iter (int): Current iteration. warmup_iter (int): Warm-up iter numbers. -1 fo
r_basicsr/models/base_model.py:169
↓ 1 callersFunctionupfirdn2d_native
(input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1)
r_basicsr/ops/upfirdn2d/upfirdn2d.py:162
↓ 1 callersFunctionwarp_and_crop_face
Function: ---------- apply affine transform 'trans' to uv Parameters: ---------- @src_img: 3x3 np.array
r_facelib/detection/align_trans.py:145
↓ 1 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights. Def
r_basicsr/losses/loss_util.py:26
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*b, window_size, window_size, c) window_size (int): Window size h (int): Height of image
r_basicsr/archs/swinir_arch.py:78
↓ 1 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
scripts/r_archs/codeformer_arch.py:116
↓ 1 callersFunctionxyxy2xywh
(x)
r_facelib/detection/yolov5face/utils/general.py:22
FunctionDWConv
(c1, c2, k=1, s=1, act=True)
r_facelib/detection/yolov5face/models/common.py:37
MethodINPUT_TYPES
(s)
nodes.py:130
MethodINPUT_TYPES
(s)
nodes.py:389
MethodINPUT_TYPES
(s)
nodes.py:453
MethodINPUT_TYPES
(s)
nodes.py:480
MethodINPUT_TYPES
(s)
nodes.py:611
MethodINPUT_TYPES
(s)
nodes.py:657
MethodINPUT_TYPES
(s)
nodes.py:701
MethodINPUT_TYPES
(s)
nodes.py:1046
MethodINPUT_TYPES
(s)
nodes.py:1067
MethodINPUT_TYPES
(s)
nodes.py:1085
MethodINPUT_TYPES
(s)
nodes.py:1120
MethodINPUT_TYPES
(s)
nodes.py:1156
MethodINPUT_TYPES
(s)
nodes.py:1185
FunctionPYBIND11_MODULE
r_basicsr/ops/fused_act/src/fused_bias_act.cpp:24
FunctionPYBIND11_MODULE
r_basicsr/ops/dcn/src/deform_conv_ext.cpp:150
FunctionPYBIND11_MODULE
r_basicsr/ops/upfirdn2d/src/upfirdn2d.cpp:22
Method__call__
(self, *args)
r_facelib/detection/yolov5face/face_detector.py:140
Method__call__
Format logging message. Args: log_vars (dict): It contains the following keys: epoch (int): Epoch number.
r_basicsr/utils/logger.py:72
Method__contains__
(self, name)
r_basicsr/utils/registry.py:74
Method__getitem__
(self, index)
r_basicsr/data/paired_image_dataset.py:65
Method__getitem__
(self, index)
r_basicsr/data/video_test_dataset.py:101
Method__getitem__
(self, index)
r_basicsr/data/video_test_dataset.py:181
Method__getitem__
(self, index)
r_basicsr/data/video_test_dataset.py:215
Method__getitem__
(self, index)
r_basicsr/data/video_test_dataset.py:271
Method__getitem__
(self, index)
r_basicsr/data/vimeo90k_dataset.py:77
Method__getitem__
(self, index)
r_basicsr/data/vimeo90k_dataset.py:138
Method__getitem__
(self, index)
r_basicsr/data/realesrgan_paired_dataset.py:76
Method__getitem__
(self, index)
r_basicsr/data/ffhq_dataset.py:47
Method__getitem__
(self, index)
r_basicsr/data/single_image_dataset.py:47
Method__getitem__
(self, index)
r_basicsr/data/reds_dataset.py:99
Method__getitem__
(self, index)
r_basicsr/data/reds_dataset.py:298
Method__getitem__
(self, index)
r_basicsr/data/realesrgan_dataset.py:84
Function__getnewargs__
Return self as a plain tuple. Used by copy and pickle.
scripts/r_masking/core.py:143
Method__init__
(self)
nodes.py:158
Method__init__
(self)
nodes.py:412
Method__init__
(self)
nodes.py:476
Method__init__
(self)
nodes.py:607
Method__init__
(self)
nodes.py:682
Method__init__
(self, init_img)
modules/processing.py:12
Method__init__
(self, upscale_factor, face_size=512, crop_ratio=(1, 1),
r_facelib/utils/face_restoration_helper.py:51
Method__init__
(self, in_channels_list, out_channels)
r_facelib/detection/retinaface/retinaface_net.py:68
Method__init__
(self)
r_facelib/detection/retinaface/retinaface_net.py:102
Method__init__
(self, inchannels=512, num_anchors=3)
r_facelib/detection/retinaface/retinaface_net.py:140
Method__init__
(self, inchannels=512, num_anchors=3)
r_facelib/detection/retinaface/retinaface_net.py:154
Method__init__
(self, inchannels=512, num_anchors=3)
r_facelib/detection/retinaface/retinaface_net.py:167
Method__init__
(self, cfg, image_size=None, phase='train')
r_facelib/detection/retinaface/retinaface_utils.py:10
Method__init__
(self, network_name='resnet50', half=False, phase='test')
r_facelib/detection/retinaface/retinaface.py:93
Method__init__
config_name: name of .yaml config with network configuration from models/ folder. min_face : minimal face size in pixels.
r_facelib/detection/yolov5face/face_detector.py:28
Method__init__
(self, nc=80, anchors=(), ch=())
r_facelib/detection/yolov5face/models/yolo.py:33
Method__init__
(self, c1, c2, k=1, s=1, p=None, g=1, act=True)
r_facelib/detection/yolov5face/models/common.py:44
Method__init__
(self, c1, c2, k=3, s=2, p=None, g=1, act=True)
r_facelib/detection/yolov5face/models/common.py:58
Method__init__
(self, c1, c2, shortcut=True, g=1, e=0.5)
r_facelib/detection/yolov5face/models/common.py:76
Method__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
r_facelib/detection/yolov5face/models/common.py:89
Method__init__
(self, inp, oup, stride)
r_facelib/detection/yolov5face/models/common.py:121
Method__init__
(self, c1, c2, k=(5, 9, 13))
r_facelib/detection/yolov5face/models/common.py:175
Method__init__
(self, c1, c2, k=1, s=1, p=None, g=1, act=True)
r_facelib/detection/yolov5face/models/common.py:189
Method__init__
(self, dimension=1)
r_facelib/detection/yolov5face/models/common.py:199
Method__init__
(self, model)
r_facelib/detection/yolov5face/models/common.py:224
Method__init__
(self, imgs, pred, names=None)
r_facelib/detection/yolov5face/models/common.py:277
Method__init__
(self, c1, c2, k=(1, 3), s=1, equal_ch=True)
r_facelib/detection/yolov5face/models/experimental.py:26
Method__init__
(self, channels, normalize_shape=None, norm_type='bn')
r_facelib/parsing/parsenet.py:16
Method__init__
(self, channels, relu_type='relu')
r_facelib/parsing/parsenet.py:54
Method__init__
(self, in_channels, out_channels, kernel_size=3,
r_facelib/parsing/parsenet.py:76
← previousnext →401–500 of 1,050, ranked by callers