Closed stephanmg closed 1 week ago
This is specifically a problem with SacessOptimizer.
This problem was probably introduced in https://github.com/ICB-DCM/pyPESTO/pull/1353 (pypesto 0.5.0).
As a quick workaround, you can try using SacessOptimizer(..., mp_start_method="fork")
if supported in your setup. This might potentially cause other issues, but it worked for me in a simple test.
For a proper fix, SacessOptimizer needs to use cloudpickle instead of pickle, as is already the case in MultiProcessEngine.
Workaround works for me.
Bug description Using a benchmark model with parameter priors leads to pickle error, see log below.
Expected behavior No pickle error and parameter estimation should start.
To reproduce Pick for instance the Schwen_PONE2014 benchmark model try to load and estimate ~with scipy or~ sacess optimizer.
"Remedy": Remove parameter priors from
parameters.tsv
works, but obviously then runs parameter estimation without prior information which is not desirable.Latest confirmed working version of pyPESTO was 0.4.0 for me, might be the starting point of a
git bisect
.Environment
pypesto
version: 0.5.3Log: