Open pdmadeira opened 3 years ago
Hey, Thank you for your interest in GLAMbox. Could you provide us with more detail on the versions of python, pymc, and theano that you are using? You can find these with pip list
. Thank you! Armin
Thanks for the answer! The versions are:
Hi @pdmadeira! Thank you for reporting this and apologies for the delay.
These pickling errors are sometimes associated with running the model on multiple cores.
Could you try running the fitting with setting the cores to 1 (model.fit(cores=1)
) and see if this helps?
Hey @moltaire, Thanks for your suggestion! The algorithm is running fine with the single-core model fitting. It just takes a lot of time - it is running for 75 hours now. Tell me if that is expectable or not, or if I can adjust something to make it faster (if possible).
Hey @pdmadeira -- to make sure that the original error is not specific to your dataset, could you try simulating data (as described here: https://glambox.readthedocs.io/en/latest/examples/Example_1_Individual_estimation.html) and seeing whether you get the same pickling error when fitting for these data with multiple cores? Regarding your other question, you can generally shorten the sampling time by reducing the number of MCMC tuning and draw steps during model fitting (see the documentation for model.fit
); However, if you do this, make sure that your parameter traces converge within the number of steps that you sample (see, e.g., the convergence_check
function in https://glambox.readthedocs.io/en/latest/examples/Example_1_Individual_estimation.html). Hope this helps!
@athms thanks for your intel. Just tried the input data you use in Example_1. The error continues to occur with multi-core fitting, only working with the single-core approach.
Hi @pdmadeira, Great! Thank you for running these tests for us. It is likely that this specific pickling error in multi-core fitting results from the combination of the given theano and pymc versions with windows. We are looking into this and hope to fix this soon. Thanks for raising this issue. Is everything else working fine for you?
I'm exploring the examples and the tuning of the algorithm now, but if you could spend some advice... for a dataset including 2 subjects and 13k/14k samples regarding each one, which values do you suggest for the MCMC tune
and draws
parameters?
Hey, I am working on my MSc Thesis and found your toolbox, which appeared to be very useful for my study. Before anything, I would like to congratulate you on the development of the tool. Turns out that I was trying to use it and built a simple pipeline (according to your documentation guidance) to apply to my data. Unfortunately, I am getting the following error, which appears after trying to fit the model to the data.
My code is identical to what you show in the "Quick Start" section, but with my data as input.
Thanks in advance for all the help!