Skip to content

pm.sample cannot pickle LimbDark object #115

Closed
@lgrcia

Description

@lgrcia

Error
Getting TypeError: cannot pickle 'exoplanet.theano_ops.driver.LimbDark' object when sampling a model containing LimbDarkLightCurve

Reproduction
Fresh virtualenv with exoplanet, pymc3, tqdm installed

python3 -m venv xotest
source ./xotest/bin/activate.fish
pip install tqdm exoplanet pymc3

and running docs/tutorials/transit.py

cd xotest
curl -O https://raw.githubusercontent.com/exoplanet-dev/exoplanet/main/docs/tutorials/transit.py
python ./transit.py

Setup:

  • exoplanet==0.4.0
  • macOS 10.14.6
  • Python 3.8.5
  • pip 20.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationMissing docs or mistakes in existing ones

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions