Skip to content
fn

rectified_flow_afhq_cat

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

Rectified Flow velocity field for AFHQ-Cat 256 x 256.

Model Size

Parameters

pretrainedbool= False
No checkpoint is published for rectified_flow_afhq_cat, 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's Figure 1 uses this dataset for both generation and face-to-face transfer.

Examples

>>> from lucid.models.generative.rectified_flow import rectified_flow_afhq_cat
>>> rectified_flow_afhq_cat().config.num_res_blocks
2

Used by 1