New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING:absl:Found untraced functions such as [...] #16469
Comments
This issue has also been discussed here: tensorflow/models#10562 |
@k-w-w for saving related question. |
Also the warnings a bit weird that it contains layer name like dense_4_layer_call_fn, whereas there are only 3 layers in the model. It seems that there are duplicated tf.functions being created and somehow discarded. |
@qlzh727 Do you observe this after re-starting the runtime? The exact warning I get is:
Which makes sense IMO, as the model has 3 dense layers. |
Any updates on this? |
I have same issue and when I load the saved model then my predicts become randomly or uncorrected |
@jenabesaman This warning can probably be ignored, as it appears even in guides on the official Tensorflow website, e.g. https://www.tensorflow.org/text/tutorials/text_generation. Still, it would be great if someone could have a closer look at this. |
Anyway to suppress the warning then. I'm seeing it every time Keras saves a model at a checkpoint during training. rather annoying |
@juemrami Try something like this, to turn of absl-related warning messages.
|
Hi @mhorlacher , You can also find such warning in Tensorflow text Tutorial which are safely ignored.You can refer groups.google and SO also which supports Ignoring this warning.You can also disable the warnings as mentioned in the above comment. Thank you! |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
I am getting the same issue here. Tensorflow 3+ |
Same, tensorflow 3.11 |
I run into the above warning when saving sub-classed models with
model.save()
.After some investigation, the error seems to occur when using sub-classed layers in combination with sub-classed models.
See the code below for a minimal example:
Or check out this gist.
My TF version is
2.8.0
.The text was updated successfully, but these errors were encountered: