Skip to content

More informative error messages for "mixture" efficiency mode #49

Description

@logan-blaine

Report

If using the mixture model, we should check to ensure that each cell only has one guide instead of throwing this sort of cryptic error during training:

ValueError: Expected parameter probs (Tensor of shape (512, 19212)) of distribution Bernoulli(probs: torch.Size([512, 19212])) to satisfy the constraint Interval(lower_bound=0.0, upper_bound=1.0), but found invalid values:

Version information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions