Home

Awesome

Mixture-based Feature Space Learning for Few-shot Image Classification

This repository contains the pytorch implementation of Mixture-based Feature Space Learning for Few-shot Image Classification paper presentation. This paper introduces Mixture-based Feature Space Learning (MixtFSL) for obtaining a rich and robust feature representation in the context of few-shot image classification. Previous works have proposed to model each base class either with a single point or with a mixture model by relying on offline clustering algorithms. In contrast, we propose to model base classes with mixture models by simultaneously training the feature extractor and learning the mixture model parameters in an online manner. This results in a richer and more discriminative feature space which can be employed to classify novel examples from very few samples.

Dependencies

  1. Numpy
  2. Pytorch 1.0.1+
  3. Torchvision 0.2.1+
  4. PIL

Train

  1. Hyper-parameters and training details are specified in <code>args_parser.py</code>.
  2. Run main from <code>main.py</code> to capture and test the best model in ./checkpoints.

Datasets

The project webpage

Please visit the project webpage for more information.

Citation

</code><pre> @InProceedings{Afrasiyabi_2021_ICCV, author = {Afrasiyabi, Arman and Lalonde, Jean-Fran{\c{c}}ois and Gagn{'e}, Christian}, title = {Mixture-Based Feature Space Learning for Few-Shot Image Classification}, booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)}, month = {October}, year = {2021}, pages = {9041-9051} } </code></pre>