You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ray import tune
from ray.tune.schedulers import ASHAScheduler
这两行导入时有问题,具体报错信息如下:
Traceback (most recent call last):
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\node.py", line 312, in init
ray._private.services.wait_for_node(
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\services.py", line 385, in wait_for_node
raise TimeoutError("Timed out while waiting for node to startup.")
TimeoutError: Timed out while waiting for node to startup.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\宋超\Desktop\销量预测.py", line 433, in
analysis = tune.run(train_model, config=config, scheduler=scheduler, num_samples=10, metric="loss", mode="min")
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray\tune\tune.py", line 374, in run
_ray_auto_init()
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray\tune\tune.py", line 888, in _ray_auto_init
ray.init()
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\worker.py", line 1420, in init
_global_node = ray._private.node.Node(
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\node.py", line 319, in init
raise Exception(
Exception: The current node has not been updated within 30 seconds, this could happen because of some of the Ray processes failed to startup.
The text was updated successfully, but these errors were encountered:
from ray import tune
from ray.tune.schedulers import ASHAScheduler
这两行导入时有问题,具体报错信息如下:
Traceback (most recent call last):
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\node.py", line 312, in init
ray._private.services.wait_for_node(
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\services.py", line 385, in wait_for_node
raise TimeoutError("Timed out while waiting for node to startup.")
TimeoutError: Timed out while waiting for node to startup.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\宋超\Desktop\销量预测.py", line 433, in
analysis = tune.run(train_model, config=config, scheduler=scheduler, num_samples=10, metric="loss", mode="min")
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray\tune\tune.py", line 374, in run
_ray_auto_init()
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray\tune\tune.py", line 888, in _ray_auto_init
ray.init()
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\worker.py", line 1420, in init
_global_node = ray._private.node.Node(
File "C:\Users\宋超\AppData\Local\Programs\Python\Python39\lib\site-packages\ray_private\node.py", line 319, in init
raise Exception(
Exception: The current node has not been updated within 30 seconds, this could happen because of some of the Ray processes failed to startup.
The text was updated successfully, but these errors were encountered: