Add triplet for training models
Hi,If I want to add triplet for training how should I add it to the project in a reasonable way?
could you please describe triplet in more details?
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
I'd like to add triplet loss as a train loss, It is hoped that images with different angles of the same ID can learn similar features.
The source code I plan to use for Tripletloss is : torch.nn — PyTorch master documentation
***@***.***
---- Replied Message ----
From
***@***.***>
Date
8/1/2022 18:16
To
***@***.***>
Cc
***@***.***>
,
***@***.***>
Subject
Re: [open-mmlab/mmpose] Add triplet for training models (Issue #1529)
could you please describe triplet in more details?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Maybe you can add a custom dataset to generate triplets. I am not sure.
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
But how to deal with batch size. for I've read 'bottomup coco dataset' and it just catch data by function 'get_single', how mmpose load new data? like use forward or iter function? Could you please point the specific code files and line numbers? Thanks!
***@***.***
---- Replied Message ----
From
***@***.***>
Date
8/1/2022 18:32
To
***@***.***>
Cc
***@***.***>
,
***@***.***>
Subject
Re: [open-mmlab/mmpose] Add triplet for training models (Issue #1529)
Maybe you can add a custom dataset to generate triplets. I am not sure.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>