Skip to content

Commit b015f9d

Browse files
committed
fix: correct typos 'guarante' and 'existance'
1 parent e99f906 commit b015f9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

catalyst/contrib/data/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

catalyst/data/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)