All Questions
9 questions
0
votes
1
answer
509
views
VAE issue with tensorflow
I am trying to build a VAE using the MNIST dataset.
Error:
--------------------------------------------------------------------------- AttributeError Traceback (most recent ...
1
vote
1
answer
6k
views
AttributeError: 'Tensor' object has no attribute 'numpy' while extending keras sequential model
I am trying to compile a Keras Sequential model (in TF2) in the eager execution mode.
Following is my custom layer:
class CustomLayer(Layer):
def __init__(self, output_shape, **kwargs):
self....
1
vote
1
answer
239
views
Trying to tying the weights of the encoder and decoder layer but getting this unknown error for the Reshaping layer
Trying to tying the weights of the encoder and decoder layer but getting this unknown error for the Reshaping layer. My tensorflow version is up to date, and I imported the layers from tensorflow....
0
votes
1
answer
462
views
Conv1dTranspose creates the wrong dimensions
I'm trying to build an undercomplete autoencoder for music dimensionality reduction. My Autoencoder class is modular, I can give in input a list of convlayers sizes and it creates me automatically the ...
2
votes
1
answer
295
views
How to extract the hidden vector (the output of the ReLU after the third encoder layer) as the image representation
I am implementing an autoencoder using the Fashion Mnsit dataset. The code for the encoder-
class MNISTClassifier(Model):
def __init__(self):
super(MNISTClassifier, self).__init__()
...
0
votes
1
answer
675
views
Value error after fitting my custom model
I am creating an encoder on the fashion MNIST dataset. The encoder consists of three layers, Each input image is flattened into a dimensionality of 784. The three encoder layers are with output ...
0
votes
1
answer
178
views
Dimensional error in the keras fit function (Conditional variational autoencoder in keras)
I am trying to implement a conditional autoencoder, which is really very straightforward, and getting errors while making the fit function work. Here is the full code snippet
import numpy as np
import ...
1
vote
0
answers
739
views
How to load a large image dataset efficiently?
I am trying to work on an image colorizer using autoencoders. The 'input' is a grayscale image and the 'labels' are their corresponding color images. I am trying to get it to work on google colab on a ...
-1
votes
2
answers
84
views
Why did my style-transfer model suddenly stop learning after 3700/20000 batches?
continued from before: Why does my model work with `tf.GradientTape()` but fail when using `keras.models.Model.fit()`
I'm working on replicating the perceptual style transfer model as diagrammed ...