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
[TF 2.0] Using tf.py_function which has tf.string type input in dataset.map() generates dtype warning. #28248
Comments
Look where tf.py_function is defined there is no such warning file present regarding dtype to be float. So why it is showing this? |
I am facing the same issue. |
@KichangKim There was no warning when |
It's likely the tape.watch here
|
I'll happily accept a PR to fix this. |
Looks like the PR failed a few checks. Is the issue still persisting? |
This issue still exists in tf-2 version beta-1. |
You have to use nightly builds |
System information
Describe the current behavior
Using tf.py_function which has tf.string type input generates warning like this:
This warning did not shown with v1.12.0-9492-g2c319fb415 2.0.0-alpha0, but 2.0.0-dev20190428 does.
Describe the expected behavior
dtype warning should not be shown.
Code to reproduce the issue
The text was updated successfully, but these errors were encountered: