CoinCheung / pytorch-loss

label-smooth, amsoftmax, partial-fc, focal-loss, triplet-loss, lovasz-softmax. Maybe useful

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何调用tripletloss?

392398741nm opened this issue · comments

你好,请问如何调用tripletloss来训练CNN实现图像分类?怎么从数据集中创建三元组呢?谢谢。

可能要根据实际的标签值来创建三元组?