pytorch-metric-learning icon indicating copy to clipboard operation
pytorch-metric-learning copied to clipboard

Add a "tuples_per_anchor" or "num_tuples" argument to BaseTupleMiner

Open KevinMusgrave opened this issue 4 years ago • 0 comments

This would allow users to limit the number of pairs/triplets returned by a miner. The triplets_per_anchor flag would be removed from TripletMarginLoss and MarginLoss. See #192 for related discussion.

KevinMusgrave avatar Sep 09 '20 16:09 KevinMusgrave