Skip to content
fn

flow_matching_imagenet128

→FlowMatchingModel
flow_matching_imagenet128(pretrained: bool = False, overrides: object = {})

Flow Matching velocity field for ImageNet 128 x 128.

Model Size

Parameters

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

Returns

FlowMatchingModel

Velocity field configured for ImageNet at 128 x 128.

Notes

Reference: Lipman et al., "Flow Matching for Generative Modeling", ICLR, 2023 (arXiv:2210.02747), Table 1. Reported: 20.9 FID / 2.90 bits per dimension — the best likelihood of the four, on the largest images.

Examples

>>> from lucid.models.generative.flow_matching import flow_matching_imagenet128
>>> flow_matching_imagenet128().config.sample_size
128

Used by 1