Skip to content

Quantization of Image classifiers and Object detectors. Bachelor thesis at Faculty of Informatics and Information Technologies, Slovak University of Technology in Bratislava

Notifications You must be signed in to change notification settings

marekninja/BachelorCode

Repository files navigation

BachelorCode

Quantization of Image classifiers and Object detectors

ResNet - Done

Quantization of ResNet18

  • 8 bit, 7 bit, 6 bit, 5 bit
  • 4 bit
  • Mixed

Loss-Aware Quantization of ResNet18

  • 4bit

Loss-Aware Quantization of ResNet18

  • 4bit + 8bit

Quantization of ResNet50

  • 8bit
  • 4bit
    • (maybe deeper network won't lose acc due to quant.)
  • Mixed

SSD - Done

Not working implementations

            # mask = score > 0.05 original
            mask = score > 0.02

            bboxes, score = bboxes_in[mask, :], score[mask]
            if score.size(0) == 0: continue

            score_sorted, score_idx_sorted = score.sort(dim=0)
  • problems with masking probabilities in tensors (maybe needs full prec. layer)
  • if mask = score > 0.02, then has some predictions, if mask = score > 0.05, then all probabalities are False

SSD.ipynb

  • doesnt work

SSD_2.ipynb

Resources:

  • not all used

https://github.com/NervanaSystems/distiller https://nervanasystems.github.io/distiller/ https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD https://github.com/amdegroot/ssd.pytorch https://github.com/qfgaohao/pytorch-ssd

About

Quantization of Image classifiers and Object detectors. Bachelor thesis at Faculty of Informatics and Information Technologies, Slovak University of Technology in Bratislava

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published