PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.05k stars 5.54k forks source link

autots错误 #53998

Closed Lucky-Jian closed 3 months ago

Lucky-Jian commented 1 year ago

请提出你的问题 Please ask your question

import warnings warnings.filterwarnings('ignore') from paddlets.automl.autots import AutoTS from paddlets.models.forecasting import MLPRegressor from paddlets.datasets.repository import get_dataset tsdataset = get_dataset("UNI_WTH") autots_model = AutoTS(MLPRegressor, 96, 2) autots_model.fit(tsdataset) predicted_tsdataset = autots_model.predict(tsdataset) best_param = autots_model.best_param

报错 DeprecationWarning: The module ray.tune.suggest has been moved to ray.tune.search and the old location has been deprecated. Please adjust your imports to point to the new location. Example: Do a global search and replace ray.tune.suggest with ray.tune.search.

这个警告直接影响不能运行,在某次成功运行以后依然无法自动寻参,出现“RuntimeError: The actor with name ImplicitFunc failed to import on the worker. This may be because needed library dependencies are not installed in the worker environment:” 以及“TuneError: ('Trials did not complete', [run_trial_793c7123])”这个错误 。同时在BML上可以运行的项目,复制到本地运行,在fit部分直接出现“inputs nan”,查看了数据summary,missing都为0。也尝试了将数据修改为np.float64,依然失效

zh794390558 commented 1 year ago

可以去PaddleTS的repo下提issue,目测是repo自己的问题,ray.tune.suggest with ray.tune.search..

kightbal commented 1 year ago

这个问题可能是AUTOTS不支持高版本的ray你可以把你的ray降级到1.13.0试一试

paddle-bot[bot] commented 3 months ago

Since you haven\'t replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。