So, I tried running some tests again on 3 different machines, here are the specs: If so, what are the recommended versions to use? I also have another script that works just fine in one machine, but is broken in another one (saying that RuntimeError: Initialization failed.).ĭoes anyone have any problem similar to these? Is Pystan not a reliable interface? Does it have anything to do with my Python versions, etc. index 3 out of range expecting index to be between 1 and 2 (in '/tmp/httpstan_5sk13x19/model_l7scj23i.stan', line 69, column 8 to column 33)")`, traceback: ` UntimeError: Exception during call to services function: `Inde圎rror("Exception: array index: accessing element out of range. What frustrated me even more, when I tried running the same script on a different machine (also on linux), I got a different error: I suppose this has nothing to do with my script, but I also cannot figure out what it means. Now, I have not run my script for quite a while, it was fine last time, but now suddenly I got an error FileNotFoundError: No such file or directory: '/home/user_name/.cache/httpstan/4.4.2/models/6ih6n2q6/fits/4' As far as I know, I did not change anything on the model itself, only on the Python syntax (e.g. For days (if not weeks), I always got some errors I could not figure out why, and the problems were somehow solved when I decided to work with pystan 3.x on linux. When I installed pystan on my mac-os using pip install pystan, for some reasons I got Pystan 2.x installed and I was not able to upgrade it to 3.x despite having specified the library version. I’m not sure if it is just me or everyone else also had any frustrating experiences in using Pystan. I am new to Stan, and I am currently trying to run a Bayesian model using Pystan as my interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |