Skip to content

IndexError when loading data from currently running MCMC #38

@michaelosthege

Description

@michaelosthege

In Run.to_inferencedata() one can run into this error 👇

    idata = run.to_inferencedata()
  File "C:\Users\osthege\AppData\Local\Continuum\miniconda3\envs\pfpm\lib\site-packages\mcbackend\core.py", line 204, in to_inferencedata
    warmup_posterior[var.name].append(draws[tune])
IndexError: boolean index did not match indexed array along dimension 0; dimension is 9890 but corresponding boolean dimension is 9886

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions