1,501 questions
Advice
0 votes
1 replies
32 views
Variational Autoencoders Visualisation
I am unable to visualise how variational autoencoders work graphically. I have understood the equations but am unable to figure out how this would all translate visually, like what is the purpose of P(...
Best practices
0 votes
1 replies
27 views
Tensorflow Keras Autoencoder Masking Features not Timesteps
I have Conv1D autoencoder network, and i a have unreliable data source of a data stream, speaking i receive different event patterns at fixed interval of e.g. 2 seconds. Sometimes I have 4 different ...
0 votes
1 answer
170 views
CNN Autoencoder takes a very long time to train
I have been training a CNN Autoencoder on binary images (pixels are either 0 or 1) of size 64x64. The model is shown below: import torch import torch.nn as nn import torch.nn.functional as F class ...
1 vote
1 answer
116 views
LogVar layer of a VAE only returns zeros
I'm building a Variational auto encoder (VAE) with tfjs. For now I'm only exploring with the fashionMNIST dataset and a simple model as follows: input layer (28*28*1) flatten intermediate_1 (dense 50 ...
0 votes
0 answers
105 views
Autoencoder for multi-label classification task
I'm working on a multi-label classification problem using an autoencoder-based neural network built in PyTorch. The overall idea of my approach is as follows: I load my dataset from a CSV file, ...
0 votes
1 answer
89 views
gradient tape for custom loss function
I'm currently working with an autoencoder in hopes to test its accuracy vs pca. My tutor asked me to add a custom loss function that involves the derivatives of the decoder output with respect to the ...
0 votes
1 answer
52 views
LSTM autoencoder very poor results
I am working on blockchain transaction anomaly detection system and testing various models. Currently I am stuck on a LSTM autoencoder. I have preprocessed transaction data from ethereum network (used ...
-1 votes
1 answer
68 views
How do I display the images generated by an autoencoder?
I created an autoencoder using python, with no errors. However, I do not know the code for how do display the generated images from the autoencoder. The code of the autoencoder is shown below: import ...
1 vote
1 answer
88 views
How to implement an autoencoder model as PMML?
suppose we have the following model: how can we build such a model and export it as PMML file? is PMML capable to encode such model structure? what are the necessary component in PMML to generate N ...
1 vote
1 answer
2k views
The layer sequential has never been called and thus has no defined input error when trying to extract layers from sequential model
I am trying to extract the layers from a sequential model to build an autoencoder. I trained the model on some data but when I try to get model.input from my model I get an error saying that it has ...
0 votes
1 answer
38 views
Test step of VAE returns only 0s
I'm jumping back into a project I stopped working on last year (mostly). I had already encountered this issue, and this answer solved it back then. I am currently running basically the exact script ...
1 vote
0 answers
102 views
How to implement an Autoencoder for a binary dataset?
I was asked to create an Autoencoder that reconstructs the binary CSV file (decode). I implemented one based on the MNIST example from geeksforgeeks. But I am very uncertain about the correctness, ...
-1 votes
1 answer
47 views
Recreating Text Embeddings From An Example Dataset
I have a list of sentences, and a list of their ideal embeddings on a 25-dimensional vector. I am trying to use a neural network to generate new encodings, but I am struggling. While the model runs ...
4 votes
0 answers
454 views
Workaround for removal of add_loss()
I'm working through a Keras/Tensorflow course that uses Keras 2 to build a variational autoencoder and I'm trying to get it working in Keras 3. I've managed to overcome a lot of issues but I'm stuck ...
0 votes
0 answers
132 views
Convolutional Variational Autoencoder
I'm creating a Convolutional Variational Autoencoder with Tensorflow in Python code, with some images I created myself (64x64 pixels). My problem is, that if I use anything else than Binary ...