Skip to content

Matching losses with miners #169

Closed
Closed
@goksinan

Description

@goksinan

I have two questions regarding using losses with miners:

  • Documentation says "...the library automatically converts pairs to triplets and triplets to pairs, when necessary", from this I understand that we can mix&match miners and losses. Is that correct or each loss works best with a specific miner?
  • Loss function uses samples to determine the distance, and distance is used to mine samples, so they kind of depend on each other. What is the relationship between the miner parameters (for instance the cutoff for DistanceWeightedMiner or margin for TripletMarginMiner) and the loss parameter (margin of TripletMarginLoss)? Are there any best practices in determining them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions