Skip to content

[Bug] Log-likelihood evaluation in SCANDAL leads to NaNs #451

@sbrass

Description

@sbrass

Dear all,

I came across following problem, after I had trained my neural densitor estimator plus score supplement (SCANDAL) without any problems, I tried to evaluate the log-likelihood using the trained network with a separate test sample.

However, I always get an NaN inside the MAF code. After introspecting with a forward module hook I could track it down to be inside self.Ws of the ConditionalMaskedAutoregressiveFlow with PDB.
As far as I can tell you, the values in self.Ws are normally produced - no NaNs.
However, after an call to self.to the NaNs appear...

SCANDAL is not necessary for the associated physics project, however, it would be nice to have in comparison.

Cheers,
Simon

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