Skip to content

Commit 42afb6b

Browse files
Merge pull request #25 from WildlifeDatasets/dev
fix typo
2 parents 71aa465 + 7c46d28 commit 42afb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wildlife_tools/train/objective.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class TripletLoss(nn.Module):
3737
3838
"""
3939

40-
def __init__(self, margin: int = 0.2, mining: str = "seminard", distance: str = "l2_squared"):
40+
def __init__(self, margin: int = 0.2, mining: str = "semihard", distance: str = "l2_squared"):
4141
super().__init__()
4242
if distance == "cosine":
4343
distance = distances.CosineSimilarity()

0 commit comments

Comments
 (0)