Closed xieduo7 closed 2 years ago
Hi @xieduo7 , can you please share the system and version info as described here, and report the sqlalchemy version?
Hi @yannikschaelte,
Thank you for your quick response and sorry for not sharing this information.
Environment
[Report at least the pyABC version (pip show pyabc
),
pip show pyabc
Name: pyabc
Version: 0.12.3
Summary: Distributed, likelihood-free ABC-SMC inference
Home-page: https://github.com/icb-dcm/pyabc
Author: The pyABC developers
Author-email: yannik.schaelte@gmail.com
License: BSD-3-Clause
Location: /home/xieduo/software/miniconda3/envs/jupyter-env/lib/python3.8/site-packages
Requires: scikit-learn, jabbar, redis, pandas, matplotlib, cloudpickle, click, sqlalchemy, scipy, distributed, numpy, gitpython
Required-by:
python version (which python; python --version
),
Python 3.8.13
and system (Ubuntu/Mac/...).]
Linux pbs-master 3.10.0-1160.41.1.el7.x86_64 #1 SMP Tue Aug 31 14:52:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
sqlalchemy version
$ pip show sqlalchemy
Name: SQLAlchemy
Version: 1.4.32
Summary: Database Abstraction Library
Home-page: https://www.sqlalchemy.org
Author: Mike Bayer
Author-email: mike_mp@zzzcomputing.com
License: MIT
Location: /home/xieduo/.local/lib/python3.8/site-packages
Requires: greenlet
Required-by: pyabc
Thank you.
Best, Duo
Hi, sorry for not answering, this issue went amiss. It appears you have a ValueError: Object arrays cannot be saved when allow_pickle=False
, which can indicate that your summary statistics contain values different from e.g. floats, strings, ints etc, which cannot be correctly stored, see https://pyabc.readthedocs.io/en/latest/api_datastore.html#what-can-be-stored-as-summary-statistics
closing due to non-response. feel free to re-open if issue persists.
Dear @yannikschaelte,
The script reported an error when I ran the pyABC script. Do you have any idea about this error? Is this caused by the SQL storage?
Thank you!
Best, Duo