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
同样出现这个问题,注释掉tf.function 才正常。但是但是多次predict出现
5 out of the last 5 calls to <function _make_execution_function.,Tracing is expensive and the excessive number of tracings is likely due to passing python objects instead of tensors
ValueError: tf.function-decorated function tried to create variables on non-first call.
The text was updated successfully, but these errors were encountered: