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
import_graph_def with cond nodes fails in eager/tf.function contexts #36809
Labels
comp:ops
OPs related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.11
Issues related to TF 2.11
type:bug
Bug
Comments
saikumarchalla
added
comp:ops
OPs related issues
TF 2.1
for tracking issues in 2.1 release
labels
Feb 17, 2020
saikumarchalla
added
the
stat:awaiting response
Status - Awaiting response from author
label
Feb 19, 2020
Looks like if __name__ == '__main__':
# tf.test.main()
test = ImportedCondTest()
try:
test.test_in_graph_mode()
print('test_in_graph_mode passed')
except Exception:
print('test_in_graph_mode failed')
try:
test.test_fn()
print('test_fn passed')
except Exception:
print('test_fn failed')
try:
test.test_tf_function_fn()
print('test_tf_function_fn passed')
except Exception:
print('test_tf_function_fn failed')
try:
test.test_map()
print('test_map passed')
except Exception:
print('test_map failed') |
tensorflowbutler
removed
the
stat:awaiting response
Status - Awaiting response from author
label
Feb 21, 2020
Was able to reproduce the issue with TF 2.1 on colab. Please find the gist here.Thanks! |
gowthamkpr
added
the
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
label
Feb 26, 2020
Was able to reproduce the issue with TF 2.2 , nightly version (2.3.0-dev20200605) .Please, find the gist here..Thanks! |
tensorflowbutler
removed
the
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
label
Jun 7, 2020
Closed
gowthamkpr
added
the
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
label
Jun 8, 2020
Was able to reproduce your issue in Tf Nightly 2.12.0.dev20221228, please find the gist here. Thanks! |
chunduriv
added
TF 2.9
Issues found in the TF 2.9 release (or RCs)
and removed
2.6.0
labels
Aug 2, 2022
tiruk007
added
TF 2.11
Issues related to TF 2.11
and removed
TF 2.9
Issues found in the TF 2.9 release (or RCs)
labels
Dec 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
comp:ops
OPs related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.11
Issues related to TF 2.11
type:bug
Bug
Have I written custom code: Yes
OS Platform and Distribution: Ubuntu 16.04
Tensorflow installed from: binary
Tensorflow version: v2.1.0-rc2-17-ge5bf8de 2.1.0 (cpu)
Describe the current behavior
import_graph_def
fails to rebuild graphs containingtf.cond
nodes in eager mode/tf.function
ed calls.Describe the expected behavior
Work as it does using tf 1.x-style session calls, or eager mode/
tf.function
ed calls on graph defs containing similar nodes liketf.where
.Code to reproduce the issue
Other info / logs
The text was updated successfully, but these errors were encountered: