Giter VIP home page Giter VIP logo

fixmatch-exploration's Introduction

FixMatch & SSL Exploration

Final project of the KTH DD2412 - Deep Learning, Advanced course.

The scope of this project is to replicate FixMatch, a method developed by Google researchers in order to perform semi-supervised learning.

The tasks we performed are the followings:

  1. Replication of the method using PyTorch and training on CIFAR-10 and SVHN datasets.
  2. Unbalance the supervised classes number of samples when training.
  3. Varying the labeled-unlabeled data ratio.
  4. Employing the merge of different datasets of the same nature as unlabeled data, SVHN and MNIST in this case.

The main outcomes obtained in each task can be seen below. In order to get a deeper insight of our findings, go to FixMatch & SLL Exploration.

  • Task 1:
Dataset Labeled Samples Test Accuracy
CIFAR-10 4000 90.70%
CIFAR-10 250 85.44%
CIFAR-10 40 64.44%
SVHN 250 95.29%
Accuracy CIFAR-10 40 labels Accuracy CIFAR-10 250 labels
Accuracy CIFAR-10 40 labels. Accuracy CIFAR-10 250 labels.
Accuracy CIFAR-10 4000 labels Accuracy SVHN 250 labels
Accuracy CIFAR-10 4000 labels. Accuracy SVHN 250 labels.
  • Task 2:
Dataset Scaling Factor Test Accuracy Class 3 Test Accuracy Class 5
SVHN 1 92.44% 95.18%
SVHN 0.5 91.29% 96.35%
SVHN 1.5 95.62% 97.06%
Confusion matrix SVHN class 3 not scaled Confusion matrix SVHN class 3 downscaled 50% Confusion matrix SVHN class 3 upscaled 50%
Confusion matrix SVHN class 3 not scaled. Confusion matrix SVHN class 3 downscaled 50%. Confusion matrix SVHN class 3 upscaled 50%
  • Task 3:
Dataset Percentage of Total Unlabeled Data Test Accuracy
CIFAR-10 25% 49.00%
CIFAR-10 50% 51.23%
CIFAR-10 75% 57.93%
CIFAR-10 100% 64.44%
Accuracy CIFAR-10 25% unlabeled data Accuracy CIFAR-10 50% unlabeled data
Accuracy CIFAR-10 25% unlabeled data. Accuracy CIFAR-10 50% unlabeled data.
Accuracy CIFAR-10 75% unlabeled data Accuracy CIFAR-10 100% unlabeled data
Accuracy CIFAR-10 75% unlabeled data. Accuracy CIFAR-10 100% unlabeled data.
  • Task 4:
Labeled Data Dataset Unlabeled Data Datasets Test Dataset Test Accuracy
SVHN SVHN SVHN 95.29%
SVHN SVHN MNIST 73.01%
SVHN SVHN and MNIST SVHN 96.51%
SVHN SVHN and MNIST MNIST 86.04%
Confusion matrix SVHN merged unlabeled data Confusion matrix MNIST merged unlabeled data
Confusion matrix SVHN merged unlabeled data. Confusion matrix MNIST merged unlabeled data.

fixmatch-exploration's People

Contributors

adrian-camp avatar adrian-cr-es avatar fernando2393 avatar gustavo-beck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fixmatch-exploration's Issues

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.