Last active
December 13, 2020 21:22
-
-
Save AustinRochford/e67cb0c628b3692ecc669190fe86990c to your computer and use it in GitHub Desktop.
Capture-Recapture Models in Python with PyMC3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am new to Python and am trying to run the Jolly-Seber example as the building block of an analysis I want to do. I am having trouble when I try to run:
with js_model:
js_trace = pm.sample(**SAMPLE_KWARGS)
It gives me this traceback. I imagine it has to do with syntax changing since the example was produced but I am not sure how to diagnose given how new I am to python. This might be a silly problem, sorry!
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\16307\anaconda3\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\16307\anaconda3\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
AttributeError: Can't get attribute 'IncompleteMultinomial' on <module 'main' (built-in)>
EDIT: It seems that "njobs" has been deprecated in favor of "cores".