Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Why tflearn disables executing eagerly ? #1170

Open
consultantmuthu opened this issue Dec 23, 2022 · 2 comments
Open

Why tflearn disables executing eagerly ? #1170

consultantmuthu opened this issue Dec 23, 2022 · 2 comments

Comments

@consultantmuthu
Copy link

I have following code,

import tensorflow as tf
print(tf.version )
tf.executing_eagerly()

===> It prints 2.9.2 and True

!pip install tflearn
import tflearn as tfl
print(tf.version )
tf.executing_eagerly()

===> It prints 2.9.2 and False

Why? I was expecting it to be True after importing TFLearn.

@DiwakarBasnet
Copy link

TFLearn is built on top of TensorFlow but its behavior may not be the same as TensorFlow itself. By default, TFLearn runs in a static graph mode, not eager execution mode. This is why tf.executing_eagerly() returns False after importing TFLearn.

@consultantmuthu
Copy link
Author

Thanks for the response. My learning so far is, going forward from 2.x version - we have both graph mode and eager mode available in TF itself.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants