Comparing only samples of specific classes #341
-
Of the examples I've checked so far, they all involve creating models that compare all classes of samples from the dataset to one another, however I have a slightly different use-case that arises as a result of my current dataset structure. In my case, I have a dataset of objects that looks something like so (with each
and I'd like to compare only classes from within the same scene during training. The reason for this being that I cannot guarantee that each of the classes across scenes corresponds to the same thing, i.e. In fact, it's incredibly unlikely that they're the same thing, but technically possible, so I'd like to avoid cross- As a complete novice to metric learning, I was wondering if this type of problem has a name (as I've been unable to find anything so far), and if anyone could provide advice on where I should start looking in order to modify for example the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
If You could do this in your Dataset class, so you don't have to change the folders. What I mean is something like this:
|
Beta Was this translation helpful? Give feedback.
If
scene_0/class_0
doesn't share any characteristics ofscene_1/class_0
, how about just renumbering the classes?You could do this in your Dataset class, so you don't have to change the folders.
What I mean is something like this: