MCPcopy Create free account

hub / github.com/alexhe101/Pan-Mamba / functions

Functions464 in github.com/alexhe101/Pan-Mamba

↓ 2 callersMethodsave_checkpoint
(self,epoch)
pan-sharpening/solver/unisolver.py:313
↓ 2 callersFunctionsave_net_config
(time, log)
pan-sharpening/utils/utils.py:149
↓ 2 callersFunctionsave_yml
(info, cfg_path)
pan-sharpening/utils/config.py:29
↓ 2 callersMethodsplit2d_prior
(self, z)
pan-sharpening/model/modules.py:294
↓ 2 callersFunctionto_3d
(x)
pan-sharpening/model/mamba_module.py:8
↓ 2 callersFunctionto_3d
(x)
pan-sharpening/model/panmamba_baseline_finalversion.py:9
↓ 2 callersFunctionto_3d
(x)
Mamba-block/mamba_module.py:8
↓ 2 callersFunctionto_4d
(x, h, w)
pan-sharpening/model/mamba_module.py:10
↓ 2 callersFunctionto_4d
(x, h, w)
pan-sharpening/model/panmamba_baseline_finalversion.py:66
↓ 2 callersFunctionto_4d
(x, h, w)
Mamba-block/mamba_module.py:10
↓ 2 callersFunctionzoom_bi
Zoom via bilinear interpolation
pan-sharpening/py-tra/methods/CNMF.py:655
↓ 1 callersFunctionCNMF_init
COUPLED NONNEGATIVE MATRIX FACTORIZATION (CNMF) Copyright (c) 2016 Naoto Yokoya Email: yokoya@sal.rcast.u-tokyo.ac.jp Update: 2016/0
pan-sharpening/py-tra/methods/CNMF.py:166
↓ 1 callersFunctionCNMF_ite
COUPLED NONNEGATIVE MATRIX FACTORIZATION (CNMF) Copyright (c) 2016 Naoto Yokoya Email: yokoya@sal.rcast.u-tokyo.ac.jp Update: 2016/0
pan-sharpening/py-tra/methods/CNMF.py:367
↓ 1 callersFunctionD_lambda
Spectral distortion img_fake, generated HRMS img_lm, LRMS
pan-sharpening/utils/loss_util.py:295
↓ 1 callersMethod__init__
(self)
pan-sharpening/utils/SAM_loss.py:18
↓ 1 callersMethod__init__
(self, target_size, **kwargs)
pan-sharpening/py-tra/methods/PanNet.py:63
↓ 1 callersFunction_compute_zero_padding
Computes zero padding.
pan-sharpening/py-tra/utilsmetric.py:755
↓ 1 callersMethod_get_states_from_cache
(self, inference_params, batch_size, initialize_states=False)
Mamba-block/mamba_simple.py:421
↓ 1 callersMethod_get_states_from_cache
(self, inference_params, batch_size, initialize_states=False)
Mamba-block/mamba_simple.py:897
↓ 1 callersFunction_sam
(img1, img2)
pan-sharpening/utils/SAM_loss.py:8
↓ 1 callersMethodallocate_inference_cache
(self, batch_size, max_seqlen, dtype=None, **kwargs)
Mamba-block/mamba_simple.py:408
↓ 1 callersFunctioncal
(ref, noref)
pan-sharpening/py-tra/demo_deep_methods_GPPNN.py:36
↓ 1 callersFunctioncal
(ref, noref)
pan-sharpening/py-tra/no_ref.py:34
↓ 1 callersFunctioncal
(ref, noref)
pan-sharpening/py-tra/demo_deep_methods.py:34
↓ 1 callersFunctioncalculate_dlamda
(pred,lrms)
pan-sharpening/utils/utils.py:131
↓ 1 callersFunctioncc
Correlation coefficient for (N, C, H, W) image; torch.float32 [0.,1.].
pan-sharpening/py-tra/metricsutil.py:29
↓ 1 callersMethodcheck
(self)
pan-sharpening/solver/testsolver.py:61
↓ 1 callersMethodcheck_gpu
(self)
pan-sharpening/solver/solver.py:337
↓ 1 callersMethodcheck_gpu
(self)
pan-sharpening/solver/unisolver.py:281
↓ 1 callersMethodcheck_pretrained
(self)
pan-sharpening/solver/solver.py:359
↓ 1 callersMethodcheck_pretrained
(self)
pan-sharpening/solver/unisolver.py:303
↓ 1 callersFunctioncompute_padding
Computes padding tuple.
pan-sharpening/py-tra/utilsmetric.py:557
↓ 1 callersFunctionconv_block
(inputs, block_name='1')
pan-sharpening/py-tra/methods/PanNet.py:79
↓ 1 callersFunctiondiff_x
(input, r)
pan-sharpening/py-tra/utilsmetric.py:426
↓ 1 callersFunctiondiff_y
(input, r)
pan-sharpening/py-tra/utilsmetric.py:437
↓ 1 callersFunctiondwt_init
(x)
pan-sharpening/model/dwte.py:3
↓ 1 callersFunctionergas
ERGAS for 2D (H, W) or 3D (H, W, C) image; uint or float [0, 1]. scale = spatial resolution of PAN / spatial resolution of MUL, default 4.
pan-sharpening/py-tra/metrics.py:165
↓ 1 callersFunctionergas
ERGAS for (N, C, H, W) image; torch.float32 [0.,1.]. scale = spatial resolution of PAN / spatial resolution of MUL, default 4.
pan-sharpening/py-tra/metricsutil.py:17
↓ 1 callersFunctionestR
Estimation of relative spectral response functions (SRFs) via the nonnegative least squares method USAGE R = estR(HS,MS,mask)
pan-sharpening/py-tra/methods/CNMF.py:773
↓ 1 callersFunctionestimation_alpha
(pan, hs, mode='global')
pan-sharpening/py-tra/methods/GSA.py:17
↓ 1 callersMethodeval
(self)
pan-sharpening/solver/basesolver.py:62
↓ 1 callersMethodeval
(self)
pan-sharpening/solver/unisolver.py:206
↓ 1 callersFunctionfir_filter_wind
compute fir (finite impulse response) filter with window method Hd: desired freqeuncy response (2D) w: window (2D)
pan-sharpening/utils/utils.py:457
↓ 1 callersFunctionfir_filter_wind
compute fir (finite impulse response) filter with window method Hd: desired freqeuncy response (2D) w: window (2D)
pan-sharpening/py-tra/metrics.py:208
↓ 1 callersFunctionfir_filter_wind
compute fir filter with window method Hd: desired freqeuncy response (2D) w: window (2D)
pan-sharpening/py-tra/methods/MTF_GLP_HPM.py:42
↓ 1 callersFunctionfir_filter_wind
compute fir filter with window method Hd: desired freqeuncy response (2D) w: window (2D)
pan-sharpening/py-tra/methods/MTF_GLP.py:42
↓ 1 callersFunctiongaussian
(window_size, sigma)
pan-sharpening/utils/loss_util.py:152
↓ 1 callersFunctiongaussian
(window_size, sigma)
pan-sharpening/py-tra/utilsmetric.py:759
↓ 1 callersFunctiongaussian2d
(N, std)
pan-sharpening/utils/utils.py:440
↓ 1 callersFunctiongaussian2d
(N, std)
pan-sharpening/py-tra/metrics.py:189
↓ 1 callersFunctionget_box_kernel2d
r"""Utility function that returns a box filter.
pan-sharpening/py-tra/utilsmetric.py:638
↓ 1 callersMethodget_config
(self)
pan-sharpening/py-tra/methods/PanNet.py:75
↓ 1 callersFunctionget_eval_data
(cfg, data_dir, upscale_factor)
pan-sharpening/data/data.py:35
↓ 1 callersFunctionget_gaussian_kernel2d
r"""Function that returns Gaussian filter matrix coefficients. Args: kernel_size (Tuple[int, int]): filter sizes in the x and y direction
pan-sharpening/py-tra/utilsmetric.py:800
↓ 1 callersFunctionget_laplacian_kernel2d
r"""Function that returns Gaussian filter matrix coefficients. Args: kernel_size (int): filter size should be odd. Returns:
pan-sharpening/py-tra/utilsmetric.py:996
↓ 1 callersFunctionget_local_weights
Get local weights for generating the artifact map of LDL. It is only called by the `get_refined_artifact_map` function. Args: residu
pan-sharpening/utils/loss_util.py:99
↓ 1 callersFunctionget_patch
(ms_image, lms_image, pan_image, bms_image, patch_size, scale, ix=-1, iy=-1)
pan-sharpening/data/dataset.py:32
↓ 1 callersMethodget_target_label
Get target label. Args: input (Tensor): Input tensor. target_is_real (bool): Whether the target is real or fake.
pan-sharpening/utils/utils.py:577
↓ 1 callersMethodget_weight
(self, input, reverse)
pan-sharpening/model/modules.py:220
↓ 1 callersFunctionguidedFilter
(I, p, r, eps)
pan-sharpening/py-tra/methods/GFPCA.py:34
↓ 1 callersMethodinitialize_parameters
(self, input)
pan-sharpening/model/modules.py:30
↓ 1 callersFunctioniwt_init
(x)
pan-sharpening/model/dwte.py:16
↓ 1 callersFunctionkaiser2d
(N, beta)
pan-sharpening/utils/utils.py:446
↓ 1 callersFunctionkaiser2d
(N, beta)
pan-sharpening/py-tra/utils.py:106
↓ 1 callersFunctionkaiser2d
(N, beta)
pan-sharpening/py-tra/metrics.py:197
↓ 1 callersFunctionkaiser2d
(N, beta)
pan-sharpening/py-tra/methods/MTF_GLP_HPM.py:30
↓ 1 callersFunctionkaiser2d
(N, beta)
pan-sharpening/py-tra/methods/MTF_GLP.py:30
↓ 1 callersFunctionl1_loss
(pred, target)
pan-sharpening/utils/SAM_loss.py:25
↓ 1 callersFunctionlap_loss
(img, gt)
pan-sharpening/py-tra/utilsmetric.py:383
↓ 1 callersMethodlikelihood
lnL = -1/2 * { ln|Var| + ((X - Mu)^T)(Var^-1)(X - Mu) + kln(2*PI) } k = 1 (Independent) Var = logs ** 2
pan-sharpening/model/modules.py:268
↓ 1 callersMethodlogp
(mean, logs, x)
pan-sharpening/model/modules.py:277
↓ 1 callersFunctionlogsumexp_2d
(tensor)
pan-sharpening/py-tra/utilsmetric.py:327
↓ 1 callersFunctionloss_ssim
(img1, img2, window_size = 11, size_average = True)
pan-sharpening/utils/loss_util.py:210
↓ 1 callersFunctionmtf_resize
(img, satellite='QuickBird', scale=4)
pan-sharpening/utils/utils.py:401
↓ 1 callersFunctionmtf_resize
(img, satellite='QuickBird', scale=4)
pan-sharpening/py-tra/metrics.py:237
↓ 1 callersFunctionnls_su
Nonnegative least squares for spectral unmixing This function solves the following optimization min |Y-AX|_F^2 s.t. X>=0
pan-sharpening/py-tra/methods/CNMF.py:742
↓ 1 callersFunctionppf
Percent point function (inverse of cdf) for the normal distribution at p USAGE out = ppf(p,mu,sigma) INPUT p :
pan-sharpening/py-tra/methods/CNMF.py:1034
↓ 1 callersFunctionpsnr
PSNR metric, img uint8 if 225; uint16 if 2047
pan-sharpening/py-tra/metrics.py:28
↓ 1 callersFunctionqindex
Q-index for 2D (H, W) or 3D (H, W, C) image; uint or float [0, 1]
pan-sharpening/py-tra/metrics.py:115
↓ 1 callersFunctionqnr
QNR - No reference IQA
pan-sharpening/utils/utils.py:273
↓ 1 callersFunctionqnr
QNR - No reference IQA
pan-sharpening/py-tra/metrics.py:337
↓ 1 callersFunctionrandom_select_test
(test_num=78)
pan-sharpening/tool/select_test_data.py:11
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are 'none', 'mean' and 'sum'.
pan-sharpening/utils/loss_util.py:6
↓ 1 callersMethodreset_indices
(self)
pan-sharpening/model/modules.py:180
↓ 1 callersFunctionrgb2cmyk
(image_path, save_path)
pan-sharpening/tool/4rgb2cmyk.py:13
↓ 1 callersMethodrun
(self, pan_img, ms_img, pixel)
pan-sharpening/tool/modcrop.py:35
↓ 1 callersFunctionsam
SAM for 3D image, shape (H, W, C); uint or float[0, 1]
pan-sharpening/py-tra/metrics.py:12
↓ 1 callersMethodsave_checkpoint
(self)
pan-sharpening/solver/basesolver.py:53
↓ 1 callersFunctionscc
SCC for 2D (H, W)or 3D (H, W, C) image; uint or float[0, 1]
pan-sharpening/py-tra/metrics.py:40
↓ 1 callersMethodshift
(self, x_real, x_imag)
pan-sharpening/model/refine.py:114
↓ 1 callersMethodshift_feat
(self, x, shiftPixel, g)
pan-sharpening/model/refine.py:181
↓ 1 callersFunctionspatial_shift1
(x)
pan-sharpening/model/spatial_shift.py:54
↓ 1 callersFunctionspatial_shift2
(x)
pan-sharpening/model/spatial_shift.py:67
↓ 1 callersFunctionsqueeze2d
(input, factor=2)
pan-sharpening/model/modules.py:312
↓ 1 callersFunctionssim
SSIM for 2D (H, W) or 3D (H, W, C) image; uint8 if 225; uint16 if 2047
pan-sharpening/py-tra/metrics.py:152
↓ 1 callersFunctionssim
r"""Function that measures the Structural Similarity (SSIM) index between each element in the input `x` and target `y`. See :class:`~kornia.l
pan-sharpening/py-tra/utilsmetric.py:981
↓ 1 callersMethodstep
(self, hidden_states, conv_state, ssm_state)
Mamba-block/mamba_simple.py:837
↓ 1 callersMethodtest
(self)
pan-sharpening/solver/testsolver.py:84
↓ 1 callersMethodto_patch
(self)
pan-sharpening/tool/pre_processing.py:33
↓ 1 callersMethodto_patch
(self)
pan-sharpening/tool/real_pre_processing.py:33
← previousnext →101–200 of 464, ranked by callers