We lifted 7 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| xtudbxk/frecas | canonical | 0 of 7 |
| Function | Status | Where it lives |
|---|---|---|
| freq_decompose | Not yet run | xtudbxk/frecas/utils/facfg_wrapper.py pointer only (licence: NONE) · get_code("68a2e4bc10601722") |
| get_next_starttimestep | Not yet run | xtudbxk/frecas/utils/scheduler_wrapper.py pointer only (licence: NONE) · get_code("fdc2ecb512c95b13") |
| get_next_starttimestep_rf | Not yet run | xtudbxk/frecas/utils/scheduler_wrapper.py pointer only (licence: NONE) · get_code("21d83fe55d01050d") |
| obtain_origin | Not yet run | xtudbxk/frecas/utils/wrapper_utils.py pointer only (licence: NONE) · get_code("530bc361f235bab9") |
| sd21_vae_encode | Not yet run | xtudbxk/frecas/utils/sd_utils.py pointer only (licence: NONE) · get_code("00153ea284da6e39") |
| unwrap | Not yet run | xtudbxk/frecas/utils/wrapper_utils.py pointer only (licence: NONE) · get_code("22c6bd4c45c0c13f") |
| wrap | Not yet run | xtudbxk/frecas/utils/wrapper_utils.py pointer only (licence: NONE) · get_code("d6e7f4b172e9b341") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
While image generation with diffusion models has achieved a great success, generating images of higher resolution than the training size remains a challenging task due to the high computational cost. Current methods typically perform the entire sampling process at full resolution and process all frequency components simultaneously, contradicting with the inherent coarse-to-fine nature of latent diffusion models and wasting computations on processing premature high-frequency details at early diffusion stages. To address this issue, we introduce an efficient $\textbf{Fre}$quency-aware $\textbf{Ca}$scaded $\textbf{S}$ampling framework, $\textbf{FreCaS}$ in short, for higher-resolution image generation. FreCaS decomposes the sampling process into cascaded stages with gradually increased resolutions, progressively expanding frequency bands and refining the corresponding details. We propose an innovative frequency-aware classifier-free guidance (FA-CFG) strategy to assign different guidance strengths for different frequency components, directing the diffusion model to add new details in the expanded frequency domain of each stage. Additionally, we fuse the cross-attention maps of previous and current stages to avoid synthesizing unfaithful layouts. Experiments demonstrate that FreCaS significantly outperforms state-of-the-art methods in image quality and generation speed. In particular, FreCaS is about 2.86$\times$ and 6.07$\times$ faster than ScaleCrafter and DemoFusion in generating a 2048$\times$2048 image using a pre-trained SDXL model and achieves an FID$_b$ improvement of 11.6 and 3.7, respectively. FreCaS can be easily extended to more complex models such as SD3. The source code of FreCaS can be found at https://github.com/xtudbxk/FreCaS.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2410.18410")
get_code_for_paper("2410.18410")
have("2410.18410")
Connect an agent — have() is free.