MCPcopy Create free account

hub / github.com/LYL1015/JarvisIR / functions

Functions2,809 in github.com/LYL1015/JarvisIR

↓ 2 callersFunctionspatial_average
(in_tens, keepdim=True)
dependences/IQA-PyTorch/pyiqa/archs/stlpips_arch.py:33
↓ 2 callersFunctionspatial_average
(in_tens, keepdim=True)
dependences/IQA-PyTorch/pyiqa/archs/lpips_arch.py:38
↓ 2 callersFunctionssim
(X, Y, win=None, get_ssim_map=False, get_cs=False, get_weight=Fal
dependences/IQA-PyTorch/pyiqa/archs/ssim_arch.py:30
↓ 2 callersFunctionsymm_pad
Symmetric padding same as tensorflow. Ref: https://discuss.pytorch.org/t/symmetric-padding/19866/3
dependences/IQA-PyTorch/pyiqa/matlab_utils/padding.py:30
↓ 2 callersFunctiontensor2img
Convert torch Tensors into image numpy arrays. After clamping to [min, max], values will be normalized to [0, 1]. Args: tensor (Tens
package/agent_tools/Retinexformer/basicsr_retinexformer/utils/img_util.py:36
↓ 2 callersFunctiontf_calculate_resize_scale
(in_size, out_size)
dependences/IQA-PyTorch/pyiqa/archs/interpolate_compat_tensorflow.py:87
↓ 2 callersMethodtile_process
It will first crop input images to tiles, and then process each tile. Finally, all the processed tiles are merged into one images. Mo
package/agent_tools/ESRGAN/realesrgan/utils.py:113
↓ 2 callersFunctiontokenizer_image_token
(prompt, tokenizer, image_token_index=IMAGE_TOKEN_INDEX, return_tensors=None)
dependences/qalign/modeling_mplug_owl2.py:43
↓ 2 callersFunctiontrain_pipeline
(root_path, opt=None, args=None)
dependences/IQA-PyTorch/pyiqa/train.py:111
↓ 2 callersFunctiontrain_pipeline
(root_path)
package/agent_tools/RIDCP/basicsr_ridcp/train.py:107
↓ 2 callersFunctiontransform_mapping
(key, args)
dependences/IQA-PyTorch/pyiqa/data/transforms.py:16
↓ 2 callersFunctiontrunc_normal_
(tensor, mean=0., std=1., a=-2., b=2.)
package/agent_tools/Retinexformer/basicsr_retinexformer/models/archs/RetinexFormer_arch.py:31
↓ 2 callersFunctionturbo_predict
(model, input_image, output_dir, device)
package/agent_tools/img2img_turbo/inference.py:23
↓ 2 callersFunctionupsample
(in_tens, out_HW=(64, 64))
dependences/IQA-PyTorch/pyiqa/archs/stlpips_arch.py:37
↓ 2 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights. Default
dependences/IQA-PyTorch/pyiqa/losses/loss_util.py:25
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
dependences/IQA-PyTorch/pyiqa/archs/maniqa_swin.py:30
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
dependences/IQA-PyTorch/pyiqa/archs/topiq_swin.py:148
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
package/agent_tools/RIDCP/basicsr_ridcp/archs/network_swinir.py:33
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size: window size Returns: local window features (num_windows*B, window_size, window_siz
package/agent_tools/S2Former/UDR_S2Former.py:31
↓ 2 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
dependences/IQA-PyTorch/pyiqa/archs/tres_arch.py:126
↓ 1 callersMethodDN_filters
r'''Define parameters for the divisive normalization
dependences/IQA-PyTorch/pyiqa/archs/nlpd_arch.py:68
↓ 1 callersMethodFog_Degrading
Add fog effect to images imgs: numpy array or torch tensor, shape (B, C, H, W) or (C, H, W), range [0, 1]
degradation_synthesis/fog/fog_simulator.py:130
↓ 1 callersMethodHVIT
(self,x)
package/agent_tools/HVICIDNet/net/CIDNet.py:124
↓ 1 callersMethodLow_Illumination_Degrading
Degrades a batch of low-light images. img: Tensor of shape (B, C, H, W), where B is the batch size.
degradation_synthesis/night/night_simulator.py:46
↓ 1 callersFunctionMy_DiT_test
(**kwargs)
package/agent_tools/IDT/models/transformer2d.py:455
↓ 1 callersMethodPHVIT
(self, img)
package/agent_tools/HVICIDNet/net/HVI_transform.py:49
↓ 1 callersMethod__call__
(self, imgs)
dependences/IQA-PyTorch/pyiqa/data/transforms.py:60
↓ 1 callersMethod__init__
(self, channels: int = 1, test_y_channel: bool = True, colo
dependences/IQA-PyTorch/pyiqa/archs/niqe_arch.py:425
↓ 1 callersMethod__init__
Refer to offical code https://github.com/dingkeyan93/DISTS
dependences/IQA-PyTorch/pyiqa/archs/dists_arch.py:57
↓ 1 callersMethod__init__
(self, model_type='clipiqa', backbone='RN50', pretrained=Tr
dependences/IQA-PyTorch/pyiqa/archs/clipiqa_arch.py:110
↓ 1 callersMethod__init__
(self, patch_size=64, stride=27, pretrained=True, pretrained_model_path=None)
dependences/IQA-PyTorch/pyiqa/archs/pieapp_arch.py:56
↓ 1 callersMethod__init__
(self, crop_border=4, color_space='ycbcr')
dependences/IQA-PyTorch/pyiqa/archs/nrqm_arch.py:467
↓ 1 callersMethod__init__
(self, input_size, xcol="emb", ycol="avg_rating")
dependences/IQA-PyTorch/pyiqa/archs/laion_aes_arch.py:23
↓ 1 callersMethod__init__
(self, embed_dim=768, num_outputs=1, patch_size=8, drop=0.1, depths=[2, 2], window_size=4, di
dependences/IQA-PyTorch/pyiqa/archs/maniqa_arch.py:95
↓ 1 callersMethod__init__
(self, use_bn=True)
dependences/IQA-PyTorch/pyiqa/archs/dbcnn_arch.py:40
↓ 1 callersMethod__init__
(self, backbone='resnet18', pretrained=True, pretrained_model_path=None)
dependences/IQA-PyTorch/pyiqa/archs/paq2piq_arch.py:41
↓ 1 callersMethod__init__
(self, optimizer, milestones, gamma=0.1, restarts=(0, ), restart_weights=(1, ), last_epoch=-1)
dependences/IQA-PyTorch/pyiqa/models/lr_scheduler.py:19
↓ 1 callersMethod__init__
(self, opt, que, qid)
package/agent_tools/ESRGAN/realesrgan/utils.py:294
↓ 1 callersMethod__init__
(self, mixup_beta, use_identity, device)
package/agent_tools/Retinexformer/basicsr_retinexformer/models/image_restoration_model.py:31
↓ 1 callersMethod__init__
(self, scale, num_feat)
package/agent_tools/Retinexformer/basicsr_retinexformer/models/archs/arch_util.py:104
↓ 1 callersMethod__init__
(self)
package/agent_tools/HVICIDNet/wavelet.py:51
↓ 1 callersMethod__init__
Args: name (str): the name of this registry
package/agent_tools/HVICIDNet/loss/vgg_arch.py:33
↓ 1 callersMethod__init__
(self, scale, num_feat)
package/agent_tools/RIDCP/basicsr_ridcp/archs/arch_util.py:102
↓ 1 callersMethod__init__
(self, optimizer, milestones, gamma=0.1, restarts=(0, ), restart_weights=(1, ), last_epoch=-1)
package/agent_tools/RIDCP/basicsr_ridcp/models/lr_scheduler.py:19
↓ 1 callersMethod__init__
Itialize the paired dataset object for loading and transforming paired data samples from specified dataset folders. This con
package/agent_tools/img2img_turbo/src/my_utils/training_utils.py:219
↓ 1 callersMethod__init__
(self, kernel_size=None, base_size=None, auto_pad=True, fast_imp=False, train_size=None)
package/agent_tools/SnowMaster/nafnet_utils.py:80
↓ 1 callersMethod__init__
(self, args, config)
package/agent_tools/LightenDiffusion/models/ddm.py:80
↓ 1 callersMethod__init__
(self, config: LlavaConfig)
src/mrrhf/utils/model/base_model/modeling_llava.py:89
↓ 1 callersMethod__iter__
(self)
dependences/IQA-PyTorch/pyiqa/data/prefetch_dataloader.py:36
↓ 1 callersMethod__iter__
(self)
package/agent_tools/Retinexformer/basicsr_retinexformer/data/prefetch_dataloader.py:36
↓ 1 callersMethod__iter__
(self)
package/agent_tools/RIDCP/basicsr_ridcp/data/prefetch_dataloader.py:36
↓ 1 callersMethod__len__
(self)
package/agent_tools/ESRGAN/realesrgan/data/realesrgan_dataset.py:191
↓ 1 callersFunction_augment
(img)
dependences/IQA-PyTorch/pyiqa/data/transforms.py:347
↓ 1 callersFunction_augment
(img)
package/agent_tools/Retinexformer/basicsr_retinexformer/data/transforms.py:166
↓ 1 callersFunction_augment
(img)
package/agent_tools/RIDCP/utils/utils_image.py:479
↓ 1 callersFunction_augment
(img)
package/agent_tools/RIDCP/basicsr_ridcp/data/transforms.py:124
↓ 1 callersFunction_augment
(img)
package/agent_tools/SCUNet/utils/utils_image.py:476
↓ 1 callersFunction_augment_flow
(flow)
dependences/IQA-PyTorch/pyiqa/data/transforms.py:356
↓ 1 callersFunction_augment_flow
(flow)
package/agent_tools/Retinexformer/basicsr_retinexformer/data/transforms.py:175
↓ 1 callersFunction_augment_flow
(flow)
package/agent_tools/Retinexformer/basicsr_retinexformer/data/util.py:285
↓ 1 callersFunction_augment_flow
(flow)
package/agent_tools/RIDCP/basicsr_ridcp/data/transforms.py:133
↓ 1 callersMethod_bilinearpool
(self, x)
dependences/IQA-PyTorch/pyiqa/archs/unique_arch.py:44
↓ 1 callersFunction_blocking_effect_factor
(im)
package/agent_tools/RIDCP/utils/utils_image.py:697
↓ 1 callersFunction_blocking_effect_factor
(im)
package/agent_tools/SCUNet/utils/utils_image.py:694
↓ 1 callersMethod_build_levels
(self, lodft, log_rad, angle, Xrcos, Yrcos, height)
dependences/IQA-PyTorch/pyiqa/matlab_utils/scfpyr_util.py:111
↓ 1 callersFunction_check_size_scale_factor
(dim)
dependences/IQA-PyTorch/pyiqa/archs/interpolate_compat_tensorflow.py:55
↓ 1 callersMethod_compile
(self, C, op_names, indices, values, concat, reduction, expansion)
package/agent_tools/IDT/models/onego_train_model.py:54
↓ 1 callersMethod_conv_forward
(self, input, weight)
package/agent_tools/S2Former/condconv.py:49
↓ 1 callersMethod_conv_forward
(self, input, weight)
package/agent_tools/S2Former/condconv.py:92
↓ 1 callersMethod_default_preprocess
default preprocessing of CKDN: https://github.com/researchmm/CKDN Useful when using this metric as losses. Results are slightly differ
dependences/IQA-PyTorch/pyiqa/archs/ckdn_arch.py:325
↓ 1 callersMethod_dequeue_and_enqueue
It is the training pair pool for increasing the diversity in a batch. Batch processing limits the diversity of synthetic degradations in a ba
package/agent_tools/ESRGAN/realesrgan/models/realesrnet_model.py:30
↓ 1 callersMethod_dequeue_and_enqueue
It is the training pair pool for increasing the diversity in a batch. Batch processing limits the diversity of synthetic degradations in a ba
package/agent_tools/ESRGAN/realesrgan/models/realesrgan_model.py:30
↓ 1 callersFunction_download
(url: str, root: str)
dependences/IQA-PyTorch/pyiqa/archs/clip_model.py:28
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
dependences/llamaOld/llama_361/modeling_llama_.py:559
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
dependences/qalign/modeling_llama2.py:305
↓ 1 callersFunction_flatten
Yield items from any nested iterable; see Reference.
src/mrrhf/utils/data/DST.py:144
↓ 1 callersFunction_generate_3d_gaussian_kernel
()
package/agent_tools/Retinexformer/basicsr_retinexformer/metrics/psnr_ssim.py:135
↓ 1 callersFunction_get_activation_fn
Return an activation function given a string
dependences/IQA-PyTorch/pyiqa/archs/tres_arch.py:32
↓ 1 callersFunction_get_clones
(module, N)
dependences/IQA-PyTorch/pyiqa/archs/tres_arch.py:43
↓ 1 callersMethod_get_init_lr
Get the initial lr, which is set by the scheduler.
dependences/IQA-PyTorch/pyiqa/models/base_model.py:178
↓ 1 callersMethod_get_init_lr
Get the initial lr, which is set by the scheduler.
package/agent_tools/Retinexformer/basicsr_retinexformer/models/base_model.py:174
↓ 1 callersMethod_get_init_lr
Get the initial lr, which is set by the scheduler.
package/agent_tools/RIDCP/basicsr_ridcp/models/base_model.py:177
↓ 1 callersMethod_get_nonoverlap_patches
test with non overlap patches
dependences/IQA-PyTorch/pyiqa/archs/wadiqam_arch.py:138
↓ 1 callersFunction_get_paths_from_images
get image path list from image folder
package/agent_tools/Retinexformer/basicsr_retinexformer/data/util.py:29
↓ 1 callersFunction_get_paths_from_lmdb
get image path list from lmdb meta info
package/agent_tools/Retinexformer/basicsr_retinexformer/data/util.py:42
↓ 1 callersMethod_get_random_patches
train with random crop patches
dependences/IQA-PyTorch/pyiqa/archs/wadiqam_arch.py:115
↓ 1 callersMethod_get_rel_pos_bias
(self)
dependences/IQA-PyTorch/pyiqa/archs/topiq_swin.py:232
↓ 1 callersMethod_infer_shape
(ctx, input, weight)
package/agent_tools/RIDCP/basicsr_ridcp/ops/dcn/deform_conv.py:179
↓ 1 callersMethod_init_actor
(self, actor_path)
src/mrrhf/rlhf_engine.py:52
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
dependences/IQA-PyTorch/pyiqa/utils/dist_util.py:21
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
package/agent_tools/Retinexformer/basicsr_retinexformer/utils/dist_util.py:21
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
package/agent_tools/RIDCP/basicsr_ridcp/utils/dist_util.py:21
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
dependences/IQA-PyTorch/pyiqa/utils/dist_util.py:28
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
package/agent_tools/Retinexformer/basicsr_retinexformer/utils/dist_util.py:28
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
package/agent_tools/RIDCP/basicsr_ridcp/utils/dist_util.py:28
↓ 1 callersMethod_init_model
Initialize MUNIT model
degradation_synthesis/rainy_syn.py:46
↓ 1 callersMethod_init_rope
(self)
dependences/llamaOld/llama_361/modeling_llama_.py:321
↓ 1 callersMethod_init_rope
(self)
dependences/qalign/modeling_llama2.py:95
↓ 1 callersMethod_initialize_best_metric_results
Initialize the best metric results dict for recording the best metric value and iteration.
package/agent_tools/RIDCP/basicsr_ridcp/models/base_model.py:50
↓ 1 callersMethod_initialize_weights
(self)
dependences/IQA-PyTorch/pyiqa/archs/stlpips_arch.py:564
← previousnext →501–600 of 2,809, ranked by callers