Skip to content

Tag: tensorflow

Reconstructing an image after using extract_image_patches

I have an autoencoder that takes an image as an input and produces a new image as an output. The input image (1x1024x1024x3) is split into patches (1024x32x32x3) before being fed to the network. Once I have the output, also a batch of patches size 1024x32x32x3, I want to be able to reconstruct a 1024x1024x3 i…

TensorFlow FileWriter not writing to file

I am training a simple TensorFlow model. The training aspect works fine, but no logs are being written to /tmp/tensorflow_logs and I’m not sure why. Could anyone provide some insight? Thank you Answer A combination of changing the file path from /temp/… to temp/… and adding summary_writer.fl…

What do the functions tf.squeeze and tf.nn.rnn do?

What do the functions tf.squeeze and tf.nn.rnn do? I searched these API, but I can’t find argument, examples etc. Also, what is the shape of p_inputs formed by the following code using tf.squeeze, and what is the meaning and case of using tf.nn.rnn? Answer The best source of answers to questions like th…