Top "Tensorflow" questions

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

TensorFlow - regularization with L2 loss, how to apply to all weights, not just last one?

I am playing with a ANN which is part of Udacity DeepLearning course. I have an assignment which involves introducing …

machine-learning neural-network tensorflow deep-learning regularized
Trouble with TensorFlow in Jupyter Notebook

I installed Jupyter notebooks in Ubuntu 14.04 via Anaconda earlier, and just now I installed TensorFlow. I would like TensorFlow to …

python tensorflow jupyter
What does tf.nn.embedding_lookup function do?

tf.nn.embedding_lookup(params, ids, partition_strategy='mod', name=None) I cannot understand the duty of this function. Is …

python tensorflow deep-learning word-embedding natural-language-processing
What's the purpose of tf.app.flags in TensorFlow?

I am reading some example codes in Tensorflow, I found following code flags = tf.app.flags FLAGS = flags.FLAGS flags.…

python tensorflow
What is the difference between np.mean and tf.reduce_mean?

In the MNIST beginner tutorial, there is the statement accuracy = tf.reduce_mean(tf.cast(correct_prediction, "float")) tf.cast …

python numpy machine-learning mean tensorflow
How do I get the weights of a layer in Keras?

I am using Windows 10, Python 3.5, and tensorflow 1.1.0. I have the following script: import tensorflow as tf import tensorflow.contrib.keras.…

python tensorflow deep-learning keras keras-layer
How to fix "AttributeError: module 'tensorflow' has no attribute 'get_default_graph'"?

I am trying to run some code to create an LSTM model but i get an error: AttributeError: module 'tensorflow' …

python tensorflow keras keras-layer tf.keras
How do I convert a directory of jpeg images to TFRecords file in tensorflow?

I have training data that is a directory of jpeg images and a corresponding text file containing the file name …

tensorflow tfrecord
ImportError: libcublas.so.9.0: cannot open shared object file

currently I have cuda 8.0 and cuda 9.0 installed in Gpu support system. I ran into this error while importing from keras …

python-3.x tensorflow cuda keras
Install Tensorflow 2.0 in conda enviroment

I would like to know if anyone knows how can I install tensorflow==2.0.0-alpha0 in a conda enviroment using python 3.7. …

python tensorflow conda