Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkl file not found error when running fbprophet #88

Open
Rajan316 opened this issue Dec 15, 2021 · 1 comment
Open

Pkl file not found error when running fbprophet #88

Rajan316 opened this issue Dec 15, 2021 · 1 comment

Comments

@Rajan316
Copy link

Rajan316 commented Dec 15, 2021

  • scikit-hts version:0.5.11
  • Python version:3.7
  • Operating System:Windows

Description

I am trying to run an fbprophet model on hierarchical time series data. It was working fine till now. All of a sudden it is showing pickle file not found for a particular category

What I Did

kwargs = {'yearly_seasonality':True,'weekly_seasonality':True,'changepoint_prior_scale':0.5}
clf = HTSRegressor(model='prophet', revision_method='WLSS', n_jobs=4,**kwargs,low_memory=True)
model = clf.fit(hierarchy_bottom_level, hierarchy)
RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\rahul\anaconda3\envs\py37\lib\multiprocessing\pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "C:\Users\rahul\anaconda3\envs\py37\lib\site-packages\hts\utilities\distribution.py", line 41, in _function_with_partly_reduce
return list(results)
File "C:\Users\rahul\anaconda3\envs\py37\lib\site-packages\hts\utilities\distribution.py", line 40, in
results = (map_function(chunk, kwargs) for chunk in chunk_list)
File "C:\Users\rahul\anaconda3\envs\py37\lib\site-packages\hts\core\utils.py", line 57, in _do_actual_fit
return _fit_serialize_model(instantiated_model, function_kwargs)
File "C:\Users\rahul\anaconda3\envs\py37\lib\site-packages\hts\core\utils.py", line 66, in _fit_serialize_model
with open(path, "wb") as p:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\rahul\AppData\Local\Temp\hts_e76ei9g8\region_B/C & GATING (001).pkl'
"""

@skwolvie
Copy link

I have the same error. Any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants