MCPcopy Create free account

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

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

Methodforward
Args: aligned_feat (Tensor): Aligned features with shape (b, t, c, h, w). Returns: Tensor: Features aft
r_basicsr/archs/edvr_arch.py:141
Methodforward
(self, x)
r_basicsr/archs/edvr_arch.py:224
Methodforward
(self, x)
r_basicsr/archs/edvr_arch.py:326
Methodforward
Forward function for BasicVSR++. Args: lqs (tensor): Input low quality (LQ) sequence with shape (n, t, c, h, w)
r_basicsr/archs/basicvsrpp_arch.py:273
Methodforward
(self, x, extra_feat, flow_1, flow_2)
r_basicsr/archs/basicvsrpp_arch.py:382
Methodforward
(self, x)
r_basicsr/archs/ecbsr_arch.py:104
Methodforward
(self, x)
r_basicsr/archs/ecbsr_arch.py:201
Methodforward
(self, x)
r_basicsr/archs/ecbsr_arch.py:267
Methodforward
(self, x)
r_basicsr/archs/srresnet_arch.py:52
Methodforward
Args: x (Tensor): Input tensor with shape (b, num_feat, t, h, w). Returns: Tensor: Output with shape (b
r_basicsr/archs/duf_arch.py:58
Methodforward
Args: x (Tensor): Input tensor with shape (b, num_feat, t, h, w). Returns: Tensor: Output with shape (b
r_basicsr/archs/duf_arch.py:120
Methodforward
Forward function for DynamicUpsamplingFilter. Args: x (Tensor): Input image with 3 channels. The shape is (n, 3, h, w).
r_basicsr/archs/duf_arch.py:156
Methodforward
Args: x (Tensor): Input with shape (b, 7, c, h, w) Returns: Tensor: Output with shape (b, c, h * scale,
r_basicsr/archs/duf_arch.py:246
Methodforward
(self, x)
r_basicsr/archs/hifacegan_arch.py:212
Methodforward
(self, x)
r_basicsr/archs/hifacegan_arch.py:250
Methodforward
Get Inception feature maps. Args: x (Tensor): Input tensor of shape (b, 3, h, w). Values are expected to be i
r_basicsr/archs/inception.py:124
Methodforward
(self, x)
r_basicsr/archs/inception.py:195
Methodforward
(self, x)
r_basicsr/archs/inception.py:220
Methodforward
(self, x)
r_basicsr/archs/inception.py:248
Methodforward
(self, x)
r_basicsr/archs/inception.py:281
Methodforward
(self, x, updated_feat)
r_basicsr/archs/dfdnet_arch.py:45
Methodforward
Now only support testing with batch size = 0. Args: x (Tensor): Input faces with shape (b, c, 512, 512).
r_basicsr/archs/dfdnet_arch.py:133
Methodforward
(self, x)
r_basicsr/archs/rcan_arch.py:22
Methodforward
(self, x)
r_basicsr/archs/rcan_arch.py:44
Methodforward
(self, x)
r_basicsr/archs/rcan_arch.py:66
Methodforward
(self, x)
r_basicsr/archs/rcan_arch.py:124
Methodforward
Args: tensor_input (Tensor): Input tensor with shape (b, 8, h, w). 8 channels contain: [refer
r_basicsr/archs/tof_arch.py:29
Methodforward
Args: ref (Tensor): Reference image with shape of (b, 3, h, w). supp: The supporting image to be warped: (b, 3, h,
r_basicsr/archs/tof_arch.py:66
Methodforward
Args: lrs: Input lr frames: (b, 7, 3, h, w). Returns: Tensor: SR frame: (b, 3, h, w).
r_basicsr/archs/tof_arch.py:137
Methodforward
(self, x)
r_basicsr/archs/srvgg_arch.py:61
Methodforward
Args: pred (Tensor): of shape (N, C, H, W). Predicted tensor. target (Tensor): of shape (N, C, H, W). Ground truth
r_basicsr/losses/basic_loss.py:73
Methodforward
Args: pred (Tensor): of shape (N, C, H, W). Predicted tensor. target (Tensor): of shape (N, C, H, W). Ground truth
r_basicsr/losses/basic_loss.py:107
Methodforward
(self, pred, weight=None)
r_basicsr/losses/basic_loss.py:130
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). gt (Tensor): Ground-truth tensor with s
r_basicsr/losses/basic_loss.py:198
Methodforward
The input is a list of tensors, or a list of (a list of tensors)
r_basicsr/losses/gan_loss.py:124
Methodfuse
(self)
r_facelib/detection/yolov5face/models/yolo.py:149
Functionfused_bias_act
r_basicsr/ops/fused_act/src/fused_bias_act.cpp:14
Methodfuseforward
(self, x)
r_facelib/detection/yolov5face/models/common.py:53
Methodget
(self, filepath)
r_basicsr/utils/file_client.py:14
Methodget
(self, filepath)
r_basicsr/utils/file_client.py:47
Methodget
(self, filepath)
r_basicsr/utils/file_client.py:61
Methodget
Get values according to the filepath from one lmdb named client_key. Args: filepath (str | obj:`Path`): Here, filepath is the
r_basicsr/utils/file_client.py:114
Methodget_current_time
(self)
r_basicsr/utils/logger.py:38
Methodget_current_visuals
(self)
r_basicsr/models/base_model.py:29
Functionget_facemodels
()
nodes.py:87
Methodget_latent
(self, x)
r_chainner/archs/face/stylegan2_clean_arch.py:361
Methodget_latent
(self, x)
r_basicsr/archs/stylegan2_arch.py:504
Methodget_lr
(self)
r_basicsr/models/lr_scheduler.py:27
Methodget_lr
(self)
r_basicsr/models/lr_scheduler.py:86
Functionget_ort_session
()
reactor_utils.py:182
Functionget_restored_face
(cropped_face, face_restore_model, face_restore_visibility,
scripts/r_faceboost/restorer.py:37
Functionget_restorers
()
nodes.py:93
Methodget_text
(self, filepath)
r_basicsr/utils/file_client.py:18
Methodget_text
(self, filepath)
r_basicsr/utils/file_client.py:54
Methodget_text
(self, filepath)
r_basicsr/utils/file_client.py:67
Methodget_text
(self, filepath)
r_basicsr/utils/file_client.py:128
Methodget_text
(self, filepath)
r_basicsr/utils/file_client.py:166
Functionget_valid_bboxes
(bboxes, h, w)
r_facelib/utils/face_utils.py:23
Functiongradient_penalty_loss
Calculate gradient penalty for wgan-gp. Args: discriminator (nn.Module): Network for the discriminator. real_data (Tensor): R
r_basicsr/losses/gan_loss.py:172
Functionimg_rotate
Rotate image. Args: img (ndarray): Image to be rotated. angle (float): Rotation angle in degrees. Positive values mean
r_basicsr/data/transforms.py:161
Functionin_swap
(img, bgr_fake, M)
scripts/r_faceboost/swapper.py:7
Methodinit_func
(m)
r_basicsr/archs/hifacegan_util.py:118
Methodinit_layer
(self)
r_basicsr/archs/hifacegan_util.py:174
Methodinit_training_settings
(self)
r_basicsr/models/video_recurrent_gan_model.py:14
Methodinit_training_settings
(self)
r_basicsr/models/srgan_model.py:15
Methodinit_training_settings
(self)
r_basicsr/models/hifacegan_model.py:21
Methodinit_weights
(self, init_type='normal', gain=0.02)
r_basicsr/archs/hifacegan_util.py:116
Functionis_pytorch_face_model
(model: object)
r_chainner/types.py:10
Functionis_pytorch_model
(model: object)
r_chainner/types.py:17
Functionload_file_from_url
Load file form http url, will download models if necessary. Ref:https://github.com/1adrianb/face-alignment/blob/master/face_alignment/utils.py
r_basicsr/utils/download_util.py:70
Methodload_model
(self, face_model)
nodes.py:464
Functionload_patched_inception_v3
(device='cuda', resize_input=True, normalize_input=False)
r_basicsr/metrics/fid.py:10
Functionload_state_dict
(state_dict)
r_chainner/model_loading.py:9
Functionload_yolo
(model_path: str)
scripts/r_masking/subcore.py:14
FunctionlogForLevel
(self, message, *args, **kwargs)
reactor_utils.py:137
FunctionlogToRoot
(message, *args, **kwargs)
reactor_utils.py:141
Functionlog_sum_exp
Utility function for computing log_sum_exp while determining This will be used to determine unaveraged confidence loss across all examples i
r_facelib/detection/retinaface/retinaface_utils.py:343
Functionmake_crop_region
(w, h, bbox, crop_factor, crop_min_size=None)
scripts/r_masking/core.py:237
Functionmake_lmdb_from_imgs
Make lmdb from images. Contents of lmdb. The file structure is: example.lmdb ├── data.mdb ├── lock.mdb ├── meta_info.txt
r_basicsr/utils/lmdb_util.py:9
Methodmake_noise
Make noise for noise injection.
r_chainner/archs/face/stylegan2_clean_arch.py:350
Methodmake_noise
Make noise for noise injection.
r_basicsr/archs/stylegan2_arch.py:493
Functionmake_sam_mask_segmented
(sam_model, segs, image, detection_hint, dilation, threshold, bbox_expansion, mas
scripts/r_masking/core.py:533
Functionmaster_only
(func)
r_basicsr/utils/dist_util.py:74
Functionmatch
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices co
r_facelib/detection/retinaface/retinaface_utils.py:142
Functionmatrix_iof
return iof of a and b, numpy version for data augenmentation
r_facelib/detection/retinaface/retinaface_utils.py:130
Functionmatrix_iou
return iou of a and b, numpy version for data augenmentation
r_facelib/detection/retinaface/retinaface_utils.py:117
Methodmean_latent
(self, num_latent)
r_chainner/archs/face/stylegan2_clean_arch.py:364
Methodmean_latent
(self, num_latent)
r_basicsr/archs/stylegan2_arch.py:507
Methodmixed_guidance_forward
A helper class for subspace visualization. Input and seg are different images. For the first n levels (including encoder) we use in
r_basicsr/archs/hifacegan_arch.py:96
Functionmodulated_deform_conv_backward
r_basicsr/ops/dcn/src/deform_conv_ext.cpp:127
Functionmodulated_deform_conv_forward
r_basicsr/ops/dcn/src/deform_conv_ext.cpp:107
Methodnext
(self)
r_basicsr/data/prefetch_dataloader.py:74
Functionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes:
r_facelib/detection/retinaface/retinaface_utils.py:357
Methodno_weight_decay
(self)
r_basicsr/archs/swinir_arch.py:869
Methodno_weight_decay_keywords
(self)
r_basicsr/archs/swinir_arch.py:873
Methodnondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
r_basicsr/models/video_base_model.py:113
Methodnondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
r_basicsr/models/realesrnet_model.py:185
Methodnondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
r_basicsr/models/realesrgan_model.py:187
Methodoptimize_parameters
(self, current_iter)
r_basicsr/models/video_recurrent_gan_model.py:101
Methodoptimize_parameters
(self, current_iter)
r_basicsr/models/realesrgan_model.py:193
← previousnext →901–1,000 of 1,050, ranked by callers