Skip to content

Commit 45dc0e1

Browse files
authored
Update ThreeDMatch.py
warnings rephrased
1 parent 5289a46 commit 45dc0e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datasets/ThreeDMatch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def __getitem__(self, index):
339339
num_neg = self.num_node - num_pos
340340

341341
if len(pos_indices) < num_pos or len(neg_indices) < num_neg:
342-
print("Not enough positive or negative points to satisfy the 0.60-0.40 ratio. so repeating samplinf will be used!")
342+
print("Not enough positive or negative points to satisfy the 0.60-0.40 ratio. so repeating sampling will be used!")
343343

344344
if len(pos_indices) < 5:
345345
sampled_indices = np.random.choice(len(labels), self.num_node, replace=True)
@@ -496,7 +496,7 @@ def __getitem__(self, index):
496496
num_neg = self.num_node - num_pos
497497

498498
if len(pos_indices) < num_pos or len(neg_indices) < num_neg:
499-
print("Not enough positive or negative points to satisfy the 0.60-0.40 ratio. so repeating samplinf will be used!")
499+
print("Not enough positive or negative points to satisfy the 0.60-0.40 ratio. so repeating sampling will be used!")
500500

501501

502502
if len(pos_indices) < 5:

0 commit comments

Comments
 (0)