簡體   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