Skip to content
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

Estimators #220

Open
vivkvv opened this issue Oct 9, 2019 · 0 comments
Open

Estimators #220

vivkvv opened this issue Oct 9, 2019 · 0 comments

Comments

@vivkvv
Copy link

vivkvv commented Oct 9, 2019

I tried to use UNet with Estimators API, but it is need to set eager_execution for using estimators:

import tensorflow as tf
tf.enable_eager_execution()

But after that using the follows becomes impossible:

import ssl
ssl._create_default_https_context = ssl._create_unverified_context
model = Unet(classes=def_num_classes, activation='softmax')

because
RuntimeError: get_session is not available when TensorFlow is executing eagerly.

Maybe, is there any way?

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

No branches or pull requests

1 participant