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

Why batch shuffle affects deepgaitv2 training results #217

Open light201212 opened 1 month ago

light201212 commented 1 month ago

Batch_shuffle simply disrupts the order of person IDs, and when calculating triple loss, all embeddings are put together, Shuffle has no effect on the calculation of triple loss. Will softmax be affected? If it doesn't affect why there will be differences in training results. Did I misunderstand somewhere.Thank you for your help.

jdyjjj commented 3 weeks ago

Deepgaitv2 uses 3D convolution to extract temporal features, which is more helpful in extracting temporal features in order than in random order.