ShiqiYu / OpenGait

A flexible and extensible framework for gait recognition. You can focus on designing your own models and comparing with state-of-the-arts easily with the help of OpenGait.
664 stars 154 forks source link

What is the significance of "p" in TripletLoss #191

Closed ani0135 closed 3 months ago

ani0135 commented 4 months ago

System information (version)

Detailed description

What is the significance of "p" in TripletLoss? In forward of TripletLoss embeddings: [n, c, p], label: [n] and this is change into # [n, c, p] -> [p, n, c], why this permute has been done for embeddings and what is significance of "p" here?

Steps to reproduce

Issue submission checklist

ChaoFan996 commented 3 months ago

Hi, here 'p' means the part number. This permutation means that we will treat each part in parallel, i.e. separately.