Skip to main content

All Questions

1 vote
1 answer
80 views

load images for Auto-enncoder with keras ImageDataGenerator questions

dear community. I have a dataset folder split into X and Y that are meant to be fed to an Auto-encoder The X is the modified version of the Y, which means that the model should learn to turn X into Y ...
Iyad Abdelmoumen MECHEGUEG's user avatar
1 vote
0 answers
98 views

How to reconstruct the decoder from an LSTM-AE?

I have a trained LSTM-AE, of which the architecture is as follows: In brief, I have an LSTM-AE of depth 3, the number of cells on the LSTM layers on the encoder side are [120, 80, 50] (and symmetric ...
Elise Le's user avatar
0 votes
0 answers
61 views

How to solve error "ValueError: No gradients provided for any variable" when building CNN for autoencoder?

I'm trying to build a CNN model for Autoencoder. My code contains 3 functions: Autoencoder contains the layers of my CNN. make_autoencoder_model initializes the model. fit_model_on_cifar10 to fit ...
Akira's user avatar
  • 2,894
0 votes
1 answer
2k views

ValueError: Dimensions must be equal (keras)

I'm trying to train an autoencoder but have problems in reshaping my X_train to fit it to my model model(). from tensorflow import keras from keras.layers import * from keras.models import Model from ...
Sunshine's user avatar
  • 191
1 vote
1 answer
225 views

Keras functional api Graph disconnected error

The following code is giving me a graph disconnected error but I cant work out where it is coming from and am not sure how to go about debugging. The error is being thrown on the last line decoder = ...
seanysull's user avatar
  • 740
0 votes
0 answers
362 views

How to find loss function values in unsupervised learning with Autoencoder?

To simplify my story: I was trying to test dimensionality reduction on my UNLABELED data with the encoder method using keras/tensorflow. So I looked at the internet and found a nice code that might ...
user026's user avatar
  • 702
0 votes
1 answer
711 views

Keras - ValueError: Output of generator should be a tuple `(x, y, sample_weight)` or `(x, y)`. Found: [[[[0.54901963] [0.5372549 ]

So I try to train an autoencoder using ImageDataGenerator using this script : from keras.preprocessing.image import ImageDataGenerator batch_size = 128 train_datagen = ImageDataGenerator(rescale=1./...
Bobbyphtr's user avatar
  • 115
0 votes
1 answer
143 views

Convolutional Auto Encoder Decoder error in Keras

I'm attempting to train a convolutional auto-encoder to recreate images that are 80X130 I've added all the necessary imports, and I'm writing it in python 3.7 This is the error I get: Traceback (...
William Dwinnell's user avatar
2 votes
0 answers
204 views

Deep convolutional autoencoder problem - encoding dimension too large

I recently built a convolutional autoencoder, upon which I built a sling of other networks. I just now realized that I made a fundamental mistake (should have seen it way earlier too). I thought my ...
Inkidu616's user avatar
  • 399
4 votes
1 answer
804 views

Autofilter for Time Series in Python/Keras using Conv1d

It may looks like a lot of code, but most of the code is comments or formatting to make it more readable. Given: If I define my variable of interest, "sequence", as follows: # define input sequence ...
EngrStudent's user avatar
  • 2,022
-1 votes
1 answer
21 views

Unable to infer using Autoencoders neural network model (model.h5)

As per the link https://medium.com/@curiousily/credit-card-fraud-detection-using-autoencoders-in-keras-tensorflow-for-hackers-part-vii-20e0c85301bd we are trying to run fraud detection using ...
Asha Datla's user avatar
0 votes
1 answer
1k views

How apply Gridsearch on autoencoder model?

I want to apply GridSearchCV on the autoencoder model. The code of the atuoencoder and GridSearchCV is added below please tell me how I change this code to run GridSearchCV successfully. ...
Waseem Randhawa's user avatar
1 vote
1 answer
903 views

Memory error while running LSTM Autoencoders

I am setting up an LSTM Autoencoder with multivariant time sequences. Each of my sequence has different time steps(approximately 30 million steps in one sequence) and 6 features. I know to give one ...
Simran Agarwal's user avatar
1 vote
1 answer
167 views

Mismatch in shape size of conv2d layer within autoencoder

I am building(reusing) a convolutional autoencoder but I am having an issue with the last conv2D layer as it's expecting a shape of (180,116,1) but receiving (184,120,1)[which is the shape of my ...
user1593995's user avatar
1 vote
1 answer
443 views

Saving an Auto-encoder trained to reduce dimensions

I made an autoencoder for dimensionality reduction, I wanted to save it to be used in the reduction of the test dataset. Here is my code dom_state = seed(123) print('Rescaling Data') y = minmax_scale(...
Gerard's user avatar
  • 518

15 30 50 per page