Open EAly opened 2 years ago
Have you tried using this environment with the package versions listed here? https://github.com/pymc-devs/pymc-resources/blob/main/Rethinking_2/environment.yml
The environment I'm using is pretty much the same, except that I'm using pymc v4
That explains it. PyMC V4 has multiple breaking changes and isnt compatible with the notebooks in that directory. Id suggest using that version exactly, or if youd like upgrading the rethinking notebooks to v4 in prs.
I dont think so because the environment doesnt change in that PR
On Sun, Jul 17, 2022 at 9:42 PM EAly @.***> wrote:
Just to be sure, are you referring to this pull request: #198 https://github.com/pymc-devs/pymc-resources/pull/198?
— Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc-resources/issues/201#issuecomment-1186763315, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXBFYMIC5OS3CTB6ZRAZCTVUTOERANCNFSM5323H3AA . You are receiving this because you commented.Message ID: @.***>
Actually the use of aesara
instead of theano
, as per the notebook, solved the problem and the models are working fine so far (up to code snippet 5.10). I'm not sure though if others changes need to be done to the other packages in the environment.
Looked at the PR, yes though it needs some work. Would you be willing to update env file and the rest of the notebooks as well? That would be a great help!
On Mon, Jul 18, 2022 at 6:04 AM Ravin Kumar @.***> wrote:
I dont think so because the environment doesnt change in that PR
On Sun, Jul 17, 2022 at 9:42 PM EAly @.***> wrote:
Just to be sure, are you referring to this pull request: #198 https://github.com/pymc-devs/pymc-resources/pull/198?
— Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc-resources/issues/201#issuecomment-1186763315, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXBFYMIC5OS3CTB6ZRAZCTVUTOERANCNFSM5323H3AA . You are receiving this because you commented.Message ID: @.***>
I read in the Rethinking README that chapters 14, 15 and 16 are left to be migrated. Is someone working on that? I didn't find any related issue.
I get the following error when I try to run any pymc model from chapter 5, e.g. Code 5.3, Code 5.6, Code 5.10:
I exported the details of the environment I'm using to the attached
txt
files (I'm sorry if this is not the optimal way to share environments, but this is the best of my knowledge) stats_reth2_ea_env.txtstats_reth2_ea_envExport.txt