All Projects → chencodeX → triplet-loss-pytorch

chencodeX / triplet-loss-pytorch

Licence: other
A generic triplet data loader for image classification problems,and a triplet loss net demo.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to triplet-loss-pytorch

street2shopTriplet
Challenge the customer to shop task with tripletNet
Stars: ✭ 14 (-80%)
Mutual labels:  triplet-loss
graphql-spotify
GraphQL Schema And Resolvers For Spotify Web API
Stars: ✭ 55 (-21.43%)
Mutual labels:  dataloader
tf-triplet-demo
This project implements triplet loss and semi-hard mining in tensorflow.
Stars: ✭ 13 (-81.43%)
Mutual labels:  triplet-loss
MHCLN
Deep Metric and Hash Code Learning Network for Content Based Retrieval of Remote Sensing Images
Stars: ✭ 30 (-57.14%)
Mutual labels:  triplet-loss
dataloader
Dataloader is a generic utility for batch data loading with caching, works great with GraphQL
Stars: ✭ 114 (+62.86%)
Mutual labels:  dataloader
wp-graphql
WordPress REST API exposed via GraphQL
Stars: ✭ 59 (-15.71%)
Mutual labels:  dataloader
MobilePose
Light-weight Single Person Pose Estimator
Stars: ✭ 588 (+740%)
Mutual labels:  dataloader
Fine-Grained-or-Not
Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral)
Stars: ✭ 32 (-54.29%)
Mutual labels:  fine-grained-classification
ProtoTree
ProtoTrees: Neural Prototype Trees for Interpretable Fine-grained Image Recognition, published at CVPR2021
Stars: ✭ 47 (-32.86%)
Mutual labels:  fine-grained-classification
image triplet loss
Image similarity using Triplet Loss
Stars: ✭ 76 (+8.57%)
Mutual labels:  triplet-loss
Signature-verification-using-deep-learning
Using SigComp'11 dataset for signature verification
Stars: ✭ 54 (-22.86%)
Mutual labels:  triplet-loss
graphql-modules-app
TypeScripted Apollo GraphQL Server using modules and a NextJS frontend utilising React modules with Apollo hooks. All bundled with a lot of dev friendly tools in a lerna setup..
Stars: ✭ 39 (-44.29%)
Mutual labels:  dataloader
Tensorflow-data-loader
Reading data into tensorflow using tf.data function
Stars: ✭ 15 (-78.57%)
Mutual labels:  dataloader
SFDX-Data-Move-Utility-Desktop-App
This repository contains the special Desktop GUI Application, that will help you to prepare and execute data migration packages using the SFDMU Plugin.
Stars: ✭ 65 (-7.14%)
Mutual labels:  dataloader
keras-triplet-center-loss
Simple Keras implementation of Triplet-Center Loss on the MNIST dataset
Stars: ✭ 34 (-51.43%)
Mutual labels:  triplet-loss
MTL-AQA
What and How Well You Performed? A Multitask Learning Approach to Action Quality Assessment [CVPR 2019]
Stars: ✭ 38 (-45.71%)
Mutual labels:  fine-grained-classification
postloader
A scaffolding tool for projects using DataLoader, Flow and PostgreSQL.
Stars: ✭ 52 (-25.71%)
Mutual labels:  dataloader
finetuner
Finetuning any DNN for better embedding on neural search tasks
Stars: ✭ 442 (+531.43%)
Mutual labels:  triplet-loss
UtterancePIT-Speech-Separation
According to funcwj's uPIT, the training code supporting multi-gpu is written, and the Dataloader is reconstructed.
Stars: ✭ 55 (-21.43%)
Mutual labels:  dataloader
TorchBlocks
A PyTorch-based toolkit for natural language processing
Stars: ✭ 85 (+21.43%)
Mutual labels:  triplet-loss

triplet loss pytorth

本项目使用了pytorch本身自带的TripletMarginLoss 来实现三元组损失。同时自己设计了一个高度兼容的组织三元组数据的Dataloader。

Dataloader 的实现参考了pytorch本身Dataloader的设计理念,使用了数据缓冲区和线程池配合的方案,能让你的模型在GPU上全力运算的同时,CPU和IO提前为你准备好下一个batch的数据。

简而言之,手离键盘脚离地的使用它!

在训练文件中,你可以看到如何使用这个三元组数据装载器的示例,在这里我使用了一个细粒度分类的任务进行处理。 并同时使用了TripletMarginLoss和CrossEntropyLoss进行训练,因为多次的实验表明,这种组合的方式会得到更好的效果(最起码它会收敛更快:))。

Exposure

:name

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].