Skip to content
fn

rectified_flow_celeba_hq_gen

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

Rectified Flow generator for CelebA-HQ 256 x 256.

Model Size

Parameters

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

Returns

RectifiedFlowForImageGeneration

Generator configured for CelebA-HQ.

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_celeba_hq_gen,
... )
>>> rectified_flow_celeba_hq_gen().config.sample_size
256

Used by 1