Giter Site home page Giter Site logo

lukasruff / deep-sad-pytorch Goto Github PK

View Code? Open in Web Editor NEW
332.0 332.0 97.0 674 KB

A PyTorch implementation of Deep SAD, a deep Semi-supervised Anomaly Detection method.

License: MIT License

Python 100.00%
anomaly-detection deep-anomaly-detection deep-learning machine-learning one-class-learning python python3 pytorch semi-supervised-learning

deep-sad-pytorch's People

Contributors

lukasruff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deep-sad-pytorch's Issues

Pretrain

Excuse me. Labeled outlier classes also should be put into the ae_net to train?

AttributeError: 'MyMNIST' object has no attribute 'targets

I faced with an issue with reading dataset:

File "/SVDD/Deep-SAD-PyTorch/src/datasets/mnist.py", line 66, in init
self.semi_targets = torch.zeros_like(self.targets)
AttributeError: 'MyMNIST' object has no attribute 'targets

Any hint?

About parameters for cifar10 experiment

Hi, can you share me corresponding parameters when you train deepSAD and pretrain autoencoder network using cifar10 datasets? I try several parameter sets, but ......., Thank you so much!

Network pretraining issue

Deep-SAD-PyTorch/src/DeepSAD.py, line 123

The encoder has different layer names than the network. As a result, the ae_net_dict here is an empty dictionary. One possible revision,
ae_net_dict = {k: v for k, v in ae_net_dict.items() if 'encoder' in k}

Error in pandas setup command

Hello, team! I got a problem when trying to execute the requirement.txt file. There seems syntax issue in pandas package. Not sure if it's caused by pandas 0.24.2 package or by the setup file. Can someone help look into it? Appreciate it!
Screenshot 2023-05-17 at 11 52 57

Making predictions in testing?

Once I've trained my DeepSAD model, I'd like to make a prediction using the trained model.

In my understanding, when making a prediction for one data, the anomaly score can be calculated using the norm-2 (I assume that the number 2 is omitted) as described in the paper.

Use of norm-2 in DeepSAD paper

Once the anomaly score is calculated, how do I use it to classify a given data?

Thanks in advance.

Time-series data

Great work! I enjoyed reading your paper.
I am just wondering whether this can be applied to time-series data?

thanks

data generator issue, may affect results.

Deep-SAD-PyTorch/src/datasets/preprocessing.py
In this file, row 45 46, idx_unlabeled_outlier and idx_known_outlier may intersect, since idx_known_outlier_candidates is a subset of idx_outlier.
That will affect the test results.

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.