繁体   English   中英

在 tf.keras 模型训练期间“无法找到可以减少输出时间的可调参数”

[英]"Failed to find a tunable parameter that would decrease the output time" during tf.keras model training

在训练 tf.keras (1.14) 模型时,我不断看到以下警告:

Failed to find a tunable parameter that would decrease the output time. This means that the autotuning optimization got stuck in a local maximum. The optimization attempt will be aborted.

培训继续并永远持续下去。 有谁知道我怎样才能捕捉到这个警告并抛出一个错误,所以我永远没有模型训练?

根据此处来自 Tensorflow 的脚本,hyparamers 在此 epoch 期间无法找到更好的参数(假设更好的参数应该减少比增量值更大的值)。 这只是一个警告,表明这可能是算法的饱和最优最小值,并且训练性能不会再增加。

您可以忽略它并等待即将到来的 epoch 来真正验证假设,因为代码仅考虑该 epoch 中的参数。 有时,达到更好的状态需要的不仅仅是一个时代。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM