Code Monkey home page Code Monkey logo

memae-pytorch's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

memae-pytorch's Issues

How memory is updated

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.

hello friends i have some problems

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.