Fast IDR (CVPR 2022): models from a reproduction under the paper's exact protocol, with seismic adaptation
These are the 42 final 50k-step checkpoints from a reproduction of IDR: Self-Supervised Image Denoising via Iterative Data Refinement (Zhang et al., CVPR 2022) and its supervised upper bound. They follow the paper's stated training protocol and include an adaptation to seismic data.
- Code: GitHub
AkshatT2307/dat-repro, branchpaper-protocol, folderrepro/paperproto/. - Results report:
repro/reports/paperproto/REPORT.mdin the same repository.
Training protocol (all runs)
| Setting | Value |
|---|---|
| Network | upstream UNet_n2n_un (zhangyi-3/IDR) |
| Optimisation | batch 4, 256-pixel crops, 50,000 Adam steps, lr 3e-4, halved at 25k and 40k |
| Loss | L1; masked L2 for binomial, impulse and dead-trace noise |
| Fast IDR teacher | refreshed every 12,500 steps |
| Precision | TF32 matmuls (one FP32 control run) |
| Hardware | single RTX 5070 Ti |
Files per run
| File | Contents |
|---|---|
weights.pth |
state_dict of the final model |
config.json |
full training configuration |
training_summary.json |
steps completed and finish time |
*_summary.json |
evaluation results: PSNR/SSIM for images, SNR/SSIM/local similarity for seismic, plus noise-mismatch and Nr2N-corrected evaluations where they exist |
Input conventions
- Image models (3-channel RGB, or 1-channel gray):
- Input is a float image in [0,1].
- For Gaussian noise (
noise: g) subtract 0.5 before the network and add it back afterwards (zero_meanin the config). - Pad height and width to a multiple of 32 (reflect).
- Seismic models (1 channel):
- Input is a (time, trace) section scaled to unit RMS.
- No mean shift.
- Pad to a multiple of 32 (reflect).
nr2nruns: these are the Fast IDR stage-0 network. For Noisier2Noise inference use xΜ = 2Β·f(y+nβ²) β (y+nβ²); seenr2n_correct.py.
import torch
from models.unet import UNet_n2n_un # from the IDR / dat-repro repository
net = UNet_n2n_un(1, 1) # (3, 3) for RGB image models
net.load_state_dict(torch.load("C1_idr_sg_s0/weights.pth", map_location="cpu"))
net.eval()
Runs
Naming: A = images, C = seismic (synthetic corpus), F = field seismic; _s<k> = training seed.
| Run | Method | Noise | Training data | Channels | Seed | Notes |
|---|---|---|---|---|---|---|
A1_idr_g_s0 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | |
A1_idr_g_s0_fp32 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | FP32 control |
A1_idr_g_s1 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 1 | |
A1_idr_g_s2 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 2 | |
A2_sup_g_s0 |
sup | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | |
A2_sup_g_s1 |
sup | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 1 | |
A2_sup_g_s2 |
sup | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 2 | |
A3_nr2n_g_s0 |
nr2n | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | |
A4_n2n_g_s0 |
n2n | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | |
A5_idrfix_g_s0 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 3 | 0 | fixed noise: img |
A6_idr_gray_s0 |
idr | Gaussian Οβ[0,50] | ImageNet val (50k) | 1 | 0 | gray |
A6_sup_gray_s0 |
sup | Gaussian Οβ[0,50] | ImageNet val (50k) | 1 | 0 | gray |
A7_idr_binomial_s0 |
idr | binomial | ImageNet val (50k) | 3 | 0 | |
A7_sup_binomial_s0 |
sup | binomial | ImageNet val (50k) | 3 | 0 | |
A8_idr_impulse_s0 |
idr | impulse | ImageNet val (50k) | 3 | 0 | |
A8_sup_impulse_s0 |
sup | impulse | ImageNet val (50k) | 3 | 0 | |
A9_idr_scn1_s0 |
idr | correlated g1 | ImageNet val (50k) | 3 | 0 | |
A9_idr_scn2_s0 |
idr | correlated g2 | ImageNet val (50k) | 3 | 0 | |
A9_idr_scn3_s0 |
idr | correlated g3 | ImageNet val (50k) | 3 | 0 | |
A9_idr_scn4_s0 |
idr | correlated g4 | ImageNet val (50k) | 3 | 0 | |
C1_idr_sg_s0 |
idr | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C1_idr_sg_s1 |
idr | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 1 | |
C1_idr_sg_s2 |
idr | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 2 | |
C2_sup_sg_s0 |
sup | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C2_sup_sg_s1 |
sup | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 1 | |
C2_sup_sg_s2 |
sup | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 2 | |
C3_nr2n_sg_s0 |
nr2n | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C4_n2n_sg_s0 |
n2n | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C5_idrfix_sg_s0 |
idr | seismic white Gaussian | Marmousi2 + Overthrust + Salt | 1 | 0 | fixed noise: sg_s0 |
C6_idrfix_sb_s0 |
idr | seismic band-limited 5β60 Hz | Marmousi2 + Overthrust + Salt | 1 | 0 | fixed noise: sb_s0 |
C7_idr_sb_s0 |
idr | seismic band-limited 5β60 Hz | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C7_sup_sb_s0 |
sup | seismic band-limited 5β60 Hz | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C8_idr_ss_s0 |
idr | seismic spikes | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C8_sup_ss_s0 |
sup | seismic spikes | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C9_idr_sd_s0 |
idr | seismic dead traces | Marmousi2 + Overthrust + Salt | 1 | 0 | |
C9_sup_sd_s0 |
sup | seismic dead traces | Marmousi2 + Overthrust + Salt | 1 | 0 | |
F1_idrfix_f3_sg |
idr | seismic white Gaussian | F3 Netherlands (field) | 1 | 0 | fixed noise: sg_s0 |
F1_sup_f3_sg_oracle |
sup | seismic white Gaussian | F3 Netherlands (field) | 1 | 0 | |
F2_idr_f3_real |
idr | seismic white Gaussian | F3 Netherlands (field) | 1 | 0 | fixed noise: raw, Ο range [0.02722, 0.08165] |
F3_idrfix_st_sg |
idr | seismic white Gaussian | Stratton 3D (field) | 1 | 0 | fixed noise: sg_s0 |
F3_sup_st_sg_oracle |
sup | seismic white Gaussian | Stratton 3D (field) | 1 | 0 | |
F4_idr_st_real |
idr | seismic white Gaussian | Stratton 3D (field) | 1 | 0 | fixed noise: raw, Ο range [0.0461, 0.13831] |
Method key:
idr: Fast IDR.sup: supervised. TheF*_oracleruns treat the field section as clean.n2n: Noise2Noise.nr2n: Fast IDR stage 0 only.
Data sources
- ImageNet validation set.
- Marmousi2 (SEG wiki).
- SEG/EAGE Overthrust and Salt: convolutional synthetics built from the velocity models.
- F3 Netherlands (Zenodo 3755060).
- Stratton 3D (BEG / SEG open data).
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support