Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Add warning if conditioning used in a DDPM that is not configured to use it #174

@marksgraham

Description

@marksgraham

Currently it is possible to provide a context in the forward pass of a DDPM even if the model was initialised with with_conditioning=False. In this case the context won't be used by the model and we should raise an error, as is done when class_labels are provided and num_class_embeds=0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions