facebook / prophet

Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
https://facebook.github.io/prophet
MIT License
18.33k stars 4.52k forks source link

error: terminated by signal 3221225657 #2245

Open Johanna-fi opened 2 years ago

Johanna-fi commented 2 years ago

hi

I installed package prophet (not fbprophet) in Python 3.9.4. But fitting a model gives error. With the same data in R code works perfectly. What is the issue?

model = Prophet() model.fit(df1)

Error:

14:55:05 - cmdstanpy - INFO - Chain [1] start processing 14:55:06 - cmdstanpy - INFO - Chain [1] done processing 14:55:06 - cmdstanpy - ERROR - Chain [1] error: terminated by signal 3221225657 Optimization terminated abnormally. Falling back to Newton. 14:55:06 - cmdstanpy - INFO - Chain [1] start processing 14:55:06 - cmdstanpy - INFO - Chain [1] done processing 14:55:06 - cmdstanpy - ERROR - Chain [1] error: terminated by signal 3221225657

.....

RuntimeError: Error during optimization:

Karlossal commented 2 years ago

I'm having the same error, no idea what to do with it

Karlossal commented 2 years ago

I have got mine working.

I installed the cmdstanpy package and imported by using the following...

import cmdstanpy cmdstanpy.install_cmdstan() cmdstanpy.install_cmdstan(compiler=True) # only valid on Windows

edmundho7 commented 1 year ago

Hi, are you able to resolve this issue? I am having the same problem too

patricksabry1 commented 1 year ago

Hi, was anyone able to resolve this?

I'm still facing this issue even after adding @Karlossal's suggestion.

(On Windows) have tried to change python versions, reinstall cmdstanpy & prophet in new venvs, re-installed Rtools / VS build tools manually... nothing seems to work. The non-descript stacktrace doesn't really help either :(

Intrigued to know if anyone finds the root cause. Thanks! :)

lzxTopC commented 1 year ago

replace cmdstanpy version ,use pip install cmdstanpy==0.9.5 can resolve!!!!

Killpit commented 1 year ago

replace cmdstanpy version ,use pip install cmdstanpy==0.9.5 can resolve!!!!

It doesn't, otherwise prophet won't work, you need to upgrade cmdstanpy to its latest version and still I get this mistake 00:51:09 - cmdstanpy - INFO - Chain [1] start processing

pcoccoli commented 1 year ago

Looks like #2227

HoweBai commented 11 months ago

tring to increase param 'changepoint_prior_scale', when set grater than 0.01, problem solved

ImMengK commented 11 months ago

changepoint_prior_scale

it doesn't work,problem still

PrincekinY commented 5 months ago

Same problem, and prophet1.1.0/1.1.4 cmdstanpy0.95 can do not solve the problem