ray.tune
当明显过度拟合或一个指标长时间没有改善时,有没有办法停止实验(例如使用 PBT)?
1 回答
0
这现在在 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())
于 2020-12-19T05:47:12.820 回答