Skip to content
fn

rectified_flow_bedroom

→RectifiedFlowModel
rectified_flow_bedroom(pretrained: bool = False, overrides: object = {})

Rectified Flow velocity field for LSUN Bedroom 256 x 256.

Model Size

Parameters

pretrainedbool= False
No checkpoint is published for rectified_flow_bedroom, so True raises NotImplementedError rather than return randomly initialised weights.
**overridesobject= {}
Optional RectifiedFlowConfig field overrides.

Returns

RectifiedFlowModel

Velocity field with filtered resampling and a resolution pyramid.

Notes

Reference: Liu, Gong, and Liu, "Flow Straight and Fast", ICLR, 2023 (arXiv:2209.03003). The paper reports high-resolution generation qualitatively; no FID is quoted for this dataset.

Examples

>>> from lucid.models.generative.rectified_flow import rectified_flow_bedroom
>>> rectified_flow_bedroom().config.fir
True

Used by 1