pml online with Winfy

We have hosted the application pml in order to run this application in our online workstations with Wine or directly.


Quick description about pml:

This library contains 9 modules, each of which can be used independently within your existing codebase, or combined together for a complete train/test workflow. To compute the loss in your training loop, pass in the embeddings computed by your model, and the corresponding labels. The embeddings should have size (N, embedding_size), and the labels should have size (N), where N is the batch size. The TripletMarginLoss computes all possible triplets within the batch, based on the labels you pass into it. Anchor-positive pairs are formed by embeddings that share the same label, and anchor-negative pairs are formed by embeddings that have different labels. Loss functions can be customized using distances, reducers, and regularizers. In the diagram below, a miner finds the indices of hard pairs within a batch. These are used to index into the distance matrix, computed by the distance object. For this diagram, the loss function is pair-based, so it computes a loss per pair.

Features:
  • Customize loss functions
  • Use loss functions for unsupervised / self-supervised learning
  • Required PyTorch version torch >= 1.6
  • Development is done on the dev branch
  • Code is formatted using black and isort
  • You can specify the test datatypes and test device as environment variables


Programming Language: Python.
Categories:
Machine Learning, Diagram

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.