File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class BalanceBatchSampler(Sampler):
3636
3737 One of the purposes of this sampler is to be used for
3838 forming triplets and pos/neg pairs inside the batch.
39- To guarante existance of these pairs in the batch,
39+ To guarantee existence of these pairs in the batch,
4040 P and K should be > 1. (1)
4141
4242 Behavior in corner cases:
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class BatchBalanceClassSampler(Sampler):
125125
126126 One of the purposes of this sampler is to be used for
127127 forming triplets and pos/neg pairs inside the batch.
128- To guarante existance of these pairs in the batch,
128+ To guarantee existence of these pairs in the batch,
129129 `num_classes` and `num_samples` should be > 1. (1)
130130
131131 This type of sampling can be found in the classical paper of Person Re-Id,
You can’t perform that action at this time.
0 commit comments