Skip to content

Incorrect implementation of TargetConditionalFlowMatcher #156

@Rattko

Description

@Rattko

Hey,

I've been experimenting with Conditional Flow Matching for a paper I'm currently working on and I've noticed that you have an incorrect implementation of TargetConditionalFlowMatcher, in particular, the sample_xt and compute_conditional_flow methods. The current implementation (rewritten 1:1 in Jax) completely fails to learn even the simplest distributions.

I believe that sample_xt should use x0 instead of epsilon and compute_conditional_flow should return x1 - (1 - self.sigma) * x0 instead of what it currently returns.

Hope this helps ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions