Skip to main content

All Questions

0 votes
1 answer
367 views

How to setup Keras Autoencoder and reshape() to process 224 x 224 jpg images using ImageDataGenerator?

I am trying to apply a Tensorflow Keras autoencoder implementation to my own dataset of 224 x 224 images belonging to 40 classes, which I have setup like: I'm using ImageDataGenerator to create ...
Jonathan Vance's user avatar
5 votes
1 answer
8k views

Tensorflow image_dataset_from_directory for input dataset and output dataset

I am trying to learn image auto encoding but I can't use input and output images to train the model ex: input images folder: ".../Pictures/Input" output images folder: ".../Pictures/...
Emre Özincegedik's user avatar
0 votes
1 answer
1k views

Denoising Autoencoder returns a mostly black image

I have some faces cropped out of images, and I want to run them through a denoising autoencoder, the code which I got from here. When I run the code on the MNIST dataset, the results look fine, like ...
robotobio's user avatar
1 vote
1 answer
2k views

Variational Autoencoder loss is increasing

This is my particular code for creating an abnormal convolutional autoencoder and my problem is the loss function is not able to converge to anything at all. I have tried different optimizers for ...
BlackSpecter's user avatar
1 vote
1 answer
485 views

keras error in fit method : expected model_2 to have shape (None, 252, 252, 1) but got array with shape (300, 128, 128, 3)

I am building a image classifier for one-class classification in which i've used autoencoder. While running this model I am getting this error by the line autoencoder_model.fit: ValueError: Error ...
Dexter's user avatar
  • 630
3 votes
2 answers
2k views

ValueError: Error when checking target: expected model_2 to have shape (None, 252, 252, 1) but got array with shape (300, 128, 128, 3)

hi I am building a image classifier for one-class classification in which i've used autoencoder while running this model I am getting this error by this line (autoencoder_model.fit) (ValueError: Error ...
Dexter's user avatar
  • 630
-2 votes
1 answer
2k views

Pre-Trained model to extract the feature of the images tensorflow?

Could someone please provide details of model available to extract the feature of images model for tensorflow or Keras? I have been looking for pre-trained models that will extract the features of the ...
sakthi vel's user avatar