Skip to content

Commit

Permalink
fix: ignore object count and frame object density metrics temporarily (
Browse files Browse the repository at this point in the history
  • Loading branch information
frederik-encord authored Feb 3, 2023
1 parent 533dff9 commit b2d46fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/encord_active/lib/metrics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ def load_available_metrics(metric_dir: Path, metric_scope: Optional[MetricScope]
return out

for p, n, m, l in zip(paths, names, meta_data, levels):
if m is None or not l or not is_valid_annotation_type(m.get("annotation_type"), metric_scope):
if n in {"Object Count", "Frame Object Density"}:
continue

if m is None or not l or not is_valid_annotation_type(m.get("annotation_type"), metric_scope):
continue

out.append(MetricData(name=n, path=p, meta=MetricMetadata(**m), level=l)) # type: ignore
Expand Down

0 comments on commit b2d46fd

Please sign in to comment.