gpt4 book ai didi

ray - 在满足复杂条件时提前停止 ray.tune 实验?

转载 作者:行者123 更新时间:2023-12-03 21:04:17 29 4
gpt4 key购买 nike

有没有办法停止ray.tune实验(例如使用 PBT)当明显过度拟合或一个指标长时间没有改善时?

最佳答案

现在,这在 Tune 中得到了很好的支持,https://github.com/ray-project/ray/pull/12750 .
在此处查看文档:https://docs.ray.io/en/master/tune/api_docs/stoppers.html#stopping-mechanisms-tune-stopper
例如:

tune.run(Trainable, num_samples=200, stop=TimeStopper())

关于ray - 在满足复杂条件时提前停止 ray.tune 实验?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55492987/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com