python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Issue with Tensorflow tensor and eager execution
I would like to convert a Tensorflow tensor into a numpy array.
My code looks as follows:
t = tf.gather_nd(angle, [1,1]) # extract row 1, column 1 element of angle tensor
t = t.numpy() # convert tens...

Thomas Karl
Votes: 0
Answers: 1
tensorflow: load checkpoint
I've been training a model which looks a bit like:
base_model = tf.keras.applications.ResNet50(weights=weights, include_top=False, input_tensor=input_tensor)
for layer in base_model.layers:
layer...
Ian Newson
Votes: 0
Answers: 1
Adding randomness to the performing of image augmentation while using tf.data.dataset.from_tensor_slices with tf.cond
Good day to all!
I am trying to add the possibility to control the "randomness" of the augmentation, which is applied to the image data. This means that I perform every augmentation operatio...
Denis D.
Votes: 0
Answers: 0
When i use tensorflow 2.8.0 to fine-tune bert meet this bug: hub.KerasLayer(tfhub_handle_preprocess) 'CaseFoldUTF8'?
my code follows:
bert_model_name = 'small_bert/bert_en_uncased_L-4_H-512_A-8'
map_name_to_handle = {'small_bert/bert_en_uncased_L-4_H-512_A-8':
'https://tfhub.dev/tensorflow/small_bert/bert_en...

candace_Li
Votes: 0
Answers: 1

