Code Monkey home page Code Monkey logo

metric-learning-recognition's Introduction

Metric Learning Recognition

This repository contains code for metric learning-based recognition using PyTorch. Metric learning is a technique for learning similarity or distance metrics between data points. In the context of recognition, it helps improve the classification accuracy, especially in cases with imbalanced datasets and few-shot learning scenarios.

Features

  • Extract embeddings from images using pre-trained models.
  • Train the recognition model.
  • Add new classes to the existing model and update embeddings.

Requirements

Before running the code, make sure you have the following dependencies installed:

  • PyTorch
  • PyTorch Metric Learning
  • torchvision
  • Pillow (PIL)

You can install the required packages using the following command:

pip install -r requirements.txt

Contributing

Feel free to contribute to this project by opening issues or pull requests. Your feedback and contributions are welcome.

metric-learning-recognition's People

Contributors

lps08 avatar

Watchers

 avatar

metric-learning-recognition'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.