Top "Tensorflow2.0" questions

Use this tag when asking about TensorFlow 2.0. You may consider using the [tag: tf.

Replacing placeholder for tensorflow v2

For my project, I need to convert a directed graph into a tensorflow implementation of the graph as if it …

python python-3.x tensorflow tensorflow2.0
AttributeError: module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices'

Am using Tensorflow 2.0 on Ubuntu 18.04. On running tf.config.list_physical_devices('GPU') I get the above error. What is …

tensorflow tensorflow2.0
AttributeError: module 'tensorflow' has no attribute 'gfile'

I trained a simple mnist model with tensorflow 2.0 on Google Colab and saved it in the .json format. Click here …

google-colaboratory tensorflow-serving tensorflow2.0
Unable to train my keras model : (Data cardinality is ambiguous:)

I am using the bert-for-tf2 library to do a Multi-Class Classification problem. I created the model but training throws the …

machine-learning nlp text-classification tensorflow2.0 tf.keras
WARNING:tensorflow:sample_weight modes were coerced from ... to ['...']

Training an image classifier using .fit_generator() or .fit() and passing a dictionary to class_weight= as an argument. I …

python tensorflow keras tensorflow2.0 tf.keras
Tensorboard not found as magic function in jupyter

I want to run tensorboard in jupyter using the latest tensorflow 2.0.0a0. With the tensorboard version 1.13.1, and python 3.6. using ... %tensorboard …

python tensorflow tensorflow2.0 tensorboard tensorflow2.x
In TensorFlow 2.0 with eager-execution, how to compute the gradients of a network output wrt a specific layer?

I have a network made with InceptionNet, and for an input sample bx, I want to compute the gradients of …

python tensorflow gradient tensorflow2.0 tf.keras
TF 2.0 print tensor values

I'm learning the newest release of Tensorflow (2.0) and I have tried to run a simple code to slice a matrix. …

python tensorflow tensorflow2.0