SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.02154 · 2024

Dynamic Pre-training: Towards Efficient and Scalable All-in-One Image Restoration

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.02154.json · badge: /api/ran/2404.02154.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
akshaydudhane16/dynet canonical (classifier label)
classifier basis: census
12 ran · 3 no recorded run
FunctionStatusWhere it lives
contributions Ran
ran, honoured the contract we drafted
akshaydudhane16/dynet/utils/imresize.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("b921438690ac017f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

crop_a_image Ran
ran; our contract draft was wrong, not the code
akshaydudhane16/dynet/utils/image_io.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("8ade57fc1fb950bb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

crop_img Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akshaydudhane16/dynet/utils/image_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("11c75b3b8bc61c21")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

crop_patch Ran
ran; our contract draft was wrong, not the code
akshaydudhane16/dynet/utils/image_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("86abcfa12b6612f0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fix_scale_and_size Ran
ran, violated the contract we drafted
akshaydudhane16/dynet/utils/imresize.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("ee75635bb6c497f1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_position_from_periods Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akshaydudhane16/dynet/utils/schedulers.py
pointer only (licence: MIT); the stored copy get_code serves, from AlifAshrafee/Restoring-Without-Forgetting, is pointer only (licence: NONE) · get_code("cd569444547de84f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from AlifAshrafee/Restoring-Without-Forgetting, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

imresize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akshaydudhane16/dynet/utils/imresize.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("c38287d2acea0ce0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

linear_warmup_decay Ran
ran; our contract draft was wrong, not the code
akshaydudhane16/dynet/utils/schedulers.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("442cb54f21dcfe50")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_gt_img Ran
ran, honoured the contract we drafted
akshaydudhane16/dynet/utils/image_io.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("e91553b51010dfd6")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_hazy_image Ran
ran, honoured the contract we drafted
akshaydudhane16/dynet/utils/image_io.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("8564be766b7cda56")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_3d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akshaydudhane16/dynet/net/DyNet_large.py
pointer only (licence: MIT); the stored copy get_code serves, from gladzhang/Xformer, is pointer only (licence: NONE) · get_code("82a15cc1e46f7e4d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from gladzhang/Xformer, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_4d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akshaydudhane16/dynet/net/DyNet_large.py
pointer only (licence: MIT); the stored copy get_code serves, from gladzhang/Xformer, is pointer only (licence: NONE) · get_code("b20f2a5df739a59e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from gladzhang/Xformer, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accuracy Not yet run
unverified (harvested, no recorded run)
akshaydudhane16/dynet/utils/val_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("418284b6911ecae5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

compute_psnr_ssim Not yet run
unverified (harvested, no recorded run)
akshaydudhane16/dynet/utils/val_utils.py
code served (permissive licence) · get_code("c25cfc27015346f2")
How it ran

no invocation recorded.

slice_image2patches Not yet run
unverified (harvested, no recorded run)
akshaydudhane16/dynet/utils/image_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from toummHus/HAIR, is pointer only (licence: NONE) · get_code("779d9bd47765629e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from toummHus/HAIR, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 14 are also present in other papers whose code we hold (14 with at least one paper dated earlier, 3 the same month, 14 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
to_3d 80 other papers
39 dated earlier, 5 the same month, 34 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 77 more not named here
to_4d 79 other papers
38 dated earlier, 5 the same month, 34 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 76 more not named here
get_position_from_periods 55 other papers
28 dated earlier, 3 the same month, 21 later, 3 same year, order not determinable
2110.04627 (2021-10)
Vector-quantized Image Modeling with Improved VQGAN
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2204.04676 (2022-04)
Simple Baselines for Image Restoration
and 52 more not named here
linear_warmup_decay 5 other papers
2 dated earlier, 3 later
2206.05379 (2022-06)
A Benchmark for Compositional Visual Reasoning
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
and 2 more not named here
contributions 4 other papers
2 dated earlier, 2 later
1909.06581 (2019-09)
Blind Super-Resolution Kernel Estimation using an Internal-GAN
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
and 1 more not named here
crop_img 4 other papers
1 dated earlier, 3 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2407.20928 (2024-07)
UniProcessor: A Text-induced Unified Low-level Image Processor
and 1 more not named here
crop_patch 4 other papers
1 dated earlier, 3 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2407.20928 (2024-07)
UniProcessor: A Text-induced Unified Low-level Image Processor
and 1 more not named here
fix_scale_and_size 4 other papers
2 dated earlier, 2 later
1909.06581 (2019-09)
Blind Super-Resolution Kernel Estimation using an Internal-GAN
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
and 1 more not named here
imresize 4 other papers
2 dated earlier, 2 later
1909.06581 (2019-09)
Blind Super-Resolution Kernel Estimation using an Internal-GAN
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
and 1 more not named here
slice_image2patches 4 other papers
1 dated earlier, 3 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2407.20928 (2024-07)
UniProcessor: A Text-induced Unified Low-level Image Processor
and 1 more not named here
accuracy 3 other papers
1 dated earlier, 2 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2408.08091 (2024-08)
HAIR: Hypernetworks-based All-in-One Image Restoration
crop_a_image 3 other papers
1 dated earlier, 2 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2408.08091 (2024-08)
HAIR: Hypernetworks-based All-in-One Image Restoration
prepare_gt_img 3 other papers
1 dated earlier, 2 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2408.08091 (2024-08)
HAIR: Hypernetworks-based All-in-One Image Restoration
prepare_hazy_image 3 other papers
1 dated earlier, 2 later
2403.14614 (2024-03)
AdaIR: Adaptive All-in-One Image Restoration via Frequency Mining and Modulation
2405.17074 (2024-05)
Towards Ultra-High-Definition Image Deraining: A Benchmark and An Efficient Method
2408.08091 (2024-08)
HAIR: Hypernetworks-based All-in-One Image Restoration

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

All-in-one image restoration tackles different types of degradations with a unified model instead of having task-specific, non-generic models for each degradation. The requirement to tackle multiple degradations using the same model can lead to high-complexity designs with fixed configuration that lack the adaptability to more efficient alternatives. We propose DyNet, a dynamic family of networks designed in an encoder-decoder style for all-in-one image restoration tasks. Our DyNet can seamlessly switch between its bulkier and lightweight variants, thereby offering flexibility for efficient model deployment with a single round of training. This seamless switching is enabled by our weights-sharing mechanism, forming the core of our architecture and facilitating the reuse of initialized module weights. Further, to establish robust weights initialization, we introduce a dynamic pre-training strategy that trains variants of the proposed DyNet concurrently, thereby achieving a 50% reduction in GPU hours. Our dynamic pre-training strategy eliminates the need for maintaining separate checkpoints for each variant, as all models share a common set of checkpoints, varying only in model depth. This efficient strategy significantly reduces storage overhead and enhances adaptability. To tackle the unavailability of large-scale dataset required in pre-training, we curate a high-quality, high-resolution image dataset named Million-IRD, having 2M image samples. We validate our DyNet for image denoising, deraining, and dehazing in all-in-one setting, achieving state-of-the-art results with 31.34\% reduction in GFlops and a 56.75\% reduction in parameters compared to baseline models. The source codes and trained models are available at https://github.com/akshaydudhane16/DyNet.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.02154")
get_code_for_paper("2404.02154")
have("2404.02154")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.02154.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.02154.svg)](https://syntology.ai/paper/2404.02154)

Connect an agent — have() is free.