DifIISR
[CVPR 2025] Official implementation for "Diffusion Model with Gradient Guidance for Infrared Image Super-Resolution".
File Explorer
- degradations.py
- realesrgan_dataset.py
- transforms.py
- __init__.py
- diffjpeg.py
- dist_util.py
- download_util.py
- file_client.py
- img_process_util.py
- img_util.py
- logger.py
- misc.py
- registry.py
- __init__.py
- DifIISR_test.yaml
- DifIISR_train.yaml
- realsr_swinunet_realesrgan256.yaml
- __init__.py
- datasets.py
- 00950.png
- 01670.png
- 01673.png
- 01828.png
- 01963.png
- 01977.png
- 02033.png
- 02090.png
- 02119.png
- 03836.png
- 00950x4.png
- 01670x4.png
- 01673x4.png
- 01828x4.png
- 01963x4.png
- 01977x4.png
- 02033x4.png
- 02090x4.png
- 02119x4.png
- 03836x4.png
- network.png
- Overview.png
- autoencoder.py
- __init__.py
- model.py
- model_back.py
- openaimodel.py
- upscaling.py
- util.py
- __init__.py
- distributions.py
- __init__.py
- modules.py
- quantize.py
- attention.py
- ema.py
- quantize.py
- util.py
- basic_ops.py
- fp16_util.py
- gaussian_diffusion_test.py
- gaussian_diffusion_train.py
- losses.py
- resample.py
- respace.py
- script_util.py
- swin_transformer.py
- unet.py
- __init__.py
- util_common.py
- util_image.py
- util_net.py
- util_sisr.py
- evaluate.py
- inference.py
- LICENSE
- loss.py
- main.py
- README.md
- requirements.txt
- sampler.py
- trainer.py
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
