sushantmoon / memae-pytorch Goto Github PK
View Code? Open in Web Editor NEWMemory-augmented Deep Autoencoder (https://arxiv.org/abs/1904.02639) for Vector Data
License: MIT License
Memory-augmented Deep Autoencoder (https://arxiv.org/abs/1904.02639) for Vector Data
License: MIT License
During training, the encoder and decoder are optimized to minimize the reconstruction error. The memory contents are simultaneously updated to record the prototypical elements of the encoded normal data. Given a testing sample, the model performs reconstruction merely using a restricted number of the normal patterns recorded in the memory. As a result, the reconstruction tends to be close to the normal sample, resulting in small reconstruction errors for normal samples and large
errors on anomalies, which will be used as a criterion to detect the anomalies.
Help-seeking: In the original paper, the memory updates normal data during training. I see the initialization of the weight parameter in MemoryUnit. Is this the M matrix in the paper? If so, how does the matrix ensure that it gets normal data? If yes, is the M matrix not derived from the data in the training process? I'm a little confused.
Thanks for the good job!
Those variables are not defined in the run.py.
Is it dataloader?
I got some errors at runtime!-RuntimeError: Found dtype Long but expected Float. I suspect it is line 78 in run.py, loss.backward(), can you tell me why? Or an upload error?Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.