Skip to content
fn

rectified_flow_afhq_cat_gen

→RectifiedFlowForImageGeneration
rectified_flow_afhq_cat_gen(pretrained: bool = False, overrides: object = {})

Rectified Flow generator for AFHQ-Cat 256 x 256.

Model Size

Parameters

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

Returns

RectifiedFlowForImageGeneration

Generator configured for AFHQ-Cat.

Notes

Reference: Liu, Gong, and Liu, "Flow Straight and Fast", ICLR, 2023 (arXiv:2209.03003).

Examples

>>> from lucid.models.generative.rectified_flow import (
...     rectified_flow_afhq_cat_gen,
... )
>>> rectified_flow_afhq_cat_gen().config.progressive_input
'input_skip'

Used by 1