Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

figure out why tfp MVN works but distrax does not #47

Open
murphyk opened this issue May 7, 2022 · 0 comments
Open

figure out why tfp MVN works but distrax does not #47

murphyk opened this issue May 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@murphyk
Copy link
Member

murphyk commented May 7, 2022

In https://github.com/probml/JSL/blob/main/jsl/demos/hmm_lillypad.py
we use

  hmm = HMM(trans_dist=distrax.Categorical(probs=A),
              init_dist=distrax.Categorical(probs=initial_probs),
              obs_dist=distrax.as_distribution(
                  tfp.substrates.jax.distributions.MultivariateNormalFullCovariance(loc=mu_collection,
                                                                                    covariance_matrix=cov_collection)))

but it fails when I switch to


    hmm = HMM(trans_dist=distrax.Categorical(probs=A),
            init_dist=distrax.Categorical(probs=initial_probs),
            obs_dist=distrax.MultivariateNormalFullCovariance(
                loc=mu_collection, covariance_matrix=cov_collection))

Why?

@murphyk murphyk assigned gerdm and karalleyna and unassigned gerdm May 7, 2022
@gerdm gerdm added the bug Something isn't working label May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants