关于 TripletMarginLoss + CrossBatchMemory 的奇怪现象

作者: DoItWithMe创建于 2025年5月20日更新于 2025年10月9日
标签bug

When I use TripletMarginLoss + CrossBatchMemory for training, I encounter the following bug when calculating the loss of the second batch of data.

内容来源: KevinMusgrave/pytorch-metric-learning