Top "Tensorflow" questions

TensorFlow is an open-source library and API designed for deep learning, written and maintained by Google.

TensorFlow, why there are 3 files after saving the model?

Having read the docs, I saved a model in TensorFlow, here is my demo code: # Create some variables. v1 = tf.…

tensorflow
Tensorflow One Hot Encoder?

Does tensorflow have something similar to scikit learn's one hot encoder for processing categorical data? Would using a placeholder of …

python machine-learning neural-network tensorflow
How to apply gradient clipping in TensorFlow?

Considering the example code. I would like to know How to apply gradient clipping on this network on the RNN …

python tensorflow machine-learning keras deep-learning
Keras ValueError: Input 0 is incompatible with layer conv2d_1: expected ndim=4, found ndim=5

I have checked all the solutions, but still, I am facing the same error. My training images shape is (26721, 32, 32, 1), which …

python tensorflow deep-learning keras conv-neural-network
AttributeError: 'Tensor' object has no attribute 'numpy'

How can I fix this error I downloaded this code from GitHub. predicted_id = tf.multinomial(tf.exp(predictions), num_…

python numpy tensorflow attributeerror tensor
How to add regularizations in TensorFlow?

I found in many available neural network code implemented using TensorFlow that regularization terms are often implemented by manually adding …

python neural-network tensorflow deep-learning
How do I disable TensorFlow's eager execution?

I am trying to learn TensorFlow. Currently, I am working with placeholders. When I tried to create the placeholder, I …

tensorflow
Installing Python3.6 alongside Python3.7 on Mac

I'm trying to install tensorflow onto a Mac with Python3.7. However, I'm getting the error: $ pip3 -v install tensorflow ... Skipping …

macos tensorflow python-3.6 python-3.7
Error while importing Tensorflow in Python 2.7 in Ubuntu 12.04. 'GLIBC_2.17 not found'

I have installed the Tensorflow bindings with python successfully. But when I try to import Tensorflow, I get the follwoing …

python ubuntu glibc tensorflow
Remove nodes from graph or reset entire default graph

When working with the default global graph, is it possible to remove nodes after they've been added, or alternatively to …

python tensorflow