MCPcopy Create free account

hub / github.com/DragonisCV/RAM / types & classes

Types & classes149 in github.com/DragonisCV/RAM

↓ 12 callersClassLowCostNoiseDataset
ram/data/base/low_cost_dataset.py:68
↓ 11 callersClassTransformerBlock
ram/archs/promptir_arch.py:177
↓ 8 callersClassTransformerBlock
ram/archs/AdaSAM_RestormerWoskip_arch.py:179
↓ 8 callersClassTransformerBlock
ram/archs/restormerRFR_arch.py:173
↓ 6 callersClassUpsample
ram/archs/restormerRFR_arch.py:160
↓ 5 callersClassRegistry
The registry that provides name -> object mapping, to support third-party users' custom modules. To create a registry (e.g. a backbone r
ram/utils/registry.py:4
↓ 3 callersClassDRAdaptation
ram/archs/restormerRFR_arch.py:244
↓ 3 callersClassDinoFeatureFusion
ram/archs/restormerRFR_arch.py:211
↓ 3 callersClassDinoRestoreFeatureFusion
ram/archs/restormerRFR_arch.py:266
↓ 3 callersClassDownsample
ram/archs/AdaSAM_RestormerWoskip_arch.py:155
↓ 3 callersClassDownsample
ram/archs/promptir_arch.py:154
↓ 3 callersClassDownsample
ram/archs/restormerRFR_arch.py:150
↓ 3 callersClassPromptGenBlock
ram/archs/promptir_arch.py:212
↓ 3 callersClassSwinIR
r""" SwinIR A PyTorch impl of : `SwinIR: Image Restoration Using Swin Transformer`, based on Swin Transformer. Args: img_size (in
ram/archs/swinir_arch.py:656
↓ 3 callersClassUpsample
ram/archs/AdaSAM_RestormerWoskip_arch.py:166
↓ 3 callersClassUpsample
ram/archs/promptir_arch.py:164
↓ 2 callersClassAugmentatorHub
ram/data/utils/online_util.py:115
↓ 2 callersClassAvgTimer
ram/utils/logger.py:10
↓ 2 callersClassDehazeOTSBETADataset
ram/data/base/dehaze_dataset.py:48
↓ 2 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
ram/archs/AdaSAM_arch.py:13
↓ 2 callersClassGoProDataset
ram/data/base/motionblur_dataset.py:7
↓ 2 callersClassLayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:64
↓ 2 callersClassLayerNorm
ram/archs/promptir_arch.py:60
↓ 2 callersClassLayerNorm
ram/archs/restormerRFR_arch.py:56
↓ 2 callersClassPatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ram/archs/swinir_arch.py:529
↓ 2 callersClassPatchUnEmbed
r""" Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ram/archs/swinir_arch.py:576
↓ 2 callersClassRain100LTrainDataset
ram/data/base/derain_dataset.py:8
↓ 2 callersClassfwAdder
ram/data/utils/online_util.py:9
↓ 1 callersClassAda_MACAnalysis
scripts/adaSAM_mac_analysis.py:10
↓ 1 callersClassAttention
ram/archs/AdaSAM_RestormerWoskip_arch.py:103
↓ 1 callersClassAttention
ram/archs/promptir_arch.py:100
↓ 1 callersClassAttention
ram/archs/AdaSAM_arch.py:45
↓ 1 callersClassAttention
ram/archs/restormerRFR_arch.py:96
↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input re
ram/archs/swinir_arch.py:372
↓ 1 callersClassBiasFree_LayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:28
↓ 1 callersClassBiasFree_LayerNorm
ram/archs/promptir_arch.py:25
↓ 1 callersClassBiasFree_LayerNorm
ram/archs/restormerRFR_arch.py:21
↓ 1 callersClassBlock
ram/archs/AdaSAM_arch.py:91
↓ 1 callersClassBlockMerging
Merge patches into image
ram/utils/diffjpeg.py:324
↓ 1 callersClassBlockSplitting
Splitting image into patches
ram/utils/diffjpeg.py:98
↓ 1 callersClassBlurAdder
ram/data/utils/online_util.py:15
↓ 1 callersClassCDequantize
Dequantize CbCr channel
ram/utils/diffjpeg.py:272
↓ 1 callersClassCPUPrefetcher
CPU prefetcher. Args: loader: Dataloader.
ram/data/utils/prefetch_dataloader.py:63
↓ 1 callersClassCQuantize
JPEG Quantization for CbCr channels Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:178
↓ 1 callersClassCUDAPrefetcher
CUDA prefetcher. Ref: https://github.com/NVIDIA/apex/issues/304# It may consums more GPU memory. Args: loader: Dataloader.
ram/data/utils/prefetch_dataloader.py:84
↓ 1 callersClassCharbonnierLoss
Charbonnier loss (one variant of Robust L1Loss, a differentiable variant of L1Loss). Described in "Deep Laplacian Pyramid Networks for Fast a
ram/losses/losses.py:150
↓ 1 callersClassChromaSubsampling
Chroma subsampling on CbCr channels
ram/utils/diffjpeg.py:73
↓ 1 callersClassChromaUpsampling
Upsample chroma layers
ram/utils/diffjpeg.py:348
↓ 1 callersClassCompressJpeg
Full JPEG compression algorithm Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:208
↓ 1 callersClassDCT8x8
Discrete Cosine Transformation
ram/utils/diffjpeg.py:121
↓ 1 callersClassDeCompressJpeg
Full JPEG decompression algorithm Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:401
↓ 1 callersClassDehazeOTSALPHADataset
ram/data/base/dehaze_dataset.py:6
↓ 1 callersClassDiffJPEG
This JPEG algorithm result is slightly different from cv2. DiffJPEG supports batch processing. Args: differentiable(bool): If True, u
ram/utils/diffjpeg.py:449
↓ 1 callersClassDinoFeatureModule
ram/utils/dino_feature_extractor.py:9
↓ 1 callersClassEnlargedSampler
Sampler that restricts data loading to a subset of the dataset. Modified from torch.utils.data.distributed.DistributedSampler Support enlargi
ram/data/utils/data_sampler.py:6
↓ 1 callersClassFeedForward
ram/archs/AdaSAM_RestormerWoskip_arch.py:79
↓ 1 callersClassFeedForward
ram/archs/promptir_arch.py:76
↓ 1 callersClassFeedForward
ram/archs/restormerRFR_arch.py:72
↓ 1 callersClassFileClient
A general file client to access files in different backend. The client loads a file or text in a specified backend from its path and return i
ram/utils/file_client.py:132
↓ 1 callersClassHook_back_loop
钩子类,用于捕获前向和后向信息
scripts/analysis_utils.py:85
↓ 1 callersClassIGAnalysis
scripts/ig.py:8
↓ 1 callersClassJpegAdder
ram/data/utils/online_util.py:90
↓ 1 callersClassLOLv1Dataset
ram/data/base/lowlight_dataset.py:8
↓ 1 callersClassLOLv2Dataset
ram/data/base/lowlight_dataset.py:51
↓ 1 callersClassLowCostDataset
ram/data/base/low_cost_dataset.py:10
↓ 1 callersClassMACAnalysis
scripts/mac_analysis.py:7
↓ 1 callersClassMessageLogger
Message logger for printing. Args: opt (dict): Config. It contains the following keys: name (str): Exp name. logg
ram/utils/logger.py:45
↓ 1 callersClassMlp
ram/archs/swinir_arch.py:16
↓ 1 callersClassMlp
ram/archs/AdaSAM_arch.py:27
↓ 1 callersClassNoiseAdder
ram/data/utils/online_util.py:65
↓ 1 callersClassOverlapPatchEmbed
ram/archs/AdaSAM_RestormerWoskip_arch.py:197
↓ 1 callersClassOverlapPatchEmbed
ram/archs/promptir_arch.py:196
↓ 1 callersClassOverlapPatchEmbed
ram/archs/restormerRFR_arch.py:192
↓ 1 callersClassPatchEmbed
ram/archs/AdaSAM_arch.py:121
↓ 1 callersClassPrefetchDataLoader
Prefetch version of dataloader. Ref: https://github.com/IgorSusmelj/pytorch-styleguide/issues/5# TODO: Need to test on single gpu an
ram/data/utils/prefetch_dataloader.py:40
↓ 1 callersClassPrefetchGenerator
A general prefetch generator. Ref: https://stackoverflow.com/questions/7323664/python-generator-pre-fetch Args: generator: Pytho
ram/data/utils/prefetch_dataloader.py:7
↓ 1 callersClassPromptIR
ram/archs/promptir_arch.py:238
↓ 1 callersClassRGB2YCbCrJpeg
Converts RGB image to YCbCr
ram/utils/diffjpeg.py:49
↓ 1 callersClassRSTB
Residual Swin Transformer Block (RSTB). Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resolutio
ram/archs/swinir_arch.py:443
↓ 1 callersClassRain13kDataset
ram/data/base/derain_dataset.py:71
↓ 1 callersClassRandomAnalysis
scripts/random_analysis.py:9
↓ 1 callersClassSwinTransformerBlock
r""" Swin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
ram/archs/swinir_arch.py:165
↓ 1 callersClassTemperatureSoftmax
ram/archs/restormerRFR_arch.py:203
↓ 1 callersClassUpsample
Upsample module. Args: scale (int): Scale factor. Supported scales: 2^n and 3. num_feat (int): Channel number of intermediate fea
ram/archs/swinir_arch.py:610
↓ 1 callersClassVGGFeatureExtractor
VGG network for feature extraction. In this implementation, we allow users to choose whether use normalization in the input feature and the t
ram/archs/vgg_arch.py:55
↓ 1 callersClassWindowAttention
r""" Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. A
ram/archs/swinir_arch.py:67
↓ 1 callersClassWithBias_LayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:45
↓ 1 callersClassWithBias_LayerNorm
ram/archs/promptir_arch.py:41
↓ 1 callersClassWithBias_LayerNorm
ram/archs/restormerRFR_arch.py:37
↓ 1 callersClassYCbCr2RGBJpeg
Converts YCbCr image to RGB JPEG
ram/utils/diffjpeg.py:378
↓ 1 callersClassYDequantize
Dequantize Y channel
ram/utils/diffjpeg.py:247
↓ 1 callersClassYQuantize
JPEG Quantization for Y channel Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:148
↓ 1 callersClassiDCT8x8
Inverse discrete Cosine Transformation
ram/utils/diffjpeg.py:297
ClassAdaSAM_RestormerWoskip
ram/archs/AdaSAM_RestormerWoskip_arch.py:212
ClassAdaptiveMaskL1Loss
ram/losses/losses.py:117
ClassAdaptiveMaskPixGenerator
Adaptive Mask Generator generate adaptive mask based on semantics
ram/archs/AdaSAM_arch.py:143
ClassAdaptiveMaskProbL1Loss
ram/losses/losses.py:133
ClassBaseAnalysis
scripts/analysis_utils.py:100
ClassBaseDataset
ram/data/base/base_dataset.py:7
ClassBaseModel
Base model.
ram/models/base_model.py:13
next →1–100 of 149, ranked by callers