378 questions with no answers
Advice
0
votes
0
replies
32
views
Why use loss threshold for anomaly detection using AutoEncoders?
Recently I have been practicing with AutoEncoders and trying to use them for anomaly detection. I have been told that using a threshold on the loss to classify anomalies (calibrated with roc-curve) is ...
0
votes
0
answers
110
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, ...
2
votes
0
answers
380
views
Sequential Complexity for Autoencoder
How can I compute the time complexity of the training of an Autoencoder that take in input an array of dimension 1xN and have only one hidden layer with with M neurons. So the matrices of weights are ...
1
vote
0
answers
103
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, ...
4
votes
0
answers
456
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
137
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 ...
0
votes
0
answers
44
views
Input mismatch in dense layer
I am using this autoencoder model to detect anomaly.
class AnomalyDetector(Model):
def __init__(self):
super(AnomalyDetector, self).__init__()
self.encoder = tf.keras.Sequential([
...
0
votes
0
answers
42
views
Correct shape and structure of Input Data for Autoencoder
i am trying to build my first Autoencoder for anomaly detection and i dont really know, how the Input Data has to be shaped in order to train the Model. I`ll give you Information about the Data and i ...
1
vote
0
answers
66
views
RuntimeError: shape '[1, 13, 13]' is invalid for input of size 13
I use LSTM-Autoencoder, took the model by this guy https://colab.research.google.com/drive/1_J2MrBSvsJfOcVmYAN2-WSp36BtsFZCa#scrollTo=vgUChGd_A-Bv,
for anomaly detection in time series
and got problem ...
1
vote
0
answers
53
views
Incompatible shape Keras Autoencoder
I'm relatively new and am trying to build an autoencoder for anomaly detection on an unlabelled dataset that only contains categorical columns.
The error I get is:
Incompatible shapes: [64,1,5346] vs. ...
0
votes
0
answers
58
views
Autograd returning None
I am trying to create a Contractive Autoencoder, and I read in a couple of papers that the main idea is to use the norm of the Jacobian of the encoder's output with respect to its inputs.
In other ...
0
votes
0
answers
70
views
Optimal autoencoder model for picture anomaly detection
I'm training an autoencoder to detect anomalies among pictures based on the decoder error value. I tried out different ways of image preprocessing, NN architectures, losses, activation functions, ...
0
votes
0
answers
70
views
Custom Loss Function with Principal Component Angle Calculation in PyTorch Not Differentiable?
Approach: I wrote a custom loss function in PyTorch that compares the angular difference between the original (input) and reconstructed images based on their first principal component axes. This ...
0
votes
0
answers
91
views
Pytorch input mismatch could be processed during the forward pass
I don't understand why the mismatch of the input size and the pytorch linear layer still could be processed during the forward pass
I tried my AE model with pytorch, the following is the model. I don'...
0
votes
0
answers
70
views
Weigh the losses for Supervised VAE Classifier
I am working in the field of audio classification.
Recently I have been trying to use Supervised VAE Classifier.
Here is the architecture I am using:
class VAE(nn.Module):
def __init__(self, ...