LSSTDESC / snmachine

Machine learning code for photometric supernova classification
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Python3.7 cannot unpickle `snmachine/example_data/example_test_dataset.pckl` (in `examples/example_plasticc.ipynb`) #272

Open aseyffert opened 5 months ago

aseyffert commented 5 months ago

Cannot complete execution in the examples/example_plasticc.ipynb notebook due to incompatible pickle protocol used when creating snmachine/example_data/example_test_dataset.pckl.

To Reproduce:

  1. Create python environment in accordance with environment.yml and requirements.txt.
  2. Install jupyter via python -m pip install jupyter.
  3. Open examples/example_plasticc.ipynb as a jupyter notebook.
  4. Execute the cells sequentially up to and including the first one in the Choose the Photometric Redshift section.

System Information: