eager-execution Questions
3
Solved
Can somebody explain, how does TensorFlow's eager mode work? I am trying to build a simple regression as follows:
import tensorflow as tf
import numpy as np
tfe = tf.contrib.eager
tf.enable_eager_...
O asked 18/1, 2019 at 13:52
2
I am trying to follow along with the guide at http://www.hackevolve.com/where-cnn-is-looking-grad-cam/, using Tensorflow's new eager execution mode. One line in particular has me stumped:
grads = ...
Bascinet asked 22/6, 2019 at 0:11
3
Solved
I watched the Tensorflow Developer's summit video on Eager Execution in Tensorflow, and the presenter gave an introduction to "Gradient Tape." Now I understand that Gradient Tape tracks the automat...
Fibrosis asked 28/12, 2018 at 2:39
2
Solved
I am playing around with TensorFlow, and I am trying to export a Keras Model as a TensorFlow Model. And I ran into the above-mentioned error. I am following the "Build Deep Learning Applications wi...
Guyenne asked 30/3, 2020 at 5:1
3
Solved
I am trying to implement sample- and pixel-dependent dependent loss weighting in tf.Keras (TensorFlow 2.0.0rc0) for a 3-D U-Net with sparse annotation data (Cicek 2016, arxiv:1606.06650).
This is ...
Dion asked 29/8, 2019 at 7:5
1
Solved
The word "tracing" is mentioned frequently in TensorFlow's guide like Better performance with tf.function
What is "tracing" exactly, does it refer to generating the graph as a ...
Chalybeate asked 2/7, 2020 at 20:57
2
Solved
Consider the following function
def foo(x):
with tf.GradientTape() as tape:
tape.watch(x)
y = x**2 + x + 4
return tape.gradient(y, x)
The call to tape.watch(x) is necessary if the function...
Zeeba asked 1/2, 2019 at 12:42
2
I'm trying to run a basic CNN keras model in Eager Execution but Tensorflow refuses to treat the model as eager.
I originally attempted this in stable 1.13 branch (latest), making sure to enable ea...
Armijo asked 9/5, 2019 at 14:44
1
So this question might stem from a lack of knowledge about tensorflow. But I am trying to build a multilayer perceptron with tensorflow 2.0, but without Keras.
The reason being that it is a require...
Calumniate asked 19/11, 2019 at 11:55
1
Solved
I'm using TF2 installed via pip in a ubuntu 18.04 box
$ pip freeze | grep "tensorflow"
tensorflow==2.0.0
tensorflow-estimator==2.0.1
And I'm playing with a custom layer.
import tensorflow as tf...
Onomatopoeia asked 14/11, 2019 at 13:28
1
Solved
I am using TensorFlow 1.12 in eager execution, and I want to inspect the values of my gradients and my weights at different points during training for debugging purposes. This answer uses TensorBoa...
Estey asked 8/9, 2019 at 23:55
1
Solved
I have an conda environment with Tensorflow 2.0.0-beta1 installed. However whenever I import tensorflow and attempt to enable eager execution I get the error :
AttributeError: module 'tensorflow'...
Fever asked 26/7, 2019 at 10:51
1
I have met a snippet of code of tensorflow 2.0, which is used for calculating the loss. The total loss is composed of two parts: 1) regularization loss, 2) prediction loss. My question is why model...
Oocyte asked 20/6, 2019 at 21:4
1
I load an image using tensor flow api (2.0) like so :
def load(image_file):
image = tf.io.read_file(image_file)
image = tf.image.decode_jpeg(image)
Now that I have this object, I want to show...
Cyndy asked 4/5, 2019 at 21:33
1
Solved
Actually, I find the problem already in TensorFlow 1.13.0. (tensorflow1.12.0 works well).
My code is listed as a simple example:
def Lambda layer(temp):
print(temp)
return temp
which is used ...
Burnside asked 15/4, 2019 at 5:16
1
© 2022 - 2024 — McMap. All rights reserved.