Giter VIP home page Giter VIP logo

Comments (2)

lukasruff avatar lukasruff commented on August 22, 2024

Thanks for the kind words.

To use Deep SVDD on your custom image datasets, you would have to write a DataLoader sub-class that specifies how the data can be loaded and should be pre-processed (.load_data method). Moreover, you must specify a neural network architecture you would like to apply for your data (. build_architecture method and .build_autoencoder method if you would like to pretrain via autoencoder, which I recommend).

Have a look at mnist.py and cifar10.py in the src/datasets directory to see how this is implemented for MNIST and CIFAR-10.

Also, I will release a cleaner and simpler PyTorch implementation of the method soon for which it will be easier to use implement your own datasets.

from deep-svdd.

pavanvyn avatar pavanvyn commented on August 22, 2024

Hello, I am using your code for my dataset. I have a few queries -

  1. My training data is labelled while my testing data is not. How should I go about implementing your code? What changes should I make?
  2. Regarding the data loader, I am confused about the syntax. Do I load my data through a .csv file or provide a path to my image directories? I have been unable to find decent methods to implement the data loading.
  3. For my case, do I have to edit the base directory modules in any way? I realize that I don't have to edit the optim and the util modules.

Thank you.

from deep-svdd.

Related Issues (14)

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.