Spaces:
Sleeping
Sleeping
int32 to float
Browse files- triplet_margin_loss.py +3 -3
triplet_margin_loss.py
CHANGED
@@ -77,9 +77,9 @@ class TripletMarginLoss(evaluate.EvaluationModule):
|
|
77 |
inputs_description=_KWARGS_DESCRIPTION,
|
78 |
features=datasets.Features(
|
79 |
{
|
80 |
-
"anchor": datasets.Sequence(datasets.Value("
|
81 |
-
"positive": datasets.Sequence(datasets.Value("
|
82 |
-
"negative": datasets.Sequence(datasets.Value("
|
83 |
}
|
84 |
),
|
85 |
reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],
|
|
|
77 |
inputs_description=_KWARGS_DESCRIPTION,
|
78 |
features=datasets.Features(
|
79 |
{
|
80 |
+
"anchor": datasets.Sequence(datasets.Value("float")),
|
81 |
+
"positive": datasets.Sequence(datasets.Value("float")),
|
82 |
+
"negative": datasets.Sequence(datasets.Value("float"))
|
83 |
}
|
84 |
),
|
85 |
reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],
|