Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DragonisCV/RAM
/ types & classes
Types & classes
149 in github.com/DragonisCV/RAM
⨍
Functions
659
◇
Types & classes
149
↓ 12 callers
Class
LowCostNoiseDataset
ram/data/base/low_cost_dataset.py:68
↓ 11 callers
Class
TransformerBlock
ram/archs/promptir_arch.py:177
↓ 8 callers
Class
TransformerBlock
ram/archs/AdaSAM_RestormerWoskip_arch.py:179
↓ 8 callers
Class
TransformerBlock
ram/archs/restormerRFR_arch.py:173
↓ 6 callers
Class
Upsample
ram/archs/restormerRFR_arch.py:160
↓ 5 callers
Class
Registry
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 callers
Class
DRAdaptation
ram/archs/restormerRFR_arch.py:244
↓ 3 callers
Class
DinoFeatureFusion
ram/archs/restormerRFR_arch.py:211
↓ 3 callers
Class
DinoRestoreFeatureFusion
ram/archs/restormerRFR_arch.py:266
↓ 3 callers
Class
Downsample
ram/archs/AdaSAM_RestormerWoskip_arch.py:155
↓ 3 callers
Class
Downsample
ram/archs/promptir_arch.py:154
↓ 3 callers
Class
Downsample
ram/archs/restormerRFR_arch.py:150
↓ 3 callers
Class
PromptGenBlock
ram/archs/promptir_arch.py:212
↓ 3 callers
Class
SwinIR
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 callers
Class
Upsample
ram/archs/AdaSAM_RestormerWoskip_arch.py:166
↓ 3 callers
Class
Upsample
ram/archs/promptir_arch.py:164
↓ 2 callers
Class
AugmentatorHub
ram/data/utils/online_util.py:115
↓ 2 callers
Class
AvgTimer
ram/utils/logger.py:10
↓ 2 callers
Class
DehazeOTSBETADataset
ram/data/base/dehaze_dataset.py:48
↓ 2 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
ram/archs/AdaSAM_arch.py:13
↓ 2 callers
Class
GoProDataset
ram/data/base/motionblur_dataset.py:7
↓ 2 callers
Class
LayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:64
↓ 2 callers
Class
LayerNorm
ram/archs/promptir_arch.py:60
↓ 2 callers
Class
LayerNorm
ram/archs/restormerRFR_arch.py:56
↓ 2 callers
Class
PatchEmbed
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 callers
Class
PatchUnEmbed
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 callers
Class
Rain100LTrainDataset
ram/data/base/derain_dataset.py:8
↓ 2 callers
Class
fwAdder
ram/data/utils/online_util.py:9
↓ 1 callers
Class
Ada_MACAnalysis
scripts/adaSAM_mac_analysis.py:10
↓ 1 callers
Class
Attention
ram/archs/AdaSAM_RestormerWoskip_arch.py:103
↓ 1 callers
Class
Attention
ram/archs/promptir_arch.py:100
↓ 1 callers
Class
Attention
ram/archs/AdaSAM_arch.py:45
↓ 1 callers
Class
Attention
ram/archs/restormerRFR_arch.py:96
↓ 1 callers
Class
BasicLayer
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 callers
Class
BiasFree_LayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:28
↓ 1 callers
Class
BiasFree_LayerNorm
ram/archs/promptir_arch.py:25
↓ 1 callers
Class
BiasFree_LayerNorm
ram/archs/restormerRFR_arch.py:21
↓ 1 callers
Class
Block
ram/archs/AdaSAM_arch.py:91
↓ 1 callers
Class
BlockMerging
Merge patches into image
ram/utils/diffjpeg.py:324
↓ 1 callers
Class
BlockSplitting
Splitting image into patches
ram/utils/diffjpeg.py:98
↓ 1 callers
Class
BlurAdder
ram/data/utils/online_util.py:15
↓ 1 callers
Class
CDequantize
Dequantize CbCr channel
ram/utils/diffjpeg.py:272
↓ 1 callers
Class
CPUPrefetcher
CPU prefetcher. Args: loader: Dataloader.
ram/data/utils/prefetch_dataloader.py:63
↓ 1 callers
Class
CQuantize
JPEG Quantization for CbCr channels Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:178
↓ 1 callers
Class
CUDAPrefetcher
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 callers
Class
CharbonnierLoss
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 callers
Class
ChromaSubsampling
Chroma subsampling on CbCr channels
ram/utils/diffjpeg.py:73
↓ 1 callers
Class
ChromaUpsampling
Upsample chroma layers
ram/utils/diffjpeg.py:348
↓ 1 callers
Class
CompressJpeg
Full JPEG compression algorithm Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:208
↓ 1 callers
Class
DCT8x8
Discrete Cosine Transformation
ram/utils/diffjpeg.py:121
↓ 1 callers
Class
DeCompressJpeg
Full JPEG decompression algorithm Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:401
↓ 1 callers
Class
DehazeOTSALPHADataset
ram/data/base/dehaze_dataset.py:6
↓ 1 callers
Class
DiffJPEG
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 callers
Class
DinoFeatureModule
ram/utils/dino_feature_extractor.py:9
↓ 1 callers
Class
EnlargedSampler
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 callers
Class
FeedForward
ram/archs/AdaSAM_RestormerWoskip_arch.py:79
↓ 1 callers
Class
FeedForward
ram/archs/promptir_arch.py:76
↓ 1 callers
Class
FeedForward
ram/archs/restormerRFR_arch.py:72
↓ 1 callers
Class
FileClient
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 callers
Class
Hook_back_loop
钩子类,用于捕获前向和后向信息
scripts/analysis_utils.py:85
↓ 1 callers
Class
IGAnalysis
scripts/ig.py:8
↓ 1 callers
Class
JpegAdder
ram/data/utils/online_util.py:90
↓ 1 callers
Class
LOLv1Dataset
ram/data/base/lowlight_dataset.py:8
↓ 1 callers
Class
LOLv2Dataset
ram/data/base/lowlight_dataset.py:51
↓ 1 callers
Class
LowCostDataset
ram/data/base/low_cost_dataset.py:10
↓ 1 callers
Class
MACAnalysis
scripts/mac_analysis.py:7
↓ 1 callers
Class
MessageLogger
Message logger for printing. Args: opt (dict): Config. It contains the following keys: name (str): Exp name. logg
ram/utils/logger.py:45
↓ 1 callers
Class
Mlp
ram/archs/swinir_arch.py:16
↓ 1 callers
Class
Mlp
ram/archs/AdaSAM_arch.py:27
↓ 1 callers
Class
NoiseAdder
ram/data/utils/online_util.py:65
↓ 1 callers
Class
OverlapPatchEmbed
ram/archs/AdaSAM_RestormerWoskip_arch.py:197
↓ 1 callers
Class
OverlapPatchEmbed
ram/archs/promptir_arch.py:196
↓ 1 callers
Class
OverlapPatchEmbed
ram/archs/restormerRFR_arch.py:192
↓ 1 callers
Class
PatchEmbed
ram/archs/AdaSAM_arch.py:121
↓ 1 callers
Class
PrefetchDataLoader
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 callers
Class
PrefetchGenerator
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 callers
Class
PromptIR
ram/archs/promptir_arch.py:238
↓ 1 callers
Class
RGB2YCbCrJpeg
Converts RGB image to YCbCr
ram/utils/diffjpeg.py:49
↓ 1 callers
Class
RSTB
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 callers
Class
Rain13kDataset
ram/data/base/derain_dataset.py:71
↓ 1 callers
Class
RandomAnalysis
scripts/random_analysis.py:9
↓ 1 callers
Class
SwinTransformerBlock
r""" Swin Transformer Block. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resulotion.
ram/archs/swinir_arch.py:165
↓ 1 callers
Class
TemperatureSoftmax
ram/archs/restormerRFR_arch.py:203
↓ 1 callers
Class
Upsample
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 callers
Class
VGGFeatureExtractor
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 callers
Class
WindowAttention
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 callers
Class
WithBias_LayerNorm
ram/archs/AdaSAM_RestormerWoskip_arch.py:45
↓ 1 callers
Class
WithBias_LayerNorm
ram/archs/promptir_arch.py:41
↓ 1 callers
Class
WithBias_LayerNorm
ram/archs/restormerRFR_arch.py:37
↓ 1 callers
Class
YCbCr2RGBJpeg
Converts YCbCr image to RGB JPEG
ram/utils/diffjpeg.py:378
↓ 1 callers
Class
YDequantize
Dequantize Y channel
ram/utils/diffjpeg.py:247
↓ 1 callers
Class
YQuantize
JPEG Quantization for Y channel Args: rounding(function): rounding function to use
ram/utils/diffjpeg.py:148
↓ 1 callers
Class
iDCT8x8
Inverse discrete Cosine Transformation
ram/utils/diffjpeg.py:297
Class
AdaSAM_RestormerWoskip
ram/archs/AdaSAM_RestormerWoskip_arch.py:212
Class
AdaptiveMaskL1Loss
ram/losses/losses.py:117
Class
AdaptiveMaskPixGenerator
Adaptive Mask Generator generate adaptive mask based on semantics
ram/archs/AdaSAM_arch.py:143
Class
AdaptiveMaskProbL1Loss
ram/losses/losses.py:133
Class
BaseAnalysis
scripts/analysis_utils.py:100
Class
BaseDataset
ram/data/base/base_dataset.py:7
Class
BaseModel
Base model.
ram/models/base_model.py:13
next →
1–100 of 149, ranked by callers