bemc22 commited on
Commit
c4d15b6
·
0 Parent(s):

Initial release

Browse files
.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ library_name: pytorch
4
+ tags:
5
+ - image-denoising
6
+ - self-supervised-learning
7
+ - deepinv
8
+ - arxiv:2603.25869
9
+ ---
10
+
11
+ # Learning to Recorrupt (L2R)
12
+
13
+ **Noise distribution agnostic self-supervised image denoising.**
14
+
15
+ Brayan Monroy · Jorge Bacca · Julian Tachella
16
+
17
+ [Paper](https://arxiv.org/abs/2603.25869) · [Code](https://github.com/bemc22/learning2recorrupt) · [Weights](https://huggingface.co/bemc22/learning2recorrupt/tree/main)
18
+
19
+ L2R jointly learns a denoiser and a monotonic recorruptor using noisy images alone.
20
+
21
+ ### Weights
22
+
23
+ Eight RGB DRUNet checkpoints cover log-gamma, Laplace, correlated Gaussian,
24
+ Poisson–Gaussian, and Poisson noise. [manifest.json](manifest.json) contains their
25
+ settings and SHA-256 hashes. [mfcn_init.pth](mfcn_init.pth) initializes the monotonic
26
+ network as a Gaussian identity map.
27
+
28
+ ### Use
29
+
30
+ From the code repository, with dependencies installed and test caches available:
31
+
32
+ ```bash
33
+ hf download bemc22/learning2recorrupt --local-dir pretrained
34
+ python test.py --checkpoint-dir pretrained
35
+ ```
36
+
37
+ ### Citation
38
+
39
+ ```bibtex
40
+ @article{monroy2026learning,
41
+ title={Learning to Recorrupt: Noise Distribution Agnostic Self-Supervised Image Denoising},
42
+ author={Monroy, Brayan and Bacca, Jorge and Tachella, Juli{\'a}n},
43
+ journal={arXiv preprint arXiv:2603.25869},
44
+ year={2026}
45
+ }
46
+ ```
l2r-correlated-gaussian-sigma0p1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:897aae3095b4f6618798debee9717ef99bdcef1cad755c027c2eb1589a712c2f
3
+ size 8200694
l2r-correlated-gaussian-sigma0p2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50107e09bb5f766d28741cd65d4d5175bcd3b6bd80d2fc7958c05c1e54cde5ec
3
+ size 8201119
l2r-laplace-b0p05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89bf955f87e28ec5b6ddc32c3da5fd789dc457279b3d867528c5eda79871e8cc
3
+ size 8200454
l2r-laplace-b0p1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f58e786fcf9a48620ea1c9a8149602e9a28e3d598d80d6dfdbb7d835b355a7ad
3
+ size 8199986
l2r-loggamma-ell0p1-sigma0p1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07e5087dd4ba7a5e068c5dcc6c2f526c366e6d38b7babe59a617737fd6868b9f
3
+ size 8200490
l2r-loggamma-ell1-sigma0p1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f83b46ec207b1708295c576eb8bdffc78502b7fc4c665c50888754a6ce25a1c
3
+ size 8200490
l2r-poisson-gain0p1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9397771de440a8aa7f75c3aba367f5716369eb3d71c392a70548b74bdcf3e69f
3
+ size 8199986
l2r-poisson-gaussian-gain0p05-sigma0p05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c34fb1cc0f3a65789599632bcded93d71ef7821e9e128de5802f69eac2577ffd
3
+ size 8200070
manifest.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": 1,
3
+ "method": "L2R",
4
+ "default_protocol": {
5
+ "mc": 5,
6
+ "seed": 0,
7
+ "batch_size": 10,
8
+ "tau": 0.5,
9
+ "precision": "FP32",
10
+ "output": "raw, no clipping"
11
+ },
12
+ "scenarios": [
13
+ {
14
+ "id": "fisher_l1_sigma0p1",
15
+ "description": "Log-gamma ell=1, sigma=0.1",
16
+ "noise_parameters": {
17
+ "ell": 1.0,
18
+ "sigma": 0.1
19
+ },
20
+ "checkpoint": "l2r-loggamma-ell1-sigma0p1.pth",
21
+ "checkpoint_sha256": "9f83b46ec207b1708295c576eb8bdffc78502b7fc4c665c50888754a6ce25a1c",
22
+ "recorruptor_mode": "monotonic",
23
+ "conditioning_sigma": 0.1,
24
+ "tau": 0.5,
25
+ "observation_origin": "copied historical cached noisy observations"
26
+ },
27
+ {
28
+ "id": "fisher_l0p1_sigma0p1",
29
+ "description": "Log-gamma ell=0.1, sigma=0.1",
30
+ "noise_parameters": {
31
+ "ell": 0.1,
32
+ "sigma": 0.1
33
+ },
34
+ "checkpoint": "l2r-loggamma-ell0p1-sigma0p1.pth",
35
+ "checkpoint_sha256": "07e5087dd4ba7a5e068c5dcc6c2f526c366e6d38b7babe59a617737fd6868b9f",
36
+ "recorruptor_mode": "monotonic",
37
+ "conditioning_sigma": 0.1,
38
+ "tau": 0.5,
39
+ "observation_origin": "copied historical cached noisy observations"
40
+ },
41
+ {
42
+ "id": "laplace_b0p05",
43
+ "description": "Laplace b=0.05",
44
+ "noise_parameters": {
45
+ "b": 0.05
46
+ },
47
+ "checkpoint": "l2r-laplace-b0p05.pth",
48
+ "checkpoint_sha256": "89bf955f87e28ec5b6ddc32c3da5fd789dc457279b3d867528c5eda79871e8cc",
49
+ "recorruptor_mode": "monotonic",
50
+ "conditioning_sigma": 0.05,
51
+ "tau": 0.5,
52
+ "observation_origin": "copied historical cached noisy observations"
53
+ },
54
+ {
55
+ "id": "laplace_b0p1",
56
+ "description": "Laplace b=0.1",
57
+ "noise_parameters": {
58
+ "b": 0.1
59
+ },
60
+ "checkpoint": "l2r-laplace-b0p1.pth",
61
+ "checkpoint_sha256": "f58e786fcf9a48620ea1c9a8149602e9a28e3d598d80d6dfdbb7d835b355a7ad",
62
+ "recorruptor_mode": "monotonic",
63
+ "conditioning_sigma": 0.1,
64
+ "tau": 0.5,
65
+ "observation_origin": "copied historical cached noisy observations"
66
+ },
67
+ {
68
+ "id": "correlated_sigma0p1",
69
+ "description": "Correlated Gaussian sigma=0.1",
70
+ "noise_parameters": {
71
+ "sigma": 0.1
72
+ },
73
+ "checkpoint": "l2r-correlated-gaussian-sigma0p1.pth",
74
+ "checkpoint_sha256": "897aae3095b4f6618798debee9717ef99bdcef1cad755c027c2eb1589a712c2f",
75
+ "recorruptor_mode": "gaussian_kernel",
76
+ "conditioning_sigma": 0.1,
77
+ "tau": 0.5,
78
+ "observation_origin": "copied historical cached noisy observations"
79
+ },
80
+ {
81
+ "id": "correlated_sigma0p2",
82
+ "description": "Correlated Gaussian sigma=0.2",
83
+ "noise_parameters": {
84
+ "sigma": 0.2
85
+ },
86
+ "checkpoint": "l2r-correlated-gaussian-sigma0p2.pth",
87
+ "checkpoint_sha256": "50107e09bb5f766d28741cd65d4d5175bcd3b6bd80d2fc7958c05c1e54cde5ec",
88
+ "recorruptor_mode": "gaussian_kernel",
89
+ "conditioning_sigma": 0.2,
90
+ "tau": 0.5,
91
+ "observation_origin": "copied historical cached noisy observations"
92
+ },
93
+ {
94
+ "id": "poissongauss_gain0p05_sigma0p05",
95
+ "description": "Poisson-Gaussian gain=0.05, sigma=0.05",
96
+ "noise_parameters": {
97
+ "gain": 0.05,
98
+ "sigma": 0.05
99
+ },
100
+ "checkpoint": "l2r-poisson-gaussian-gain0p05-sigma0p05.pth",
101
+ "checkpoint_sha256": "c34fb1cc0f3a65789599632bcded93d71ef7821e9e128de5802f69eac2577ffd",
102
+ "recorruptor_mode": "multiplicative",
103
+ "conditioning_sigma": 0.05,
104
+ "tau": 0.5,
105
+ "observation_origin": "copied historical cached noisy observations"
106
+ },
107
+ {
108
+ "id": "poisson_gain0p1",
109
+ "description": "Poisson gain=0.1, sigma=0",
110
+ "noise_parameters": {
111
+ "gain": 0.1,
112
+ "sigma": 0.0
113
+ },
114
+ "checkpoint": "l2r-poisson-gain0p1.pth",
115
+ "checkpoint_sha256": "9397771de440a8aa7f75c3aba367f5716369eb3d71c392a70548b74bdcf3e69f",
116
+ "recorruptor_mode": "multiplicative",
117
+ "conditioning_sigma": 0.0,
118
+ "tau": 0.5,
119
+ "observation_origin": "regenerated pure Poisson, fixed CPU seed0"
120
+ }
121
+ ]
122
+ }
mfcn_init.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:821273bada077f5bc71872a0946adc2d5d9f07d1413001944025cd85380d9e38
3
+ size 5549